[cups.bugs] [MOD] STR #1861: PostScript driver adds extra commands after End-Of-Job

holger.graefe.gad holger.graefe at gad.de
Mon Jul 24 09:21:44 PDT 2006


[STR New]

Sending PostScript jobs from different systems to a CUPS PostScript printer
causes the PS2PS filter to add extra PJL and PostScript code to the job.

Behind the PJL and PostScript End-Of-Job (i.e. "%%EOF" and "@PJL EOJ") of
the original file the following lines are sent to the printer:

userdict/ESPwl{}bind put

%%Trailer
%%Pages: 0
%%EOF
<ESC>%-12345X at PJL EOJ
<ESC>%-12345X

If the printer's default PDL is set to PCL (not to PS), these lines will
be printed! This behavior of the printer (e.g. Lexmark) seems to be
correct, because the PostScript job has finished and there is no "%!"
sequence introducing these lines.

The attachment contains the two files: The one sent to CUPS and the other
which is sent to the printer by CUPS.

Link: http://www.cups.org/str.php?L1861
Version: 1.1.22
Attachment: http://www.cups.org/strfiles/1861/cups_ps.zip





More information about the cups mailing list