<br><br><div class="gmail_quote">On Mon, Jan 11, 2010 at 11:03 AM, Brian McKee <span dir="ltr"><<a href="mailto:brian.mckee@gmail.com">brian.mckee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Mon, Jan 11, 2010 at 12:30 PM, Bill Moseley <<a href="mailto:moseley@hank.org">moseley@hank.org</a>> wrote:<br>
> This is on a 9.10 laptop.  I'm in ipadmin group.<br>
</div><div class="im">> System->Administration->Printing lists 32 printers.  Some listed printers I<br>
> configured at my home (about 4) and the rest are network printers at the<br>
> office.<br>
> 1) How do I delete the ones I never use?<br>
<br>
</div>Some of those printers are 'advertised' by either a server or the<br>
printer themselves.<br>
Those you can't 'delete', but you could choose to stop listening to<br>
the broadcasts.<br></blockquote><div><br></div><div>But, they show up even when not connected to the office LAN -- and even with Networking disabled they still show up.  I'm at home now and they show up.  Thirty printers listed.  They must be stored some place on this laptop.</div>

<div><br></div><div>Another odd thing is the cups web interface (<a href="http://localhost:631/printers/">http://localhost:631/printers/</a>) the "Delete printer" links have URLs like this:</div><div><br></div>
<div>
href="file:///dev/null?op=delete-printer&printer_name=_10_30_1_97"</div><div><br></div><div>file:///dev/null isn't going to work.</div><div><br></div><div><br></div><div>Geeze, I just tried running strace -e trace=open python /usr/share/system-config-printer/system-config-printer.py to see what files were opened (i.e. where the printers might be saved) and found nothing.</div>

<div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Huh, dunno where they keep it either.  Can you delete them with<br>
 sudo lpadmin -x printerName<br></blockquote><div><br></div><div>That worked!  I deleted all that had the file:://dev/null URI shown in the cups web interface using lpadmin -x.</div><div><br></div><div>Now just showing my local printers (as advertised by my local print spooler).</div>

<div><br></div><div>Been bugging me for a few months now. ;)   Thanks.</div><div><br></div><div><br></div></div><br clear="all"><br>-- <br>Bill Moseley<br><a href="mailto:moseley@hank.org">moseley@hank.org</a><br>