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