[cups.bugs] [MOD] STR #2166: ps2ps creates invalid PostScript when OutputOrder=Reverse
Patrice Fournier
pfournier at loups.net
Tue Dec 19 05:31:21 PST 2006
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Whenever I print to the Left tray of my printer, I get a OFFENDING COMMAND
error from the printer. The left tray default OutputOrder in the PPD is
Reverse.
A simple test file that shows the problem is to convert a text file
containing only "Hello World!" to PostScript using enscript.
If I run pstops on that generated file and send the output to the printer,
I get no problem. If I add "OutputOrder=Reverse" as an option to pstops
and send the generated file to the printer, it prints an error message
instead.
The diff between the two generated files follows:
------------
--- hw.ps 2006-12-18 19:05:41.044326557 -0500
+++ hw-r.ps 2006-12-18 19:06:03.977865278 -0500
@@ -680,6 +680,11 @@
/d_output_h 705 def
/cols 1 def
%%EndSetup
+%%EOF
+%!PS-Adobe-3.0
+%%Pages: (atend)
+%%BoundingBox: (atend)
+%%EndComments
%%Page: (1) 1
%%PageBoundingBox: 18 36 594 756
%%BeginPageSetup
------------
I've had the same extra lines show when OutputOrder=Reverse was passed to
more complex jobs.
This problem started to appear when I upgraded from 1.1.x to 1.2.7.
Link: http://www.cups.org/str.php?L2166
Version: 1.2.7
More information about the cups
mailing list