3 <!-- SECTION: Man Pages -->
5 <link rel=
"stylesheet" type=
"text/css" href=
"../cups-printable.css">
9 <h1 class=
"title">lpq(
1)
</h1>
10 <h2 class=
"title"><a name=
"NAME">Name
</a></h2>
11 lpq - show printer queue status
12 <h2 class=
"title"><a name=
"SYNOPSIS">Synopsis
</a></h2>
20 <b>-h
</b><i>server
</i>[
<b>:
</b><i>port
</i>]
22 <b>-P
</b><i>destination
</i>[
<b>/
</b><i>instance
</i>]
28 <b>+
</b><i>interval
</i>
30 <h2 class=
"title"><a name=
"DESCRIPTION">Description
</a></h2>
31 <b>lpq
</b> shows the current print queue status on the named printer.
32 Jobs queued on the default destination will be shown if no printer or class is specified on the command-line.
33 <p>The
<i>+interval
</i> option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every
<i>interval
</i> seconds.
34 <h2 class=
"title"><a name=
"OPTIONS">Options
</a></h2>
35 <b>lpq
</b> supports the following options:
38 <dd style=
"margin-left: 5.0em">Forces encryption when connecting to the server.
39 <dt><b>-P
</b><i>destination
</i>[
<b>/
</b><i>instance
</i>]
40 <dd style=
"margin-left: 5.0em">Specifies an alternate printer or class name.
41 <dt><b>-U
</b><i>username
</i>
42 <dd style=
"margin-left: 5.0em">Specifies an alternate username.
44 <dd style=
"margin-left: 5.0em">Reports jobs on all printers.
45 <dt><b>-h
</b><i>server
</i>[
<b>:
</b><i>port
</i>]
46 <dd style=
"margin-left: 5.0em">Specifies an alternate server.
48 <dd style=
"margin-left: 5.0em">Requests a more verbose (long) reporting format.
50 <h2 class=
"title"><a name=
"SEE_ALSO">See Also
</a></h2>
56 CUPS Online Help (
<a href=
"http://localhost:631/help">http://localhost:
631/help
</a>)
57 <h2 class=
"title"><a name=
"COPYRIGHT">Copyright
</a></h2>
58 Copyright
© 2007-
2019 by Apple Inc.