]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpq.man
Sanitize hostname as needed.
[thirdparty/cups.git] / man / lpq.man
CommitLineData
ef416fc2 1.\"
e4e5666b 2.\" "$Id$"
ef416fc2 3.\"
27e0d6f8 4.\" lpq man page for CUPS.
ef416fc2 5.\"
27e0d6f8
MS
6.\" Copyright 2007-2014 by Apple Inc.
7.\" Copyright 1997-2006 by Easy Software Products.
ef416fc2 8.\"
27e0d6f8
MS
9.\" These coded instructions, statements, and computer programs are the
10.\" property of Apple Inc. and are protected by Federal copyright
11.\" law. Distribution and use rights are outlined in the file "LICENSE.txt"
12.\" which should have been included with this file. If this file is
13.\" file is missing or damaged, see the license at "http://www.cups.org/".
ef416fc2 14.\"
27e0d6f8 15.TH lpq 1 "CUPS" "12 June 2014" "Apple Inc."
ef416fc2 16.SH NAME
17lpq \- show printer queue status
18.SH SYNOPSIS
19.B lpq
27e0d6f8
MS
20[
21.B \-E
22] [
23.B \-U
fa73b229 24.I username
27e0d6f8
MS
25] [
26\fB\-h \fIserver\fR[\fB:\fIport\fR]
27] [
28\fB\-P \fIdestination\fR[\fB/\fIinstance\fR]
29] [
30.B \-a
31] [
32.B \-l
33] [
34.BI + interval
ef416fc2 35]
36.SH DESCRIPTION
27e0d6f8
MS
37\fBlpq\fR shows the current print queue status on the named printer.
38Jobs queued on the default destination will be shown if no printer or class is specified on the command-line.
ef416fc2 39.LP
27e0d6f8 40The \fI+interval\fR option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every \fIinterval\fR seconds.
bd7854cb 41.SH OPTIONS
27e0d6f8 42\fBlpq\fR supports the following options:
bd7854cb 43.TP 5
27e0d6f8 44.B \-E
bd7854cb 45Forces encryption when connecting to the server.
46.TP 5
27e0d6f8 47\fB\-P \fIdestination\fR[\fB/\fIinstance\fR]
bd7854cb 48Specifies an alternate printer or class name.
49.TP 5
27e0d6f8 50\fB\-U \fIusername\fR
bd7854cb 51Specifies an alternate username.
52.TP 5
27e0d6f8 53.B \-a
bd7854cb 54Reports jobs on all printers.
55.TP 5
27e0d6f8 56\fB\-h \fIserver\fR[\fB:\fIport\fR]
bd7854cb 57Specifies an alternate server.
58.TP 5
27e0d6f8 59.B \-l
bd7854cb 60Requests a more verbose (long) reporting format.
ef416fc2 61.SH SEE ALSO
27e0d6f8
MS
62.BR cancel (1),
63.BR lp (1),
64.BR lpr (1),
65.BR lprm (1),
66.BR lpstat (1),
67CUPS Online Help (http://localhost:631/help)
ef416fc2 68.SH COPYRIGHT
27e0d6f8 69Copyright \[co] 2007-2014 by Apple Inc.
ef416fc2 70.\"
e4e5666b 71.\" End of "$Id$".
ef416fc2 72.\"