https://bugzilla.novell.com/show_bug.cgi?id=339736 Summary: cups: PostScript "wrapping" causes additional unwanted output Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: Ulrich.Windl@rz.uni-regensburg.de QAContact: jsmeix@novell.com Found By: --- When printing a PostScript file to a PostScript printer using CUPS, it seems that CUPS modifies the PostScript file before it's sent to the printer. In some cases this may produce unwanted output. Specifically CUPS seems to add this at the end of the PostScript file: %%Trailer %%Pages: 0 %%BoundingBox: ... %%EOF For special PostScript files that use "readstring" to process part of the input file via PostScript, the additional lines will also be processed (and possibly output). A sketch of such code would look like this. %------ snip ------- /process { /buff 1 string def { currentfile buff readstring not { pop exit } if dup stringwidth pop /tw exch def show tw 0 rmoveto } loop showpage } def 100 400 moveto /Helvetica findfont 10 scalefont setfont process Sample line of text to be printed %------ snip ------- In Ghostscript the sample line would be printed correctly, but with CUPS the extra trailer will be output as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.