.TH lpstat "" "" Command
.PC "Give status of printer or job"
\fBlpstat [\-p\fIprinter\^\fB] [\-drqstv]\fR
.PP
.HS
.SH Options
.IC "\fB\-p \fIprinter\fR"
Give the status of \fIprinter\fR
.IC \fB\-d\fR
Name the system default destination printer
.\".IC \fB\-o\fR
.\"Status of all printing and pending requests
.IC \fB\-r\fR
Give the status of the daemon \fBlpsched\fR
.IC \fB\-q\fR
Give a detailed report of jobs in the queue
.IC \fB\-s\fR
Summarize status of each request and status of each printer
.IC \fB\-t\fR
Like option \fB\-s\fR, but in somewhat more detail
.IC \fB\-v\fR
List all available printers and the devices associated with them
.HE
The command
.B lpstat
gives information about the operation of the
.B lp
print-spooling mechanism.
It recognizes the following options:
.IP "\fB\-p \fIprinter\fR" 0.3i
Give the status of \fIprinter\fR.
.IP \fB\-d\fR
Name the system's default printer.
.\".IP \fB\-o\fR
.\"Status of all printing and pending requests.
.\"This is the default option.
.IP \fB\-r\fR
Give the status of the daemon \fBlpsched\fR.
.IP \fB\-q\fR
Give a detailed report of jobs in the queue.
The jobs are displayed in two groups, quiescent and active,
with each group ordered by their priority \(em which, given \fBlp\fR's
conventions for naming jobs, is identical with their alphabetical order.
.IP \fB\-s\fR
Summarize status of each request and status of each printer.
.IP \fB\-t\fR
Like option \fB\-s\fR, but in somewhat more detail.
.IP \fB\-v\fR
List all available printers and the devices associated with them.
.SH "See Also"
.Xr "commands," commands
.Xr "lp," lp
.Xr "printer" printer
