[cups.general] printer queue stops on print error

William Bear bear at umn.edu
Tue Apr 19 08:42:12 PDT 2005


I created a very basic bash script (in line) for cron to enable and 
disabled queues.  I hope there is a better way.

Thanks,

Will

#!/bin/sh
for i in $(lpstat -p|grep disabled|cut -d' ' -f2); do echo "Enabled $i"; /usr/bin/cupsenable $i; done
for i in $(lpstat -a|grep not|cut -d' ' -f1); do echo "Accepting $i"; /usr/sbin/cupsaccept $i; done



ekkard gerlach wrote:

> William Bear wrote:
>
>> I've been having an issue with cups-1.1.22 on RHEL 4.  I've googled, 
>> and search the doc, but I can't find anything.  When a remote network 
>> printer drops a connection (or other printer error), even briefly, 
>> cups stops the printer queue until you manually restart the queue.  I 
>> assume 
>
>
> I've the same problem with CUPS 1.1.21 (Suse 9.2)! My customers get
> angry calling me permanently to enable printer queues. Please 
> developers, implement a function that stops disabling! Otherwise I 
> have to avoid CUPS where I can and replace it by samba.
>
> (In my case cups is printing to a lpd host)
>
> Perhaps somebody here has a script that checks all printer queue 
> states and enables all printers that are disabled? Aim is to run the 
> script as cronjob.
>
> tia
> Ekkard
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups


-- 
------------------
William S. Bear
IT Manager
School of Mathematics
University of Minnesota
W: 612-625-2309
GNUPG Fingerprint: CE5E 3571 CD4C F29C 8089  D0DF B175 26CE 5C27 B748
------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bear.vcf
Type: text/x-vcard
Size: 312 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20050419/3a57bcb6/attachment-0001.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3150 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.cups.org/pipermail/cups/attachments/20050419/3a57bcb6/attachment-0001.bin>


More information about the cups mailing list