LPSTAT(1-SysV) RISC/os Reference Manual LPSTAT(1-SysV)
NAME
lpstat - print LP status information
SYNOPSIS
lpstat [options]
DESCRIPTION
lpstat prints information about the current status of the LP
spooling system.
If no options are given, then lpstat prints the status of
all requests made to lp(1) by the user. Any arguments that
are not options are assumed to be request ids (as returned
by lp). lpstat prints the status of such requests. Options
may appear in any order and may be repeated and intermixed
with other arguments. Some of the keyletters below may be
followed by an optional list that 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 keyletters causes all
information relevant to the keyletter to be printed, for
example:
lpstat -o
prints the status of all output requests.
-a[list] Print acceptance status (with respect to lp) of
destinations for requests. List is a list of
intermixed printer names and class names.
-c[list] Print class names and their members. List is a
list of class names.
-d Print the system default destination for lp.
-o[list] Print the status of output requests. List is a
list of intermixed printer names, class names,
and request ids.
-p[list] Print the status of printers. List is a list of
printer names.
-r Print the status of the LP request scheduler
-s Print a status summary, including the system
default destination, a list of class names and
Printed 1/15/91 Page 1
LPSTAT(1-SysV) RISC/os Reference Manual LPSTAT(1-SysV)
their members, and a list of printers and their
associated devices.
-t Print all status information.
-u[list] Print status of output requests for users. List
is a list of login names.
-v[list] Print the names of printers and the path names
of the devices associated with them. List is a
list of printer names.
FILES
/usr/spool/lp/*
SEE ALSO
enable(1), lp(1).
Page 2 Printed 1/15/91