0

The MG2220 printer is no longer connected to my computer.

Yet lpstat is still showing it.

How can I get that removed?

$ lpstat -p
printer Canon_TS9100_series is idle.  enabled since Mon 11 Mar 2019 04:41:26 PM CDT
printer HL-2240-series is idle.  enabled since Tue 12 Mar 2019 03:28:52 PM CDT
printer MG2200-series is idle.  enabled since Wed 20 Feb 2019 10:50:51 AM CST
  • 1
    Have you tried editing the printers.conf file? Usually located under /etc/cups/ – Sarriman Mar 13 at 0:19
  • @Sarriman Do I delete this and everything below it? </DefaultPrinter> <Printer MG2200-series> – fixit7 Mar 13 at 1:39
  • 1
    Those are xml formatted data. Be sure to remove the hole entry, or any other entry that you may like. If you are uncertain, create a backup file by sudo cp printer.conf ./printers.conf.backup, just in case something goes bad. – Sarriman Mar 13 at 1:48
0

I found the answer when I opened CUPS in my browser.

Administration, Manage Printers, and Delete Printer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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