Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Printers, Software, and Performance
Managing Printers
Chapter 7 709
Typical LP Commands for Users and LP Administrators
Any user can queue files to printers, get status of the LP system, cancel
any print job, and mark printers in and out of service.
The following LP commands can be issued by any user. Consult the
HP-UX manpage for options and usage.
LP administrators can change the configuration of the system, mark
printers in and out of service, start and stop the system.
Table 7-3 LP Spooler User Commands
Command Description
lp (1) Sends a print request to a printer or plotter
lpstat (1) Prints information about the status of the LP spooler.
Reports status of the scheduler, printers, printer
classes, and default system printer.
cancel (1) Cancels print requests of spooled files, specified by
request IDs.
enable (1) Changes the status of the named printer to activate it
and enable it to print spooled requests.
disable (1) Changes the status of a named printer to deactivate
it and disable it from printing spooled requests.
lpalt (1) Alters a printer request; issues a new request ID.
Table 7-4 LP Administrator Commands
Command Description
lpshut (1M) Shuts down the printer scheduler.
lpadmin (1M) Multifaceted command used to manage the LP
spooler. Capabilities include adding/removing
printers, changing class members, associating a
device file with a printer, assigning an interface for a
printer, setting a system default destination.
accept (1M) Allow a print destination to accept requests.
reject (1M) Prevent a print destination from accepting requests.