lpstat(1) CLIX lpstat(1)
NAME
lpstat - Displays LP spooling system status information
SYNOPSIS
lpstat [flag ... ]
FLAGS
-a [list] Display acceptance status (with respect to lp) of destinations
for requests. The list argument is a list of intermixed
printer names and class names.
-c [list] Display class names and their members. The list argument is a
list of class names.
-d Display the system default destination for lp.
-o [list] Display the status of output requests. The list argument is a
list of intermixed printer names, class names, and request
id(s).
-p [list] Display the status of printers. The list argument is a list
of printer names.
-r Display the status of the LP request scheduler
-s Display a status summary, including the system default
destination, a list of class names and their members, and a
list of printers and their associated devices.
-t Display all status information.
-u [list] Display status of output requests for users. The list
argument is a list of login names.
-v [list] Display the names of printers and the pathnames of the devices
associated with them. The list argument is a list of printer
names.
DESCRIPTION
The lpstat command displays information about the current status of the LP
spooling system.
If no flags are given, then lpstat displays the status of all requests
made to lp by the user. An argument that is not a flag is assumed to be a
request id (as returned by lp). The lpstat command displays the status of
such requests.
2/94 - Intergraph Corporation 1
lpstat(1) CLIX lpstat(1)
EXAMPLES
1. To display the status of printer ilp811:
lpstat -p"ilp811"
2. Command to display all status information:
lpstat -t
3. To display the status of all user requests:
lpstat -u
FILES
/usr/spool/lp/*
SECURITY CONSIDERATIONS
If your system is running CLIX-TS, this command will operate differently.
Refer to the CLIX-TS Secure Facilities User's Guide for more information.
DIAGNOSTICS
printer name non-existent
Information was requested about a printer that does not exist.
name not a request id or a destination
A member of a list does not match a known printer destination or
request ID.
EXIT VALUES
The lpstat command exits with a value of 0 if successful.
RELATED INFORMATION
Commands: enable(1), lp(1)
2 Intergraph Corporation - 2/94