[cups.general] Getting copy of file sent to printer?
Felix E. Klee
fk at linuxburg.de
Wed May 31 03:37:09 PDT 2006
On Wed, 31 May 2006 06:10:46 -0400, Johannes Meixner wrote:
> Set "FileDevice Yes" in /etc/cups/cupsd.conf and restart cupsd.
>
> Use "lpstat -v queue-name" and note the current DeviceUri.
>
> Change the DeviceUri to send output to file using
> lpadmin -p queue-name -v /tmp/file.prn
Thanks for info, but your procedure doesn't work on the system that I just
tested it on (SuSE 9.2 with CUPS 1.1.21):
oregon:~ # grep FileDevice /etc/cups/cupsd.conf
# FileDevice: determines whether the scheduler will allow new printers
FileDevice Yes
oregon:~ # rccups stop
Shutting down cupsd done
oregon:~ # rccups start
Starting cupsd done
oregon:~ # lpstat -v foo
device for foo: parallel:/dev/lp0
oregon:~ # lpadmin -p foo -v /tmp/file.prn
lpadmin: add-printer (set device) failed: client-error-not-possible
--
Felix E. Klee
More information about the cups
mailing list