Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Linux > Tip of the day > Linux How to delete or remove printer from command line

Linux How to delete or remove printer from command line

All the versions of this article: <English> <français>

Linux How to remove printer from command line

To remove the printer PrinterName

lpadmin -x PrinterName

To check that it has been removed:

lpstat -p PrinterName -l

You must have an error indicating that the printer does not exist.