[cups.general] capturing postscript temporary data for plain textjob

Michael Sweet mike at easysw.com
Mon Feb 5 11:31:27 PST 2007


Adam Monsen wrote:
> Is it possible to capture postscript temporary data for plain text
> print job? I noticed "PreserveJobFiles Yes" in /etc/cups/cupsd.conf,
> but if I print a plain text job, the only temporary data I can find is
> a plain text file (/var/spool/cups/d00013-001). I'm pretty sure the
> printer received PostScript data (/var/log/cups/error_log indicates
> that "texttops" and "pstops" filters were run), I'm just looking for
> something simpler than trying to cobble together a TCP stream.

Probably the simplest thing to do is enable the file: pseudo-device
(add "FileDevice yes" to the cupsd.conf file) and then redirect the
print queue to a file (lpadmin -p printer -v file:///tmp/printer.prn).

Then you can see what is getting sent to the printer...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com




More information about the cups mailing list