[cups.general] Postscript detected as app.../vnc.cups-raw

Till Kamppeter till.kamppeter at gmx.net
Thu Mar 2 05:48:27 PST 2006


Dave Smith wrote:
> I have the following set in the HPLaserJet5si.ppd
> *cupsFilter:    "application/vnd.cups-postscript 0 foomatic-rip"
> *cupsFilter:    "application/vnd.cups-raw 0 foomatic-rip"
> 

CUPS always searches the shortest (lowest cost, sum of the cost factor
of all filters) filter chain. The the second rule can break things as
any file would match RAW. Raise the cost factor of it to 2000 or so, so
that only if there is no chance to match the first the second will be used.

In addition, foomatic-rip usually expects PostScript as input,
especially it will not work when feeding PCL into it. It will detect a
non-PostScript format and pass it through a2ps (this is a feature
forseen for non-CUPS spoolers, which do not convert input files), which
in most cases leads to the file being printed as plain text. Under CUPS
use only "application/vnd.cups-postscript" as input for foomatic-rip.

Are you using CUPS 1.2? If so, update to the newest subversion state, as
some days ago a bug in the file auto-typing was fixed.

   Till





More information about the cups mailing list