[K12OSN] Re: cups stopping printer

Peter Hartmann ascensiontech at gmail.com
Wed Jan 11 00:59:16 UTC 2006


> printer stops for seemingly no reason at all..

Well according to the logs it's timing out but I've heard that this
behavior of stopping printers without paper is a feature of cups.  I
just can't figure out why that's considered useful.

On 1/10/06, Huck <dhuckaby at paasda.org> wrote:
> while this takes resolves the issue..it doesn't solve the problem...the
> printer stops for seemingly no reason at all...a printer without paper
> should still accept print jobs until it's mem is full, so that when the
> little dude who figures out to put paper in, his print jobs spews forth ;)
>
> Vern Ceder wrote:
> > We've used this strategy for quite a while. While I believe enabling an
> > already started printer is fine, I actually wrote a script to find the
> > disabled ones and enable only those.
> >
> > Here's my "cupstickle" script which we run every 5 mimutes in a cron job:
> > -----------------------------------------
> > #!/bin/bash
> > /usr/bin/enable `/usr/bin/lpstat -p | /bin/grep disabled | /usr/bin/cut
> >  -f 2 -d " "`
> > -----------------------------------------
> > (the last two lines above should really be on the same line, there is
> > only one line after the #!/bin/bash)
> >
> > HTH,
> >
> > Vern
> >
> > RiE wrote:
> >
> >> On 1/10/06, Peter Hartmann <ascensiontech at gmail.com> wrote:
> >>
> >>> Is there anything wrong with putting this in the crontab?  :
> >>>
> >>>
> >>> 0-59/10  * * * * /usr/bin/enable [printer1] [printer2] .....
> >>>
> >>
> >> what if you run enable on a printer that is already started?  will
> >> that be a problem?
> >>
> >> For the minute, you could just do */10
> >>
> >> --
> >> roger
> >>
> >> _______________________________________________
> >> K12OSN mailing list
> >> K12OSN at redhat.com
> >> https://www.redhat.com/mailman/listinfo/k12osn
> >> For more info see <http://www.k12os.org>
> >
> >
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>




More information about the K12OSN mailing list