enable printers

mete can turkmeteor at gmail.com
Tue May 4 01:09:06 PDT 2010


> 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 pa=
> per, 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 o=
> f 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:
> >=20
> >>Following Problem:
> >>Printers (HP LaserJet 4050 and HP LaserJet 2100) are accepting printjob=
> s and queue them. But tehy don't print them. We have to "start" the Print=
> er via the WebFrontend. Then they start to print the queues...
> >>
> >>As a workaround i use the following script, which is invoced every minu=
> te via the crontab:
> >>-snip-
> >>#!/bin/bash
> >>#######################################################################=
> #######
> >># /usr/local/sbin/enable_printers.sh
> >># Beschreibung: Da die Drucker bei korrodin unter Cups zwar Auftr=E4ge
> >>#               anstandslos annehmen, diese aber erst drucken, wenn
> >>#               die Drucker "enabled" werden, dieses Skript als Workarr=
> ound:
> >>#               Es enables min=FCtlich die vorhanden Drucker. Unsch=F6n=
> , aber
> >>#               wenn's hilft...
> >>#######################################################################=
> #######
> >>
> >>
> >>PRINTERS=3D$(/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
> >>
> >=20
> >=20
> > Hallo Hermann,
> >=20
> > ich hab das gleiche Problem. Sobald ein Drucker z.B. kein Papier mehr h=
> at und auf Stop geht, startet der Printer nach den 300 Sek. nicht wieder.=
>  Konntest Du noch etwas in Erfahrung bringen?
> >=20
> > Gru=DF
> > Christian
>
there is no a "/usr/bin/enable" file. i try the script, but it was showed this message: "/usr/bin/enable: No such file or directory"




More information about the cups mailing list