[K12OSN] Re: cups stopping printer
Vern Ceder
vceder at canterburyschool.org
Wed Jan 11 03:47:09 UTC 2006
> a printer without paper
> should still accept print jobs until it's mem is full, so that when
Should, indeed...
Which is why it drove us nuts for a while. There is no indication
anything is misconfigured, but it still happens. If there is a better
fix, we sure couldn't find it (3 of us have tried), and we certainly
would be glad to hear it....
Vern
Huck 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>
--
This time for sure!
-Bullwinkle J. Moose
-----------------------------
Vern Ceder, Director of Technology
Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
vceder at canterburyschool.org; 260-436-0746; FAX: 260-436-5137
More information about the K12OSN
mailing list