Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (k - l) lpstat(1)
NAME
lpstat - Displays line printer and print job status information
SYNOPSIS
lpstat [-drst][-a[list]] [-o[list]] [-p[list]] [-u[list]] [-v[list]] [ID ...]
FLAGS
The ags can be specied in any order. Specifying no ags displays all of the information asso-
ciated with the rst printer alias (usually named default) in the users printcap le, or, if no
printcap le exists, in the /etc/printcap le.
Items specied in a list argument to a ag can be a series of items separated by commas or a list
of items separated by commas or one or more blank spaces and enclosed in quotation marks.
-a [list] Displays the job acceptance status of the printer devices that are con
gured for the sys-
tem.
The list argument is a list of printer aliases. If no value is specied for list, the infor-
mation displayed is for the rst printer alias (usually named default) in the users
printcap le or, if no printcap le exists, in the /etc/printcap le.
The display includes the device names, the current state of each device, the associated
print processes, and other device attributes such as form name, selection algorithm, and
header messages.
-d Displays the default spooler destination for output requests.
The information displayed is for the rst printer alias (usually named default) in the
users printcap le or, if no printcap le exists, in the /etc/printcap le.
-o [list] Displays the status of all job requests in the print queue.
The list argument is a list of printer aliases. If no value is specied for list, the infor-
mation displayed is for the rst printer alias (usually named default) in the users
printcap le or, if no printcap le exists, in the /etc/printcap le.
-p [list] Displays the status of spooler locations.
The list argument is a list of printer aliases. If no value is specied for list, the infor-
mation displayed is for the rst printer alias (usually named default) in the users
printcap le or, if no printcap le exists, in the /etc/printcap le.
-r Displays the status of the spooler collector and supervisor.
The information displayed is for the rst printer alias (usually named default) in the
users printcap le or, if no printcap le exists, in the /etc/printcap le.
-s Displays a status summary of the spooler supervisor, collector process, and spooler
devices.
The output is the collective output of the -v, -r, and -d ags.
-t Displays all status information.
The output is the collective output of the -s and -o ags for all locations in the printcap
or /etc/printcap le.
-u [list] Displays the status of output requests for users.
The list argument is a list of login names (NonStop Kernel user names or aliases for
NonStop Kernel user names). If no value is specied for list, the login name of the user
is used.
527188-007 Hewlett-Packard Company 575