Bug#810474: cups: Unable to clear print queue
On 01/12/2016 08:15 AM, Brian Potkin wrote:
Thank you for your report, David.
Thank you for responding.
Please post the entry for the printer in /etc/cups/printers.conf.
$ sudo cat /etc/cups/printers.conf
# Printer configuration file for CUPS v1.5.3
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<DefaultPrinter p2055dn>
UUID urn:uuid:059a35d5-1437-3100-586c-88d3afae6f29
Info Hewlett-Packard HP LaserJet P2055dn
MakeModel HP LaserJet P2055 Postscript (recommended)
DeviceURI hp:/net/HP_LaserJet_P2055dn?zc=p2055dn
State Idle
StateTime 1452281120
Type 8425556
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
To test, set up a print queue with
lpadmin -p test -v ipp://192.168.7.19 -E
$ sudo lpadmin -p test -v ipp://192.168.7.19 -E
and print to it with
lp -d <file>
$ lp -d Data/dpchrist/Downloads/f/fsf/licenses/gpl-2.txt
WARNING: gnome-keyring:: couldn't connect to:
/home/dpchrist/.cache/keyring-oIagOw/pkcs11: No such file or directory
lp: The printer or class does not exist.
The printer doesn't exist, so the command
lpstat
$ lpstat
WARNING: gnome-keyring:: couldn't connect to:
/home/dpchrist/.cache/keyring-oIagOw/pkcs11: No such file or directory
as a user should show the job as being queued.
cancel -a
$ sudo cancel -a
as root should remove the job from the queue. This is shown by
lpstat
$ lpstat
WARNING: gnome-keyring:: couldn't connect to:
/home/dpchrist/.cache/keyring-oIagOw/pkcs11: No such file or directory
ls -l /var/spool/cups
$ sudo ls -l /var/spool/cups
total 4
drwxrwx--T 2 root lp 4096 Jan 11 12:08 tmp
and, with debug logging set, the error log.
Where is the error log?
David
Reply to: