Stop accepting print requests for the printer by using the reject(1M) command.
# reject [-r "reason"] printer-name |
-r "reason" |
Provides users a reason why the printer is rejecting print requests. The reason is stored and displayed whenever a user checks on the status of the printer (lpstat -p). |
printer-name |
Name of the printer that will stop accepting print requests. |
The queued requests will continue printing as long as the printer is enabled. For instructions on disabling a printer so it stops printing, see "How to Enable or Disable a Printer".
Start accepting print requests for the printer by using the accept(1M) command.
# accept printer-name |
Check the status of the printer to see whether it is accepting or rejecting print requests by using the lpstat command.
$ lpstat -p printer-name |
In the following example, the command stops the printer luna from accepting print requests.
# reject -r "luna is down for repairs" luna destination "luna" will no longer accept requests |
In the following example, the command sets the printer luna to accept print requests.
# accept luna destination "luna" now accepting requests |