mirror of https://gitee.com/openkylin/cups.git
63 lines
2.2 KiB
HTML
63 lines
2.2 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!-- SECTION: Man Pages -->
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="../cups-printable.css">
|
|
<title>lpq(1)</title>
|
|
</head>
|
|
<body>
|
|
<h1 class="title">lpq(1)</h1>
|
|
<h2 class="title"><a name="NAME">Name</a></h2>
|
|
lpq - show printer queue status
|
|
<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
|
|
<b>lpq</b>
|
|
[
|
|
<b>-h </b><i>server</i>[<b>:</b><i>port</i>]
|
|
] [
|
|
<b>-E</b>
|
|
] [
|
|
<b>-U</b>
|
|
<i>username</i>
|
|
] [
|
|
<b>-P </b><i>destination</i>[<b>/</b><i>instance</i>]
|
|
] [
|
|
<b>-a</b>
|
|
] [
|
|
<b>-l</b>
|
|
] [
|
|
<b>+</b><i>interval</i>
|
|
]
|
|
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
|
|
<b>lpq</b> shows the current print queue status on the named printer.
|
|
Jobs queued on the default destination will be shown if no printer or class is specified on the command-line.
|
|
<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.
|
|
<h2 class="title"><a name="OPTIONS">Options</a></h2>
|
|
<b>lpq</b> supports the following options:
|
|
<dl class="man">
|
|
<dt><b>-E</b>
|
|
<dd style="margin-left: 5.0em">Forces encryption when connecting to the server.
|
|
<dt><b>-P </b><i>destination</i>[<b>/</b><i>instance</i>]
|
|
<dd style="margin-left: 5.0em">Specifies an alternate printer or class name.
|
|
<dt><b>-U </b><i>username</i>
|
|
<dd style="margin-left: 5.0em">Specifies an alternate username.
|
|
<dt><b>-a</b>
|
|
<dd style="margin-left: 5.0em">Reports jobs on all printers.
|
|
<dt><b>-h </b><i>server</i>[<b>:</b><i>port</i>]
|
|
<dd style="margin-left: 5.0em">Specifies an alternate server.
|
|
Note: This option must occur before all others.
|
|
<dt><b>-l</b>
|
|
<dd style="margin-left: 5.0em">Requests a more verbose (long) reporting format.
|
|
</dl>
|
|
<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
|
|
<a href="man-cancel.html?TOPIC=Man+Pages"><b>cancel</b>(1),</a>
|
|
<a href="man-lp.html?TOPIC=Man+Pages"><b>lp</b>(1),</a>
|
|
<a href="man-lpr.html?TOPIC=Man+Pages"><b>lpr</b>(1),</a>
|
|
<a href="man-lprm.html?TOPIC=Man+Pages"><b>lprm</b>(1),</a>
|
|
<a href="man-lpstat.html?TOPIC=Man+Pages"><b>lpstat</b>(1),</a>
|
|
CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
|
|
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
|
|
Copyright © 2021-2022 by OpenPrinting.
|
|
|
|
</body>
|
|
</html>
|