]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpstat.man
Sync changes and files from 1.1.x.
[thirdparty/cups.git] / man / lpstat.man
CommitLineData
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
26lpstat \- 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
48printers. When run with no arguments, \fBlpstat\fR will list jobs queued by
49the user. Other options include:
50.TP 5
1c9e0181 51\-E
52.br
53Forces encryption when connecting to the server.
54.TP 5
771e5703 55\-a [\fIprinter(s)\fR]
56.br
57Shows the accepting state of printer queues. If no printers are
58specified then all printers are listed.
59.TP 5
60\-c [\fIclass(es)\fR]
61.br
62Shows the printer classes and the printers that belong to them. If no
63classes are specified then all classes are listed.
64.TP 5
65\-d
66.br
67Shows the current default destination.
68.TP 5
69\-h \fIserver\fR
70.br
71Specifies the CUPS server to communicate with.
72.TP 5
e0244bf5 73\-l
74.br
75Shows a long listing of printers, classes, or jobs.
76.TP 5
771e5703 77\-o [\fIdestination(s)\fR]
78.br
79Shows the jobs queue on the specified destinations. If no destinations are
80specified all jobs are shown.
81.TP 5
82\-p [\fIprinter(s)\fR]
83.br
84Shows the printers and whether or not they are enabled for printing. If
85no printers are specified then all printers are listed.
86.TP 5
87\-r
88.br
89Shows whether or not the CUPS server is running.
90.TP 5
e0244bf5 91\-R
92.br
93Shows the ranking of print jobs.
94.TP 5
771e5703 95\-s
96.br
2e9f3b68 97Shows a status summary, including the default destination, a
771e5703 98list of classes and their member printers, and a list of printers and
99their associated devices. This is equivalent to using the "-d", "-c",
b2e10895 100and "-v" options.
771e5703 101.TP 5
102\-t
103.br
104Shows 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
109Shows a list of print jobs queued by the specified users. If no users
110are specified, lists the jobs queued by the current user.
111.TP 5
112\-v [\fIprinter(s)\fR]
113.br
114Shows the printers and what device they are attached to. If no printers
115are specified then all printers are listed.
b2e10895 116.TP 5
117\-W [\fIwhich-jobs\fR]
118.br
119Specifies which jobs to show, \fIcompleted\fR or
120\fInot-completed\fR (the default). This option \fBmust\fR appear
121before the \fI-o\fR option and/or any printer names, otherwise
122the default (not-completed) value will be used in the request to
123the scheduler.
771e5703 124.SH COMPATIBILITY
b2e10895 125Unlike the System V printing system, CUPS allows printer names
126to contain any printable character except SPACE and TAB. Also,
127printer and class names are \fBnot\fR case-sensitive.
771e5703 128.LP
b2e10895 129The "-h" and "-W" options are unique to CUPS.
e0244bf5 130.LP
131The Solaris "-f", "-P", and "-S" options are silently ignored.
771e5703 132.SH SEE ALSO
133cancel(1), lp(1),
85e7af89 134CUPS Software Users Manual,
135http://localhost:631/documentation.html
771e5703 136.SH COPYRIGHT
b2e10895 137Copyright 1993-2005 by Easy Software Products, All Rights Reserved.
771e5703 138.\"
b2e10895 139.\" End of "$Id$".
771e5703 140.\"