Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Raster escape code examples

Status
Not open for further replies.

SAMWJ

Programmer
Feb 17, 2004
5
US

I have a existing PCL file. I use the API to send raw data to the printer. I need to overlay an image to the existing pcl file prior to sending to the printer.
Does anyone have examples for embedding a bitmap to a pcl file?

Thanks
 
Assuming the raster data is in PCL format, simply locate the cursor to the desired position on the page and let the raster flow.

Very often it is more convenient to set up the raster image as a PCL macro, and call the macro at the appropriate moment, or enable the macro for automatic overlay whereby the printer will put the image on every page without further intervention from the application.

I would suggest that you study the chapter in the PCL5 Reference on raster images. There was a pointer to the PDF file in a previous thread here "Electronic Documentation".

There was also another thread "Embedding a Graphic..." that may be of some use.




Jim Asman
jlasman@telus.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top