<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 1/04/2011 12:49 PM, Michael R Sweet wrote:
<blockquote
cite="mid:CF3F9E6D-C297-4071-9376-E55CB193903E@apple.com"
type="cite">
<div><span class="Apple-style-span" style="">On Mar 31, 2011, at
5:08 PM, Ben <<a moz-do-not-send="true"
href="mailto:abnormaliti@clivepeeters.com.au">abnormaliti@clivepeeters.com.au</a>>
wrote:</span><br>
</div>
<blockquote type="cite">
<div><font class="Apple-style-span" color="#000000">...</font><br>
<span>Is there are way to set this on a printer-by-printer
basis other than </span><br>
<span>editing each printers PPD?</span><br>
</div>
</blockquote>
<div><br>
</div>
Sorry, not at this time. You could script it with:
<div><br>
</div>
<div>for file in /etc/cups/ppd/*.ppd;do</div>
<div> echo '*cupsSNMPSupplies: false' >>$file</div>
<div>done</div>
<div><br>
<blockquote type="cite">
<div><span></span><br>
<span>Something like this would be ideal:</span><br>
<span></span><br>
<span><a moz-do-not-send="true"
href="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</a></span><br>
<span></span><br>
<span>or</span><br>
<span></span><br>
<span>/usr/sbin/lpadmin -p printerA -o
cupsSNMPSupplies=False</span><br>
<span></span><br>
<span>Any ideas would be appreciated.</span><br>
<span></span><span></span><br>
</div>
</blockquote>
</div>
</blockquote>
<br>
Michael,<br>
<br>
Are there plans to add support for enabling and disabling it via the
lpadmin and/or backends in the near future?<br>
<br>
Ben<br>
</body>
</html>