[Pkg-cups-devel] Bug#504278: HP USB LaserJet printer disabled on first attempt to print

Daniel Pocock daniel at pocock.com.au
Sun Nov 2 11:44:30 UTC 2008


Package: cups
Priority: important


System:

lenny, fresh install in September, updated 1/11/08
uname -a:
Linux srv1 2.6.26-1-amd64 #1 SMP Thu Oct 9 14:16:53 UTC 2008 x86_64 
GNU/Linux
HP xw4300

Printer: HP LaserJet 3055 connected by USB

Steps to reproduce the problem:

1. Boot the computer (problem occurs first time you try to print after 
each boot)

2. Check the printer status in CUPS, http://localhost:631: the printer 
appears to be enabled

3. Send a job to the printer

4. A pop-up appears warning that there was a problem and the printer has 
been disabled

5. Go to http://localhost:631 and manually enable the printer

6. The print job is now printed without further errors


Obviously, step 5 is a real nuisance - a user shouldn't have to manually 
enable the printer when they want to print

Looking at /var/log/syslog:



Nov  2 11:27:53 srv1 hal_lpadmin: remove
Nov  2 11:27:53 srv1 hal_lpadmin: Found configured printer: HP_LaserJet_3055
Nov  2 11:27:53 srv1 python: hp-makeuri[4433]: warning: hp-makeuri 
should not be run as root.
Nov  2 11:27:53 srv1 python: hp-makeuri[4437]: warning: hp-makeuri 
should not be run as root.
Nov  2 11:27:53 srv1 hal_lpadmin: Disabled printer HP_LaserJet_3055, as 
the corresponding device was unplugged or turned off
Nov  2 11:27:53 srv1 hal_lpadmin: Found configured printer: 
HP_LaserJet_3055_fax



and /var/log/cups/error_log:


E [02/Nov/2008:11:27:53 +0000] Pause-Printer: Unauthorized


Here is /etc/cups/printers.conf:


# Printer configuration file for CUPS v1.3.8
# Written by cupsd on 2008-11-02 11:27
<Printer HP_LaserJet_3055>
Info HP_LaserJet_3055
DeviceURI hp:/usb/HP_LaserJet_3055?serial=00CNSKL85143
State Stopped
StateMessage Unplugged or turned off
StateTime 1225625273
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
<Printer HP_LaserJet_3055_fax>
Info HP_LaserJet_3055_fax
DeviceURI hpfax:/usb/HP_LaserJet_3055?serial=00CNSKL85143
State Stopped
StateMessage Unplugged or turned off
StateTime 1220789561
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>






More information about the Pkg-cups-devel mailing list