[cups.bugs] [HIGH] STR #2007: %%EOF and %%EndDocument should not be appended to the PostScript document

Graham Freeman g-freeman at adfa.edu.au
Thu Oct 5 05:00:01 PDT 2006


[STR New]

A change has been made (in 1.2.4 ? ) whereby CUPS now appends %%EndDocument
and %%EOF to the stream which is to be sent to the printer.  This will
present a problem if the PostScript program is using the "readline"
operator to process the remainder of the file as part of its normal
operation, introducing unwanted text into the output document.

I have attached an example document which demonstrates the problem.  When
it is run from Linux, it gets the unwanted text printed at the bottom.  If
I send the same document to the same printer from a Solaris box, the
document prints correctly.

I have upgraded CUPS from the version distributed with Fedora FC5 twice in
the last couple weeks, and I believe it was the last upgrade (1.2.4) which
introduced the problem, though it could have been the 1.2.3 which I
downloaded first.

Link: http://www.cups.org/str.php?L2007
Version: 1.2.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-cups-bug.ps
Type: application/octet-stream
Size: 1949 bytes
Desc: not available
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20061005/197e2296/attachment.obj>


More information about the cups-devel mailing list