@dbeato said in lpadmin - remove printer with a space in the name:

@DustinB3403 said in lpadmin - remove printer with a space in the name:

Nevermind!

lpadmin adds spaces as underscores!

So with lpadmin -p I was able to find the list of printers.

lpadmin -p
Accounting_Printer

And with lpadmin -x Accounting_Printer was able to remove the printer!
Removed Accounting_Printer

Good to know for central administration of Apple devices. What are you using right now?

ARD and Unix cli