"Printer disabled" - how to prevent it?

lucianogiacchetta at yahoo.com.ar lucianogiacchetta at yahoo.com.ar
Thu Aug 25 18:05:49 PDT 2005


I fix this problem whith a script in the cron... this scrip read all de printers from printers.conf and whith awk process the file.
Then, i have only the printers names, and whith ...enable printer_name... i have each 5 minutes, all de printers enables!! :D

if you like, i can put this scrip in the forum...

Luciano

> did the computer doto sleep or suspend to ram?  desktop or latop ?  a
> guess
>
> matt
>
> On Thu, 25 Aug 2005 sevans at rutherfordglobal.com wrote:
>
> > I have the exact same problem anyone have a solution?
> >
> > > 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
> > >
> >
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
> >
>





More information about the cups mailing list