Log in as superuser, lp, or assume an equivalent role on the print server.
Stop printing print requests.
# disable [-c | -W] [-r "reason"] printer-name |
You cannot enable or disable classes of printers. Only individual printers can be enabled or disabled.
Start printing print requests.
# enable printer-name |
Verify that the printer is enabled.
$ lpstat -p printer-name |
The following example shows how to stop the current job on the printer luna, save it to print later, and provide a reason why the printer has stopped printing print requests.
# disable -r "changing the form" luna |
The following example shows how to start printing print requests on the printer luna.
# enable luna printer "luna" enabled |