LPSTAT(1) | User Commands | LPSTAT(1) |
lpstat [-d] [-r] [-R] [-s] [-t] [-a [list]] [-c [list]] [-f [list]] [-o [list]] [-p [list] [-D]] [-S [list]] [-u [login- ID -list]] [-v [list]] [-l level]
If no options are given, lpstat prints the status of all the user's print requests made by lp. See lp(1). Any arguments that are not options are assumed to be request-IDs as returned by lp. The lpstat command prints the status of such requests. options appears in any order and can be repeated and intermixed with other arguments. Some key letters can 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 separated from one another by spaces enclosed in quotes. For example:
example% lpstat -u "user1 user2 user3"
Specifying all after any key letter that takes list as an argument causes all information relevant to the key letter to be printed. For example, the command:
example% lpstat -o all
prints the status of all output requests.
The omission of a list following such key letters causes all information relevant to the key letter to be printed. For example, the command:
example% lpstat -o
prints the status of all output requests.
The print client commands locate destination information using the "printers" database in the name service switch. See nsswitch.conf(5), printers(5), and printers.conf(5) for details.
-a [list]
If the print queue is remote and IPP is in use, the information provided is very close to that reported for local queues. If the print queue is remote and IPP is not in use (the print server is older than Solaris 9, Update 6 or another RFC-1179-based print service), this option does not report any useful information.
-c [list]
If the print queue is remote and IPP is in use, the information provided is very close to that reported for local queues. If the print queue is remote and IPP is not in use (the print server is older than Solaris 9, Update 6 or another RFC-1179-based print service), this option does not report any useful information.
-d
-f[list] [-l]
If the print queue is remote and IPP is in use, the information provided is very close to that reported for local queues. If the print queue is remote and IPP is not in use (the print server is older than Solaris 9, Update 6 or another RFC-1179-based print service), this option does not report any useful information.
-l [level]
If the print queue is remote and IPP is in use, the information provided is very close to that reported for local queues. If the print queue is remote and IPP is not in use (the print server is older than Solaris 9, Update 6 or another RFC-1179-based print service), this option does not report any useful information.
-o [list]
Specify printer and class names using atomic, URI-style (scheme://endpoint), or POSIX-style (server:destination) names. See printers.conf(5) for more information.
-p [list] [-D]
If the print queue is remote and IPP is in use, correct job id is reported. If the print queue is remote and IPP is not in use (the print server is older than Solaris 9, Update 6 or another RFC-1179-based print service), -p [list] always reports the first job in the queue irrespective of its status.
-r
-R
-s
-S [list]
If the print queue is remote and IPP is in use, the information provided is very close to that reported for local queues. If the print queue is remote and IPP is not in use (the print server is older than Solaris 9, Update 6 or another RFC-1179-based print service), this option does not report any useful information.
-t
-u [login-ID-list]
login-ID
system_name!login-ID
system_name!all
all!login-ID
all
-v [list]
0
non-zero
$HOME/.printers
ou=printers
printers.conf.byname
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Standard |
When IPP is in use, the user is prompted for a passphrase if the remote print service is configured to require authentication.
February 25, 2017 | OmniOS |