[cups.general] print to a file

Jerome Alet alet at librelogiciel.com
Wed Feb 1 06:09:57 PST 2006


On Wed, Feb 01, 2006 at 08:51:31AM -0500, Anonymous wrote:
> Hello,
> I would like to define a fake printer and have cups actually print to a file as if i was using cat into a file.
> Something like "cat test.txt | lp -d fakeprinter" and the out put would be equal to "cat test.txt >> filename"
> 
> can this be done? and if so can someone provide me with the syntax to add to my printers.com

you can activate the file device in cupsd.conf and then restart CUPS.

for more complex needs you have to write your own backend or
use something like Tea4CUPS.

bye

Jerome Alet





More information about the cups mailing list