How can I remove an HPLIP-installed printer from command line ?

Asked by Fabián Rodríguez on 2009-07-23

I have installed an HP printer via command line on a remote system, using hp-setup. Now I would like to document how to remove the same printer, using command-line only.

I can't seem to find the appropriate hp-* command to accomplish this, and hp-setup doesn't have options for this.

How can I remove an HPLIP-installed printer from command line ?

I am looking to document this for all Ubuntu supported versions as of 9.04, so I'll update this if I find the answer elsewhere.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2009-07-23
Last reply:
2009-07-23

You do can do this using lpadmin. Something like:

/usr/lib/lpadmin -x printer

Should do it.

Get you can get more information with:

man lpadmin

Thanks for your support for HPLIP--we appreciate it.

Aaron

Can you help with this problem?

Provide an answer of your own, or ask Fabián Rodríguez for more information if necessary.

To post a message you must log in.