]>
Commit | Line | Data |
---|---|---|
ef416fc2 | 1 | .\" |
75bd9771 | 2 | .\" "$Id: lpstat.man 7600 2008-05-20 21:06:23Z mike $" |
ef416fc2 | 3 | .\" |
4 | .\" lpstat man page for the Common UNIX Printing System (CUPS). | |
5 | .\" | |
bc44d920 | 6 | .\" Copyright 2007 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 | .\" |
bc44d920 | 15 | .TH lpstat 1 "Common UNIX Printing System" "23 March 2006" "Apple Inc." |
ef416fc2 | 16 | .SH NAME |
17 | lpstat \- print cups status information | |
18 | .SH SYNOPSIS | |
19 | .B lpstat | |
fa73b229 | 20 | [ -E ] [ -U |
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 | |
bd7854cb | 50 | -R |
51 | .br | |
52 | Shows the ranking of print jobs. | |
53 | .TP 5 | |
54 | -U username | |
55 | .br | |
56 | Specifies an alternate username. | |
57 | .TP 5 | |
58 | -W which-jobs | |
59 | .br | |
60 | Specifies which jobs to show, \fIcompleted\fR or | |
61 | \fInot-completed\fR (the default). This option \fImust\fR appear | |
62 | before the \fI-o\fR option and/or any printer names, otherwise | |
63 | the default (not-completed) value will be used in the request to | |
64 | the scheduler. | |
65 | .TP 5 | |
66 | -a [printer(s)] | |
ef416fc2 | 67 | .br |
68 | Shows the accepting state of printer queues. If no printers are | |
69 | specified then all printers are listed. | |
70 | .TP 5 | |
bd7854cb | 71 | -c [class(es)] |
ef416fc2 | 72 | .br |
bd7854cb | 73 | Shows the printer classes and the printers that belong to them. |
74 | If no classes are specified then all classes are listed. | |
ef416fc2 | 75 | .TP 5 |
bd7854cb | 76 | -d |
ef416fc2 | 77 | .br |
78 | Shows the current default destination. | |
79 | .TP 5 | |
bd7854cb | 80 | -h server[:port] |
ef416fc2 | 81 | .br |
bd7854cb | 82 | Specifies an alternate server. |
ef416fc2 | 83 | .TP 5 |
bd7854cb | 84 | -l |
ef416fc2 | 85 | .br |
86 | Shows a long listing of printers, classes, or jobs. | |
87 | .TP 5 | |
bd7854cb | 88 | -o [destination(s)] |
ef416fc2 | 89 | .br |
90 | Shows the jobs queue on the specified destinations. If no destinations are | |
91 | specified all jobs are shown. | |
92 | .TP 5 | |
bd7854cb | 93 | -p [printer(s)] |
ef416fc2 | 94 | .br |
95 | Shows the printers and whether or not they are enabled for printing. If | |
96 | no printers are specified then all printers are listed. | |
97 | .TP 5 | |
bd7854cb | 98 | -r |
ef416fc2 | 99 | .br |
bd7854cb | 100 | Shows whether the CUPS server is running. |
ef416fc2 | 101 | .TP 5 |
bd7854cb | 102 | -s |
ef416fc2 | 103 | .br |
104 | Shows a status summary, including the default destination, a | |
105 | list of classes and their member printers, and a list of printers and | |
106 | their associated devices. This is equivalent to using the "-d", "-c", | |
107 | and "-v" options. | |
108 | .TP 5 | |
bd7854cb | 109 | -t |
ef416fc2 | 110 | .br |
111 | Shows all status information. This is equivalent to using the "-r", | |
112 | "-d", "-c", "-v", "-a", "-p", and "-o" options. | |
113 | .TP 5 | |
bd7854cb | 114 | -u [user(s)] |
ef416fc2 | 115 | .br |
116 | Shows a list of print jobs queued by the specified users. If no users | |
117 | are specified, lists the jobs queued by the current user. | |
118 | .TP 5 | |
bd7854cb | 119 | -v [printer(s)] |
ef416fc2 | 120 | .br |
121 | Shows the printers and what device they are attached to. If no printers | |
122 | are specified then all printers are listed. | |
ef416fc2 | 123 | .SH COMPATIBILITY |
bd7854cb | 124 | Unlike the System V printing system, CUPS allows printer names to |
125 | contain any printable character except SPACE, TAB, "/", and "#". | |
126 | Also, printer and class names are \fInot\fR case-sensitive. | |
ef416fc2 | 127 | .LP |
bd7854cb | 128 | The "-h", "-E", "-U", and "-W" options are unique to CUPS. |
ef416fc2 | 129 | .LP |
130 | The Solaris "-f", "-P", and "-S" options are silently ignored. | |
131 | .SH SEE ALSO | |
bd7854cb | 132 | \fIcancel(1)\fR, \fIlp(1)\fR, |
fa73b229 | 133 | .br |
134 | http://localhost:631/help | |
ef416fc2 | 135 | .SH COPYRIGHT |
bc44d920 | 136 | Copyright 2007 by Apple Inc. |
ef416fc2 | 137 | .\" |
75bd9771 | 138 | .\" End of "$Id: lpstat.man 7600 2008-05-20 21:06:23Z mike $". |
ef416fc2 | 139 | .\" |