|
» |
|
|
|
Removing a Printer Class Using HP-UX Commands | |
See reject(1M), lpmove(1M), lpadmin(1M), and lpsched(1M) for details on the command
options. Ensure
that you have superuser capabilities. (Optional)
Deny any further print requests for the printer class. For example: # /usr/sbin/reject -r"Use alternate printer." laser |
(Optional):
Determine if there are any jobs in the printer class’s queue.
For example: # /usr/bin/lpstat -o laser |
(Optional)
Move all pending print requests in the request directory for the printer
class to another printer or printer class. For example: # /usr/sbin/lpmove laser laser2 |
Remove
the printer class. For example: # /usr/sbin/lpadmin -xlaser |
Start
the LP spooler if it is not already running:
|