# create printer lpadmin -p printer1 -v /dev/null -m HPLaserJet # make it working accept printer1 enable printer1 # Make it a default printer for the whole system (if necessary) lpadmin -d printer1 # remove the printer lpadmin -x printer1
Espero que isso ajude