Filter for sending e-mail

pipitas k1pfeifle at gmx.net
Wed Dec 22 05:13:29 PST 2004


Colin McDonald wrote:

> How do you enable CUPS to print to a file device?

Insert a directive of

  FileDevice On

into /etc/cups/cupsd.conf and restart cupsd. Then install the
printer:

  lpadmin -p fileprinter -v file:/tmp/printfile.prn -E [-P /path/to/PPD]

No you should see your printer with its device URI by doing

  lpstat -v 

Please note:

1) the standard file device built into CUPS doesnt show in the listing
   of the

     lpinfo -v

   command. 

2) if you choose to create a "raw" printer (that is, a printer without 
   a PPD) with a file device backend, the jobs will *not* show up in
   "/tmp/printfile.prn"  -- they are sent to /dev/null (security reaons).

3) any new job will overwrite the previous job's file.


Cheers,
Kurt





More information about the cups mailing list