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

Roger Leigh rleigh at codelibre.net
Tue Nov 4 20:49:52 UTC 2008


On Tue, Nov 04, 2008 at 06:36:11PM +0000, Daniel Pocock wrote:
>
>> Just set error policy = retry-job (rather than stop-printer) in the printer
>> options for your printer.  It will then keep retrying until the problem
>> goes away.  Obviously there's also a problem which causes the queue to
>> be disabled (e.g. printer switched off or out of paper), which you might
>> need to look at separately.
>>   
> I've tried that - it still insists on an administrator login to the web  
> interface to re-enable the printer.

It shouldn't require that, unless there was a more serious problem.

> I notice that I can use xsane with the same USB device (it is a  
> multi-function) immediately after starting the computer.  It is only  
> when I want to print that I get problems.  That makes me suspect that  
> the low level USB modules are not at fault.

Try running "lsusb" immediately after starting.  Both the scanner
and printer should show up as separate devices (they are in fact entirely
logically separate devices inside a single box, so a fault with the printer
part will mean the scanner will still function perfectly).

> Can you suggest any other troubleshooting commands that should be run,  
> either by myself or anyone else who stumbles across this bug report?  I  
> realise there is a possibility that cups is not the culprit (maybe it is  
> the kernel module or something in the hplip package), but I'm not sure  
> how to pin down the root cause.

In cupsd.conf, set LogLevel=debug, and then restart cups
(/etc/init.d/cups restart).  You will now get much more detailed logs in
/var/log/cups/error_log.  If you now try printing, the exact cause of the
error should be logged to this file.  If you're not sure about how to
interpret the log, attach it to your reply to this mail (from after you
restart).


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20081104/c8b06da7/attachment.pgp 


More information about the Pkg-cups-devel mailing list