__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<!DOCTYPE HTML>
<html>
<!-- SECTION: Man Pages -->
<head>
<link rel="stylesheet" type="text/css" href="../cups-printable.css">
<title>lpstat(1)</title>
</head>
<body>
<h1 class="title">lpstat(1)</h1>
<h2 class="title"><a name="NAME">Name</a></h2>
lpstat - print cups status information
<h2 class="title"><a name="SYNOPSIS">Synopsis</a></h2>
<b>lpstat</b>
[
<b>-h </b><i>hostname</i>[<b>:</b><i>port</i>]
] [
<b>-E</b>
] [
<b>-H</b>
] [
<b>-U</b>
<i>username</i>
] [
<b>-l</b>
] [
<b>-W</b>
<i>which-jobs</i>
] [
<b>-a</b>
[
<i>destination(s)</i>
] ] [
<b>-c</b>
[
<i>class(es)</i>
] ] [
<b>-d</b>
] [
<b>-e</b>
] [
<b>-o</b>
[
<i>destination(s)</i>
] ] [
<b>-p</b>
[
<i>printer(s)</i>
] ] [
<b>-r</b>
] [
<b>-R</b>
] [
<b>-s</b>
] [
<b>-t</b>
] [
<b>-u</b>
[
<i>user(s)</i>
] ] [
<b>-v</b>
[
<i>printer(s)</i>
] ]
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
<b>lpstat</b> displays status information about the current classes, jobs, and printers.
When run with no arguments, <b>lpstat</b> will list active jobs queued by the current user.
<h2 class="title"><a name="OPTIONS">Options</a></h2>
The <b>lpstat</b> command 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>-H</b>
<dd style="margin-left: 5.0em">Shows the server hostname and port.
<dt><b>-R</b>
<dd style="margin-left: 5.0em">Shows the ranking of print jobs.
<dt><b>-U </b><i>username</i>
<dd style="margin-left: 5.0em">Specifies an alternate username.
<dt><b>-W </b><i>which-jobs</i>
<dd style="margin-left: 5.0em">Specifies which jobs to show, "all", "successful", "completed" or "not-completed" (the default).
This option <i>must</i> appear before the <i>-o</i> option and/or any printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler.
<dt><b>-a </b>[<i>printer(s)</i>]
<dd style="margin-left: 5.0em">Shows the accepting state of printer queues.
If no printers are specified then all printers are listed.
<dt><b>-c </b>[<i>class(es)</i>]
<dd style="margin-left: 5.0em">Shows the printer classes and the printers that belong to them.
If no classes are specified then all classes are listed.
<dt><b>-d</b>
<dd style="margin-left: 5.0em">Shows the current default destination.
<dt><b>-e</b>
<dd style="margin-left: 5.0em">Shows all available destinations on the local network.
<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">Shows a long listing of printers, classes, or jobs.
<dt><b>-o </b>[<i>destination(s)</i>]
<dd style="margin-left: 5.0em">Shows the jobs queued on the specified destinations.
If no destinations are specified all jobs are shown.
<dt><b>-p </b>[<i>printer(s)</i>]
<dd style="margin-left: 5.0em">Shows the printers and whether they are enabled for printing.
If no printers are specified then all printers are listed.
<dt><b>-r</b>
<dd style="margin-left: 5.0em">Shows whether the CUPS server is running.
<dt><b>-s</b>
<dd style="margin-left: 5.0em">Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices.
This is equivalent to using the <i>-d</i>, <i>-c</i>, and <i>-v</i> options.
<dt><b>-t</b>
<dd style="margin-left: 5.0em">Shows all status information.
This is equivalent to using the <i>-r</i>, <i>-d</i>, <i>-c</i>, <i>-v</i>, <i>-a</i>, <i>-p</i>, and <i>-o</i> options.
<dt><b>-u </b>[<i>user(s)</i>]
<dd style="margin-left: 5.0em">Shows a list of print jobs queued by the specified users.
If no users are specified, lists the jobs queued by the current user.
<dt><b>-v </b>[<i>printer(s)</i>]
<dd style="margin-left: 5.0em">Shows the printers and what device they are attached to.
If no printers are specified then all printers are listed.
</dl>
<h2 class="title"><a name="CONFORMING_TO">Conforming To</a></h2>
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#".
Also, printer and class names are <i>not</i> case-sensitive.
<p>The <i>-h</i>, <i>-e</i>, <i>-E</i>, <i>-U</i>, and <i>-W</i> options are unique to CUPS.
<p>The Solaris <i>-f</i>, <i>-P</i>, and <i>-S</i> options are silently ignored.
<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-lpq.html?TOPIC=Man+Pages"><b>lpq</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>
CUPS Online Help (<a href="http://localhost:631/help">http://localhost:631/help</a>)
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright © 2020-2024 by OpenPrinting.
</body>
</html>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| accounting.html | File | 2.63 KB | 0644 |
|
| admin.html | File | 11.66 KB | 0644 |
|
| api-admin.html | File | 16.9 KB | 0644 |
|
| api-filter.html | File | 57.25 KB | 0644 |
|
| api-ppd.html | File | 84.68 KB | 0644 |
|
| cgi.html | File | 2.12 KB | 0644 |
|
| cupspm.html | File | 434.33 KB | 0644 |
|
| encryption.html | File | 4.21 KB | 0644 |
|
| firewalls.html | File | 3.94 KB | 0644 |
|
| glossary.html | File | 2.66 KB | 0644 |
|
| kerberos.html | File | 4.58 KB | 0644 |
|
| license.html | File | 11.78 KB | 0644 |
|
| man-backend.html | File | 9.71 KB | 0644 |
|
| man-cancel.html | File | 2.83 KB | 0644 |
|
| man-classes.conf.html | File | 1.5 KB | 0644 |
|
| man-client.conf.html | File | 7.04 KB | 0644 |
|
| man-cups-config.html | File | 3.52 KB | 0644 |
|
| man-cups-files.conf.html | File | 13.7 KB | 0644 |
|
| man-cups-lpd.html | File | 4.66 KB | 0644 |
|
| man-cups-snmp.html | File | 2.96 KB | 0644 |
|
| man-cups.html | File | 8.2 KB | 0644 |
|
| man-cupsaccept.html | File | 2.71 KB | 0644 |
|
| man-cupsd-helper.html | File | 3.05 KB | 0644 |
|
| man-cupsd-logs.html | File | 9.93 KB | 0644 |
|
| man-cupsd.conf.html | File | 39.76 KB | 0644 |
|
| man-cupsd.html | File | 3.76 KB | 0644 |
|
| man-cupsenable.html | File | 3.2 KB | 0644 |
|
| man-cupstestppd.html | File | 4.94 KB | 0644 |
|
| man-filter.html | File | 11.7 KB | 0644 |
|
| man-ippevepcl.html | File | 1.94 KB | 0644 |
|
| man-ippeveprinter.html | File | 10.03 KB | 0644 |
|
| man-ippfind.html | File | 9.77 KB | 0644 |
|
| man-ipptool.html | File | 7.67 KB | 0644 |
|
| man-ipptoolfile.html | File | 30.11 KB | 0644 |
|
| man-lp.html | File | 7.82 KB | 0644 |
|
| man-lpadmin.html | File | 10.65 KB | 0644 |
|
| man-lpc.html | File | 2.52 KB | 0644 |
|
| man-lpinfo.html | File | 3.8 KB | 0644 |
|
| man-lpmove.html | File | 2.12 KB | 0644 |
|
| man-lpoptions.html | File | 4.36 KB | 0644 |
|
| man-lpq.html | File | 2.24 KB | 0644 |
|
| man-lpr.html | File | 6.43 KB | 0644 |
|
| man-lprm.html | File | 2.35 KB | 0644 |
|
| man-lpstat.html | File | 4.83 KB | 0644 |
|
| man-mime.convs.html | File | 2.89 KB | 0644 |
|
| man-mime.types.html | File | 5.84 KB | 0644 |
|
| man-notifier.html | File | 1.49 KB | 0644 |
|
| man-ppdc.html | File | 3.78 KB | 0644 |
|
| man-ppdhtml.html | File | 2.11 KB | 0644 |
|
| man-ppdi.html | File | 2.27 KB | 0644 |
|
| man-ppdmerge.html | File | 2.03 KB | 0644 |
|
| man-ppdpo.html | File | 2.33 KB | 0644 |
|
| man-printers.conf.html | File | 1.58 KB | 0644 |
|
| man-subscriptions.conf.html | File | 1.61 KB | 0644 |
|
| network.html | File | 18.56 KB | 0644 |
|
| options.html | File | 16.42 KB | 0644 |
|
| overview.html | File | 3.4 KB | 0644 |
|
| policies.html | File | 21.25 KB | 0644 |
|
| postscript-driver.html | File | 20.54 KB | 0644 |
|
| ppd-compiler.html | File | 42.33 KB | 0644 |
|
| raster-driver.html | File | 17.61 KB | 0644 |
|
| ref-ppdcfile.html | File | 69.29 KB | 0644 |
|
| security.html | File | 4.44 KB | 0644 |
|
| sharing.html | File | 4.47 KB | 0644 |
|
| spec-banner.html | File | 4.08 KB | 0644 |
|
| spec-command.html | File | 6.12 KB | 0644 |
|
| spec-design.html | File | 11.61 KB | 0644 |
|
| spec-ipp.html | File | 65.45 KB | 0644 |
|
| spec-ppd.html | File | 86.95 KB | 0644 |
|
| spec-raster.html | File | 23.34 KB | 0644 |
|
| spec-stp.html | File | 3.79 KB | 0644 |
|
| translation.html | File | 24.32 KB | 0644 |
|