Hi! I have a small problem which I couldn't handle for a couple of days.

I have a PDF file which is converted to PCL via Ghostscript and then
sent to lp for printing.

During conversion Ghostscript inserts PCL codes for tray selection,
i.e. <ESC>&l#H, where # is a number.
It does matter on multitray printers, so I need to remove those markers.
I could write a PCL processor, but maybe there's other way?
Also, option -dMediaPosition=# does no effect.
PDF does not contain /PickTrayByPDFSize option.

Conversion is done via command:
gs -sDEVICE=ljet4 -r300 -dSAFER -dNOPAUSE -dBATCH -sPAPERSIZE=letter
-sOutputFile=file.pcl file.pdf

Does anyone have any information on this subject, or at least some clues?

Best regards,
Igor "Target-san" Baydyuk


Reply via email to