How do I catch the data written to printer

Helge Blischke h.blischke at acm.org
Thu Jun 10 12:37:06 PDT 2010


Dag Nygren wrote:

> 
> Trying to debug a cups connected printer I would need to analyze the
> Postscript data written to the printer. In most system this can be
> achieved by stopping the printer and wrinting something to it and then
> look at the temporary file that is ready to be sent. I cannot find such a
> file in CUPS?? So how do I catch that data?
> 
> Best
> Dag

Enable the file device in cupsd.conf and then set up a "printer" using the 
file backend, identical to the original printer in all other respects.

Helge





More information about the cups mailing list