enable printers

Marcelo marcelmo at terra.com.br
Tue Jun 8 08:58:58 PDT 2004


I have this problem.
In my system it is caused because the users turn printer off to avoid non authorized printing, then CUPS stops the printer because it is out of paper, then I have to enable the printer via ssh.
I know there is a way to configure CUPS not to stop the printer in case of error (That will not be a problem in small systems like mine).
However I dont' know how to configure this.
Can anybody help ?

Thanks in advance ............ Marcelo ............

PS: Can anybody translate what Christian said ?



Anonymous wrote:
> hg wrote:
> 
>>Following Problem:
>>Printers (HP LaserJet 4050 and HP LaserJet 2100) are accepting printjobs and queue them. But tehy don't print them. We have to "start" the Printer via the WebFrontend. Then they start to print the queues...
>>
>>As a workaround i use the following script, which is invoced every minute via the crontab:
>>-snip-
>>#!/bin/bash
>>##############################################################################
>># /usr/local/sbin/enable_printers.sh
>># Beschreibung: Da die Drucker bei korrodin unter Cups zwar Aufträge
>>#               anstandslos annehmen, diese aber erst drucken, wenn
>>#               die Drucker "enabled" werden, dieses Skript als Workarround:
>>#               Es enables minütlich die vorhanden Drucker. Unschön, aber
>>#               wenn's hilft...
>>##############################################################################
>>
>>
>>PRINTERS=$(/usr/bin/lpstat -a | /usr/bin/cut -d" " -f1)
>>
>>for PRINTER in $PRINTERS
>>do
>>        /usr/bin/enable $PRINTER
>>done
>>-snip-
>>
>>Does anyone have this problem too??
>>
>>Greetings Hermann
>>
> 
> 
> Hallo Hermann,
> 
> ich hab das gleiche Problem. Sobald ein Drucker z.B. kein Papier mehr hat und auf Stop geht, startet der Printer nach den 300 Sek. nicht wieder. Konntest Du noch etwas in Erfahrung bringen?
> 
> Gruß
> Christian





More information about the cups mailing list