lpstat(1)lpstat(1)Namelpstat - printer status information
Syntaxlpstat [ options ]
Description
The utility prints the status of the system printers.
Without any options, prints the status of print requests made to the
default printer.
This command exists for X/OPEN compatibility.
Options
Some of the options can be followed by a list of arguments. The argu‐
ments must be specified as follows:
lpstat-uuser1,user2,user3
List items can be separated by spaces, but the list must be enclosed in
quotes. If you do not include any arguments, all the information rele‐
vant to the option is printed.
The valid options for are:
-a ®[ printer1, printer2, ... ®]
Print whether or not printers are accepting print requests.
-d Print the name of the default system printer.
-o ®[ printer1, printer2, ... ®]
Print the status of print requests.
-p ®[ printer1, printer2, ... ®]
Print the status of printers.
-r Print the status of the line printer daemon,
-s Print a status summary, including the status of the line printer
daemon and the default system printer.
-t Print all status information.
-u ®[ user1, user2, ... ®]
Print the status of users' print requests.
See Alsolp(1), lpq(1), lpr(1), lpc(8)lpstat(1)