cups and lp (cups lp)

Kurt Pfeifle kpfeifle at danka.de
Tue Aug 22 07:33:18 PDT 2006


arnaud <ext.teamlog.valeix at sncf.fr> wrote (Tuesday 22 August 2006 16:16):


What distro/version do you use?

> text/plain              application/vnd.cups-raw        0       -

This line means to CUPS: "If you receive a file that you autotype as
mime type 'text/plain' -- don't touch it and don't filter it. Send it 
directly to the printer instead, just as it is."

Change that line to read:

  text/plain       application/postscript     33      texttops

This will mean to CUPS: "If you receive a file that you autotype as
mime type 'text/plain' -- use the texttops filter to convert it into
mime type 'application/postscript', and then hand it over to the
next filter in the chain (likely to be 'pstops')..."

In this case your "cpi" and/or "lpi" parameters will be processed
and honored by the texttops filter.

Cheers,
Kurt




More information about the cups mailing list