Open System Services Shell and Utilities Reference Manual (G06.25+, H06.03+)
Table Of Contents
lpstat(1) OSS Shell and Utilities Reference Manual
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 flags can be specified in any order. Specifying no flags displays all of the information asso-
ciated with the first printer alias (usually named default) in the user’s printcap file, or, if no
printcap file exists, in the /etc/printcap file.
Items specified in a list argument to a flag 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
figured for the sys-
tem.
The list argument is a list of printer aliases. If no value is specified for list, the infor-
mation displayed is for the first printer alias (usually named default) in the user’s
printcap file or, if no printcap file exists, in the /etc/printcap file.
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 first printer alias (usually named default) in the
user’s printcap file or, if no printcap file exists, in the /etc/printcap file.
-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 specified for list, the infor-
mation displayed is for the first printer alias (usually named default) in the user’s
printcap file or, if no printcap file exists, in the /etc/printcap file.
-p [list] Displays the status of spooler locations.
The list argument is a list of printer aliases. If no value is specified for list, the infor-
mation displayed is for the first printer alias (usually named default) in the user’s
printcap file or, if no printcap file exists, in the /etc/printcap file.
-r Displays the status of the spooler collector and supervisor.
The information displayed is for the first printer alias (usually named default) in the
user’s printcap file or, if no printcap file exists, in the /etc/printcap file.
-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 flags.
-t Displays all status information.
The output is the collective output of the -s and -o flags for all locations in the printcap
or /etc/printcap file.
-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 specified for list, the login name of the user
is used.
5−74 Hewlett-Packard Company 527188-003