find disabled printers and enable them

Richard D. Williams richard at appgrp.net
Fri Dec 8 13:22:43 PST 2017


Mark,

I see your point, but most of these issues are internet related as these 
clients use a co-lo.

But, as I said, your point is taken.

Richard

On 12/8/2017 3:01 PM, Fairlight via Filepro-list wrote:
> That is a horrible idea unless you know why the printers were actually
> disabled.  That's like turning the car back on when it turned itself off to
> protect itself from damage.
>
> mark->
>
> On Fri, Dec 08, 2017 at 02:35:07PM -0600, Richard D. Williams via Filepro-list thus spoke:
>> Centos Linux:
>>
>> /usr/local/bin/find_disabled_printers
>>
>> /usr/bin/lpstat -t | grep disabled | awk '{ print $2 }' | xargs
>> /usr/sbin/cupsenable
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20171208/adcfe644/attachment.html>
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> Subscribe/Unsubscribe/Subscription Changes
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>



More information about the Filepro-list mailing list