Knowledge base dedicated to Linux and applied mathematics.
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.