OpenWindows Advanced User's Guide

8.2.6 Summary Table of lpstat Options

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 

-a

Accept. Show whether print destinations are accepting requests. 

-c

Class. Show classes and their members. 

-d

Destination. Show default destination. 

-f

Forms. Show forms. 

-o

Output. Show status of output. 

-p [list][-D][-l}

Printer/Description/Long list. Show status of printers. 

-r

Request. Request scheduler status. 

-R

Show position of job in the queue 

-s

Status. Show status summary 

-S

Sets. Show character sets 

-u [username]

User. Show requests by user 

-v

Show devices 

See the lpstat(1)man page for a complete list of options.