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

Michael R Sweet msweet at apple.com
Thu Mar 31 18:50:07 PDT 2011


On Mar 31, 2011, at 5:08 PM, Ben <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
> 
> or
> 
> /usr/sbin/lpadmin -p printerA -o cupsSNMPSupplies=False
> 
> Any ideas would be appreciated.
> 
> Thanks,
> 
> Ben.
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20110331/870a5cc6/attachment-0001.html>


More information about the cups mailing list