I'm looking to print images using PCL, I've found a utility called mkpcl, which converts an image into a raster graphic to print which works great. The problem I'm having is that the file generated can be quite large, and I'm losing some of the formatting when I'm attempting to segment the file into a smaller print line to print in a report in a COBOL application. Is there a way to embed one PCL file in another, or for me to send the whole PCL graphic file to the printer and have it print on the same page as the report I'm printing without having to try to string it into print lines?
RE: PCL Images
I've never written PCL myself, but according to some online references, the \F escape sequence sends the specified file to the printer. So:
in a PCL stream, where "pathname" is the path to the file you want to include, should send that file to the printer.