Does CUPS keep the PS files it generates for printing?

Michael Sweet mike at easysw.com
Mon May 18 20:09:59 PDT 2009


Brett Ussher wrote:
> I need to get hold of one of the postscript files that I've printed
> (not anyone in particular, just need one for troubleshooting an
> unrelated issue).  I'm wondering if CUPS keeps a copy of the files it
> has printed.  I found /var/spool/cups, but that only seems to have
> the log of the job that was printed, not the job itself.  Is there a
> place I can look or do I need to enable some setting to make CUPS
> store the PS files for a bit?

You won't have the printer-ready PostScript there, but if you turn
the "PreserveJobFiles" option in cupsd.conf on, e.g.:

     cupsctl PreserveJobFiles=Yes

then the "d" files will still be around.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list