My local CUPS server is confused about the name of the printer I use. It has two names: hpext and hpext@vm-cups. I can never predict which one is going to work, and if I use the wrong one, jobs just sit in its queue indefinitely.

There are no printers listed in /etc/cupsd/cupsd.conf; instead I have the line

BrowsePoll cups.eecs.tufts.edu

This server lists only hpext and not hpext@vm-cups.
I'm thinking that somehow my local server is confused, and if I can delete the printer from its memory, all will be well. But nowhere in the documentation can I find a command to delete a printer, and the DELETE PRINTER button on the stupid web interface has no effect.

What can I do?

link|improve this question

67% accept rate
did you take a look at lpadmin's man page?.. lpadmin helps you to manage cups' printers – Luciano Facchinelli Aug 16 '11 at 20:59
1  
@Luciano: dammit, lpadmin -x was there the whole time. Please write an answer so I can upvote and accept. – Norman Ramsey Aug 18 '11 at 2:09
Alright, done ! – Luciano Facchinelli Aug 18 '11 at 15:25
feedback

2 Answers

up vote 2 down vote accepted

lpadmin helps you to manage cups' printers

Try

man lpadmin

I believe what you need is

lpadmin -x
link|improve this answer
@warren: good edits; thanks – Norman Ramsey Aug 19 '11 at 5:00
1  
@warren: thanks – Luciano Facchinelli Aug 19 '11 at 14:48
feedback

The other way around this would be to turn off automatic browsing of Network Printers and just add the one printer you want manually. I think the reason the Delete button "has no effect" is that CUPS is getting a broadcast/notification that a "new" printer is available on the network.

Addition: If you don't want to lose those printers you already have, add them to your local CUPS instead of relying on broadcast.

link|improve this answer
1  
I don't want to lose the color printer, the high-speed copier, etc. – Norman Ramsey Aug 18 '11 at 2:09
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.