]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
b19ccc9e | 2 | .\" "$Id: lpstat.man 7921 2008-09-10 15:42:24Z mike $" |
ef416fc2 | 3 | .\" |
4 | .\" lpstat man page for the Common UNIX Printing System (CUPS). | |
5 | .\" | |
c168a833 | 6 | .\" Copyright 2007-2009 by Apple Inc. |
fa73b229 | 7 | .\" Copyright 1997-2006 by Easy Software Products. |
ef416fc2 | 8 | .\" |
9 | .\" These coded instructions, statements, and computer programs are the | |
bc44d920 | 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 | .\" |
9aff70cc | 15 | .TH lpstat 1 "CUPS" "10 September 2008" "Apple Inc." |
ef416fc2 | 16 | .SH NAME |
17 | lpstat \- print cups status information | |
18 | .SH SYNOPSIS | |
19 | .B lpstat | |
49d87452 | 20 | [ -E ] [ -H ] [ -U |
fa73b229 | 21 | .I username |
22 | ] [ -h | |
23 | .I hostname[:port] | |
ef416fc2 | 24 | ] [ -l ] [ -W |
25 | .I which-jobs | |
26 | ] [ -a [ | |
27 | .I destination(s) | |
28 | ] ] [ -c [ | |
29 | .I class(es) | |
80ca4592 | 30 | ] ] [ -d ] [ -o [ |
ef416fc2 | 31 | .I destination(s) |
32 | ] ] [ -p [ | |
33 | .I printer(s) | |
34 | ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ | |
35 | .I user(s) | |
36 | ] ] [ -v [ | |
37 | .I printer(s) | |
38 | ] ] | |
39 | .SH DESCRIPTION | |
bd7854cb | 40 | \fIlpstat\fR displays status information about the current |
41 | classes, jobs, and printers. When run with no arguments, | |
42 | \fIlpstat\fR will list jobs queued by the current user. | |
43 | .SH OPTIONS | |
44 | The \fIlpstat\fR command supports the following options: | |
ef416fc2 | 45 | .TP 5 |
bd7854cb | 46 | -E |
ef416fc2 | 47 | .br |
48 | Forces encryption when connecting to the server. | |
49 | .TP 5 | |
49d87452 MS |
50 | -H |
51 | .br | |
52 | Shows the server hostname and port. | |
53 | .TP 5 | |
bd7854cb | 54 | -R |
55 | .br | |
56 | Shows the ranking of print jobs. | |
57 | .TP 5 | |
58 | -U username | |
59 | .br | |
60 | Specifies an alternate username. | |
61 | .TP 5 | |
62 | -W which-jobs | |
63 | .br | |
64 | Specifies which jobs to show, \fIcompleted\fR or | |
65 | \fInot-completed\fR (the default). This option \fImust\fR appear | |
66 | before the \fI-o\fR option and/or any printer names, otherwise | |
67 | the default (not-completed) value will be used in the request to | |
68 | the scheduler. | |
69 | .TP 5 | |
70 | -a [printer(s)] | |
ef416fc2 | 71 | .br |
72 | Shows the accepting state of printer queues. If no printers are | |
73 | specified then all printers are listed. | |
74 | .TP 5 | |
bd7854cb | 75 | -c [class(es)] |
ef416fc2 | 76 | .br |
bd7854cb | 77 | Shows the printer classes and the printers that belong to them. |
78 | If no classes are specified then all classes are listed. | |
ef416fc2 | 79 | .TP 5 |
bd7854cb | 80 | -d |
ef416fc2 | 81 | .br |
82 | Shows the current default destination. | |
83 | .TP 5 | |
bd7854cb | 84 | -h server[:port] |
ef416fc2 | 85 | .br |
bd7854cb | 86 | Specifies an alternate server. |
ef416fc2 | 87 | .TP 5 |
bd7854cb | 88 | -l |
ef416fc2 | 89 | .br |
90 | Shows a long listing of printers, classes, or jobs. | |
91 | .TP 5 | |
bd7854cb | 92 | -o [destination(s)] |
ef416fc2 | 93 | .br |
94 | Shows the jobs queue on the specified destinations. If no destinations are | |
95 | specified all jobs are shown. | |
96 | .TP 5 | |
bd7854cb | 97 | -p [printer(s)] |
ef416fc2 | 98 | .br |
99 | Shows the printers and whether or not they are enabled for printing. If | |
100 | no printers are specified then all printers are listed. | |
101 | .TP 5 | |
bd7854cb | 102 | -r |
ef416fc2 | 103 | .br |
bd7854cb | 104 | Shows whether the CUPS server is running. |
ef416fc2 | 105 | .TP 5 |
bd7854cb | 106 | -s |
ef416fc2 | 107 | .br |
108 | Shows a status summary, including the default destination, a | |
109 | list of classes and their member printers, and a list of printers and | |
110 | their associated devices. This is equivalent to using the "-d", "-c", | |
111 | and "-v" options. | |
112 | .TP 5 | |
bd7854cb | 113 | -t |
ef416fc2 | 114 | .br |
115 | Shows all status information. This is equivalent to using the "-r", | |
116 | "-d", "-c", "-v", "-a", "-p", and "-o" options. | |
117 | .TP 5 | |
bd7854cb | 118 | -u [user(s)] |
ef416fc2 | 119 | .br |
120 | Shows a list of print jobs queued by the specified users. If no users | |
121 | are specified, lists the jobs queued by the current user. | |
122 | .TP 5 | |
bd7854cb | 123 | -v [printer(s)] |
ef416fc2 | 124 | .br |
125 | Shows the printers and what device they are attached to. If no printers | |
126 | are specified then all printers are listed. | |
ef416fc2 | 127 | .SH COMPATIBILITY |
bd7854cb | 128 | Unlike the System V printing system, CUPS allows printer names to |
129 | contain any printable character except SPACE, TAB, "/", and "#". | |
130 | Also, printer and class names are \fInot\fR case-sensitive. | |
ef416fc2 | 131 | .LP |
bd7854cb | 132 | The "-h", "-E", "-U", and "-W" options are unique to CUPS. |
ef416fc2 | 133 | .LP |
134 | The Solaris "-f", "-P", and "-S" options are silently ignored. | |
135 | .SH SEE ALSO | |
bd7854cb | 136 | \fIcancel(1)\fR, \fIlp(1)\fR, |
fa73b229 | 137 | .br |
138 | http://localhost:631/help | |
ef416fc2 | 139 | .SH COPYRIGHT |
c168a833 | 140 | Copyright 2007-2009 by Apple Inc. |
ef416fc2 | 141 | .\" |
b19ccc9e | 142 | .\" End of "$Id: lpstat.man 7921 2008-09-10 15:42:24Z mike $". |
ef416fc2 | 143 | .\" |