How to output PRN file

Michael R Sweet msweet at apple.com
Mon Jul 14 09:56:19 PDT 2008


keens312 wrote:
> Hi Michael,
> 
> Is there a way to redirect output to a file rather than backend to printer.
> 
> I need this file (the format printer knows) to debug.

Run:

     cupsctl FileDevice=Yes
     lpadmin -p queuename -v file:///tmp/queuename.prn

Then every job you print will go to /tmp/queuename.prn.

If you want a new file for every job, look on the links page for
"Tea4CUPS" or similar backends that offer that kind of functionality.

-- 
______________________________________________________________________
Michael R Sweet                        Senior Printing System Engineer





More information about the cups mailing list