Printing to file with CUPS.

Kurt Pfeifle kpfeifle at danka.de
Fri Aug 11 04:38:17 PDT 2006


Kurt Pfeifle <kpfeifle at danka.de> wrote (Thursday 10 August 2006 09:44):

> To enable it, use
> 
>    FileDevice Yes
> 
> (in cupsd.conf) and you'll have "print to file" support. Then install
> your "psfileprinter":
> 
>    lpadmin -p psfileprinter -v file:/tmp/my-ps-files -E -P /path/to/PPD
> 
> Create the target directory:
> 
>    mkdir /tmp/my-ps-files

Sorry, that was wrong. I confused this advice with one I gave to
someone else, who *does* have a filewriting backend that uses a
*directory* to print into.

The simple file:/ backend that's part of CUPS does print to a file,
not a directory. So better use

  lpadmin -p psfileprinter -v file:/tmp/ps-output.ps -E -P /path/to/PPD

and be done.

Cheers,
Kurt




More information about the cups mailing list