]>
Commit | Line | Data |
---|---|---|
771e5703 | 1 | .\" |
b2e10895 | 2 | .\" "$Id$" |
771e5703 | 3 | .\" |
4 | .\" lpstat man page for the Common UNIX Printing System (CUPS). | |
5 | .\" | |
b2e10895 | 6 | .\" Copyright 1997-2005 by Easy Software Products. |
771e5703 | 7 | .\" |
8 | .\" These coded instructions, statements, and computer programs are the | |
9 | .\" property of Easy Software Products and are protected by Federal | |
10 | .\" copyright law. Distribution and use rights are outlined in the file | |
11 | .\" "LICENSE.txt" which should have been included with this file. If this | |
12 | .\" file is missing or damaged please contact Easy Software Products | |
13 | .\" at: | |
14 | .\" | |
15 | .\" Attn: CUPS Licensing Information | |
16 | .\" Easy Software Products | |
17 | .\" 44141 Airport View Drive, Suite 204 | |
b2e10895 | 18 | .\" Hollywood, Maryland 20636 USA |
771e5703 | 19 | .\" |
9639c4de | 20 | .\" Voice: (301) 373-9600 |
771e5703 | 21 | .\" EMail: cups-info@cups.org |
22 | .\" WWW: http://www.cups.org | |
23 | .\" | |
b2e10895 | 24 | .TH lpstat 1 "Common UNIX Printing System" "3 January 2005" "Easy Software Products" |
771e5703 | 25 | .SH NAME |
26 | lpstat \- print cups status information | |
27 | .SH SYNOPSIS | |
28 | .B lpstat | |
b2e10895 | 29 | [ -E ] [ -h |
30 | .I server | |
31 | ] [ -l ] [ -W | |
32 | .I which-jobs | |
33 | ] [ -a [ | |
771e5703 | 34 | .I destination(s) |
35 | ] ] [ -c [ | |
36 | .I class(es) | |
b2e10895 | 37 | ] [ -d ] [ -o [ |
771e5703 | 38 | .I destination(s) |
39 | ] ] [ -p [ | |
40 | .I printer(s) | |
e0244bf5 | 41 | ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ |
771e5703 | 42 | .I user(s) |
43 | ] ] [ -v [ | |
44 | .I printer(s) | |
45 | ] ] | |
46 | .SH DESCRIPTION | |
47 | \fBlpstat\fR displays status information about the current classes, jobs, and | |
48 | printers. When run with no arguments, \fBlpstat\fR will list jobs queued by | |
49 | the user. Other options include: | |
50 | .TP 5 | |
1c9e0181 | 51 | \-E |
52 | .br | |
53 | Forces encryption when connecting to the server. | |
54 | .TP 5 | |
771e5703 | 55 | \-a [\fIprinter(s)\fR] |
56 | .br | |
57 | Shows the accepting state of printer queues. If no printers are | |
58 | specified then all printers are listed. | |
59 | .TP 5 | |
60 | \-c [\fIclass(es)\fR] | |
61 | .br | |
62 | Shows the printer classes and the printers that belong to them. If no | |
63 | classes are specified then all classes are listed. | |
64 | .TP 5 | |
65 | \-d | |
66 | .br | |
67 | Shows the current default destination. | |
68 | .TP 5 | |
69 | \-h \fIserver\fR | |
70 | .br | |
71 | Specifies the CUPS server to communicate with. | |
72 | .TP 5 | |
e0244bf5 | 73 | \-l |
74 | .br | |
75 | Shows a long listing of printers, classes, or jobs. | |
76 | .TP 5 | |
771e5703 | 77 | \-o [\fIdestination(s)\fR] |
78 | .br | |
79 | Shows the jobs queue on the specified destinations. If no destinations are | |
80 | specified all jobs are shown. | |
81 | .TP 5 | |
82 | \-p [\fIprinter(s)\fR] | |
83 | .br | |
84 | Shows the printers and whether or not they are enabled for printing. If | |
85 | no printers are specified then all printers are listed. | |
86 | .TP 5 | |
87 | \-r | |
88 | .br | |
89 | Shows whether or not the CUPS server is running. | |
90 | .TP 5 | |
e0244bf5 | 91 | \-R |
92 | .br | |
93 | Shows the ranking of print jobs. | |
94 | .TP 5 | |
771e5703 | 95 | \-s |
96 | .br | |
2e9f3b68 | 97 | Shows a status summary, including the default destination, a |
771e5703 | 98 | list of classes and their member printers, and a list of printers and |
99 | their associated devices. This is equivalent to using the "-d", "-c", | |
b2e10895 | 100 | and "-v" options. |
771e5703 | 101 | .TP 5 |
102 | \-t | |
103 | .br | |
104 | Shows all status information. This is equivalent to using the "-r", | |
b2e10895 | 105 | "-d", "-c", "-v", "-a", "-p", and "-o" options. |
771e5703 | 106 | .TP 5 |
107 | \-u [\fIuser(s)\fR] | |
108 | .br | |
109 | Shows a list of print jobs queued by the specified users. If no users | |
110 | are specified, lists the jobs queued by the current user. | |
111 | .TP 5 | |
112 | \-v [\fIprinter(s)\fR] | |
113 | .br | |
114 | Shows the printers and what device they are attached to. If no printers | |
115 | are specified then all printers are listed. | |
b2e10895 | 116 | .TP 5 |
117 | \-W [\fIwhich-jobs\fR] | |
118 | .br | |
119 | Specifies which jobs to show, \fIcompleted\fR or | |
120 | \fInot-completed\fR (the default). This option \fBmust\fR appear | |
121 | before the \fI-o\fR option and/or any printer names, otherwise | |
122 | the default (not-completed) value will be used in the request to | |
123 | the scheduler. | |
771e5703 | 124 | .SH COMPATIBILITY |
b2e10895 | 125 | Unlike the System V printing system, CUPS allows printer names |
126 | to contain any printable character except SPACE and TAB. Also, | |
127 | printer and class names are \fBnot\fR case-sensitive. | |
771e5703 | 128 | .LP |
b2e10895 | 129 | The "-h" and "-W" options are unique to CUPS. |
e0244bf5 | 130 | .LP |
131 | The Solaris "-f", "-P", and "-S" options are silently ignored. | |
771e5703 | 132 | .SH SEE ALSO |
133 | cancel(1), lp(1), | |
85e7af89 | 134 | CUPS Software Users Manual, |
135 | http://localhost:631/documentation.html | |
771e5703 | 136 | .SH COPYRIGHT |
b2e10895 | 137 | Copyright 1993-2005 by Easy Software Products, All Rights Reserved. |
771e5703 | 138 | .\" |
b2e10895 | 139 | .\" End of "$Id$". |
771e5703 | 140 | .\" |