[cups.general] How do I set cupsSNMPSupplies on mass?

Ben abnormaliti at clivepeeters.com.au
Thu Mar 31 18:54:39 PDT 2011


On 1/04/2011 12:49 PM, Michael R Sweet wrote:
> On Mar 31, 2011, at 5:08 PM, Ben <abnormaliti at clivepeeters.com.au 
> <mailto:abnormaliti at clivepeeters.com.au>> wrote:
>> ...
>> Is there are way to set this on a printer-by-printer basis other than
>> editing each printers PPD?
>
> Sorry, not at this time. You could script it with:
>
> for file in /etc/cups/ppd/*.ppd;do
>     echo '*cupsSNMPSupplies: false' >>$file
> done
>
>>
>> Something like this would be ideal:
>>
>> http://remote.cups.server.com:631/printers/printerA?compression=gzip&waitprinter=false&waitjob=false&supplies=false 
>> <http://remote.cups.server.com:631/printers/printerA?compression=gzip&waitprinter=false&waitjob=false&supplies=false>
>>
>> or
>>
>> /usr/sbin/lpadmin -p printerA -o cupsSNMPSupplies=False
>>
>> Any ideas would be appreciated.
>>

Michael,

Are there plans to add support for enabling and disabling it via the 
lpadmin and/or backends in the near future?

Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20110331/e3c35aea/attachment-0001.html>


More information about the cups mailing list