lpadmin - remove printer with a space in the name
- 
 Because of Apple, and GUI and Imaging, our existing printers have spaces in their name "Printer on 12" or "Accounting Printer" With lpadmin I can delete printers with lpadmin -x printer-namewithout special characters. Howeverspaceis a special character, and I'm attempting to find a way to remove these printers without having to touch every damn machine.Any guidance on what character would qualify as a space in this example? lpadmin -x Accounting Printer?wrapping the name in quotes (single or double) does not work. 
- 
 Nevermind! lpadmin adds spaces as underscores! So with lpadmin -pI was able to find the list of printers.lpadmin -p
 Accounting_PrinterAnd with lpadmin -x Accounting_Printerwas able to remove the printer!
 Removed Accounting_Printer
- 
 @DustinB3403 said in lpadmin - remove printer with a space in the name: Nevermind! lpadmin adds spaces as underscores! So with lpadmin -pI was able to find the list of printers.lpadmin -p
 Accounting_PrinterAnd with lpadmin -x Accounting_Printerwas able to remove the printer!
 Removed Accounting_PrinterGood to know for central administration of Apple devices. What are you using right now? 
- 
 @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 -pI was able to find the list of printers.lpadmin -p
 Accounting_PrinterAnd with lpadmin -x Accounting_Printerwas able to remove the printer!
 Removed Accounting_PrinterGood to know for central administration of Apple devices. What are you using right now? ARD and Unix cli 

