/usr/share/cups/doc-root/help/man-lpstat.html is in cups-server-common 1.7.2-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<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>[ -E ] [ -H ] [ -U
<i>username
</i>] [ -h
<i>hostname[:port]
</i>] [ -l ] [ -W
<i>which-jobs
</i>] [ -a [
<i>destination(s)
</i>] ] [ -c [
<i>class(es)
</i>] ] [ -d ] [ -o [
<i>destination(s)
</i>] ] [ -p [
<i>printer(s)
</i>] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [
<i>user(s)
</i>] ] [ -v [
<i>printer(s)
</i>] ]
<h2 class="title"><a name="DESCRIPTION">Description</a></h2>
<i>lpstat</i> displays status information about the current
classes, jobs, and printers. When run with no arguments,
<i>lpstat</i> will list jobs queued by the current user.
<h2 class="title"><a name="OPTIONS">Options</a></h2>
The <i>lpstat</i> command supports the following options:
<dl>
<dt>-E
</dt>
<dd></dd>
<dd>Forces encryption when connecting to the server.
</dd>
<dt>-H
</dt>
<dd></dd>
<dd>Shows the server hostname and port.
</dd>
<dt>-R
</dt>
<dd></dd>
<dd>Shows the ranking of print jobs.
</dd>
<dt>-U username
</dt>
<dd></dd>
<dd>Specifies an alternate username.
</dd>
<dt>-W which-jobs
</dt>
<dd></dd>
<dd>Specifies which jobs to show, <i>completed</i> or
<i>not-completed</i> (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.
</dd>
<dt>-a [printer(s)]
</dt>
<dd></dd>
<dd>Shows the accepting state of printer queues. If no printers are
specified then all printers are listed.
</dd>
<dt>-c [class(es)]
</dt>
<dd></dd>
<dd>Shows the printer classes and the printers that belong to them.
If no classes are specified then all classes are listed.
</dd>
<dt>-d
</dt>
<dd></dd>
<dd>Shows the current default destination.
</dd>
<dt>-h server[:port]
</dt>
<dd></dd>
<dd>Specifies an alternate server.
</dd>
<dt>-l
</dt>
<dd></dd>
<dd>Shows a long listing of printers, classes, or jobs.
</dd>
<dt>-o [destination(s)]
</dt>
<dd></dd>
<dd>Shows the jobs queue on the specified destinations. If no destinations are
specified all jobs are shown.
</dd>
<dt>-p [printer(s)]
</dt>
<dd></dd>
<dd>Shows the printers and whether or not they are enabled for printing. If
no printers are specified then all printers are listed.
</dd>
<dt>-r
</dt>
<dd></dd>
<dd>Shows whether the CUPS server is running.
</dd>
<dt>-s
</dt>
<dd></dd>
<dd>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 "-d", "-c",
and "-v" options.
</dd>
<dt>-t
</dt>
<dd></dd>
<dd>Shows all status information. This is equivalent to using the "-r",
"-d", "-c", "-v", "-a", "-p", and "-o" options.
</dd>
<dt>-u [user(s)]
</dt>
<dd></dd>
<dd>Shows a list of print jobs queued by the specified users. If no users
are specified, lists the jobs queued by the current user.
</dd>
<dt>-v [printer(s)]
</dt>
<dd></dd>
<dd>Shows the printers and what device they are attached to. If no printers
are specified then all printers are listed.
</dd>
</dl>
<h2 class="title"><a name="COMPATIBILITY">Compatibility</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 "-h", "-E", "-U", and "-W" options are unique to CUPS.
<p>The Solaris "-f", "-P", and "-S" options are silently ignored.
<h2 class="title"><a name="SEE_ALSO">See Also</a></h2>
<a href='man-cancel.html?TOPIC=Man+Pages'>cancel(1)</a>, <a href='man-lp.html?TOPIC=Man+Pages'>lp(1)</a>,
<br>
<a href='http://localhost:631/help'>http://localhost:631/help</a>
<h2 class="title"><a name="COPYRIGHT">Copyright</a></h2>
Copyright 2007-2013 by Apple Inc.
</body>
</html>
|