"Printer disabled" - how to prevent it?

Mangoo anonymous at easysw.com
Mon Aug 8 01:36:49 PDT 2005


Several times a week one of my printers gets "disabled" by CUPS, and printing doesn't work anymore until I manually "enable" this printer. It happens both with USB and network printers. I'm running CUPS 1.1.23, but the problem also happened with earlier versions of CUPS.

This is how it looks like:

Printer disabled:

# lpstat -t
scheduler is running
system default destination: CANON
device for CANON: usb:/dev/usb/lp0
CANON accepting requests since Jan 01 00:00
printer CANON disabled since Jan 01 00:00 -
        Unable to send print file to printer: No such device


As we can see, there is such a printer:

# lsusb
Bus 004 Device 004: ID 04a9:261b Canon, Inc.
(...)


So I enable the printer:

# /usr/bin/enable CANON


And immediately it begins to print again:

# lpstat -t
scheduler is running
system default destination: CANON
device for CANON: usb:/dev/usb/lp0
CANON accepting requests since Jan 01 00:00
printer CANON now printing CANON-1680.  enabled since Jan 01 00:00


I wasn't able to trace this problem in the logs and what it happens.

Is there a setting in CUPS configuration that would prevent this issue?


Tomek





More information about the cups mailing list