[cups.bugs] Re: [MOD] STR #1411: Need ability to bypass only the pstops filter, not the rendering filter.

Michael Sweet mike at easysw.com
Mon Feb 6 06:23:13 PST 2006


[STR Closed w/o Resolution]

First, pstops has a bunch of heuristics to determine if it is safe to
filter the file - if your file contains "%!PS-Adobe-m.n" on the first line
(advertising DSC conformance), then it treats it as a DSC-conformant file.
If the file just starts with "%!", then it treats it as a non-conformant
file and just puts the printer-specific feature commands at the top of the
file so it can still be printed.

Second, if you really have printer/driver-ready PostScript file, use the
"-o document-format=application/vnd.cups-postscript" option, which
bypasses the pstops filter. However, doing so will *not* work with generic
PostScript files because the resolution, color mode, page size, and other
options are not included in the PS file...

Anyways, we will not be changing how CUPS works in this respect - either a
PostScript file is conforming, or it isn't.  Try sending CUPS garbage, and
you'll get inconsistent/incorrect output.

Link: http://www.cups.org/str.php?L1411
Version: 1.1-current
Fix Version: Will Not Fix





More information about the cups mailing list