LPSTAT(C) XENIX System V LPSTAT(C)
Name
lpstat - prints lineprinter status information
Syntax
lpstat [options...]
Description
lpstat prints information about the current status of the
lineprinter system.
If no options are given, then lpstat prints the status of
all requests made to lp(C) by the user. Any arguments that
are not options are assumed to be request IDs (as returned
by lp). lpstat prints the status of these requests.
Options may appear in any order and may be repeated and
intermixed with other arguments. Some of the following
options may be followed by list which can be in one of two
forms: a list of items separated from one another by a
comma, or a list of items enclosed in double quotes and
separated from one another by a comma and/or one or more
spaces. For example:
-u``user1, user2, user3''
The omission of a list following such options causes all
information relevant to the option to be printed, for
example:
lpstat -o
prints the status of all output requests.
-a[list] Prints acceptance status (with respect to lp) of
destinations for requests. List is a list of
intermixed printer names and class names.
-c[list] Prints class names and their members. List is a
list of class names.
-d Prints the system default destination for lp.
-o[list] Prints the status of output requests. List is a
list of intermixed printer names, class names,
and request IDs.
-p[list] Prints the status of printers. List is a list
of printer names.
-r Prints the status of the lineprinter scheduler,
lpsched.
-s Prints a status summary, including the status of
Page 1 (printed 2/7/91)
LPSTAT(C) XENIX System V LPSTAT(C)
the
lineprinter scheduler, the system default
destination, Prints 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 Prints all status information.
-u[list] Prints status of output requests for users.
List is a list of login names.
-v[list] Prints the names of printers and the pathnames
of the devices associated with them. List is a
list of printer names.
Files
/usr/spool/lp/*
See Also
enable(C), lp(C)
Page 2 (printed 2/7/91)