Stop printing print requests on the printer by using the disable command.
# 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 on the printer by using the enable command.
# enable printer-name |
Verify the printer is enabled.
$ lpstat -p printer-name |
In the following example, the command stops the current job on the printer luna, saves it to print later, and provides a reason why the printer has stopped printing print requests.
# disable -r "changing the form" luna |
In the following example, the command starts printing print requests on the printer luna.
# enable luna printer "luna" enabled |