You can request different types of printing status information using the lpstat command. Table 8-2summarizes the frequently-used options for the lpstat command. Use these options individually, or combine them in any order on the command line. When you combine options, use a space between each option and repeat the dash (-).
For example, to show a long list of status for an individual printer, you would enter the following:
$ lpstat -p printername -l |
where printername is the name of the printer for which you want to view status.
Table 8-2 Summary of Frequently Used lpstat Options
Option |
Description |
---|---|
Accept. Show whether print destinations are accepting requests. |
|
Class. Show classes and their members. |
|
Destination. Show default destination. |
|
Forms. Show forms. |
|
Output. Show status of output. |
|
Printer/Description/Long list. Show status of printers. |
|
Request. Request scheduler status. |
|
Show position of job in the queue |
|
Status. Show status summary |
|
Sets. Show character sets |
|
User. Show requests by user |
|
Show devices |
See the lpstat(1)man page for a complete list of options.