Log in on any system on the network.
Check the status of printers and print requests by using the lpstat command.
Only the most commonly used options are shown here. See lpstat(1) for other valid options.
$ lpstat -o [list] | -u [user-list] |
When used to check the status of print requests, the lpstat command displays one line for each print request. From left to right, the line shows the request ID, the user, the output size in bytes, the date and time of the request, and information about the request, such as "being filtered."
In the following example, the command shows that user fred has one print request queued to the printer luna.
$ lpstat luna-1 fred 1261 Jul 12 17:34 |
In the following example, the command shows that the user paul currently has no print requests in queue.
$ lpstat -u paul |
In the following example, the command shows that there are two print requests on the printer moon.
$ lpstat -o moon moon-78 root 1024 Jul 14 09:07 moon-79 root 1024 Jul 14 09:08 |