]> git.ipfire.org Git - thirdparty/cups.git/blame - man/lpstat.man
Mirror 1.1.x updates.
[thirdparty/cups.git] / man / lpstat.man
CommitLineData
771e5703 1.\"
2e9f3b68 2.\" "$Id: lpstat.man,v 1.5.2.2 2002/08/22 17:14:43 mike Exp $"
771e5703 3.\"
4.\" lpstat man page for the Common UNIX Printing System (CUPS).
5.\"
839c43aa 6.\" Copyright 1997-2002 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
18.\" Hollywood, Maryland 20636-3111 USA
19.\"
20.\" Voice: (301) 373-9603
21.\" EMail: cups-info@cups.org
22.\" WWW: http://www.cups.org
23.\"
1c9e0181 24.TH lpstat 1 "Common UNIX Printing System" "23 January 2001" "Easy Software Products"
771e5703 25.SH NAME
26lpstat \- print cups status information
27.SH SYNOPSIS
28.B lpstat
1c9e0181 29[ -E ] [ -a [
771e5703 30.I destination(s)
31] ] [ -c [
32.I class(es)
e0244bf5 33] [ -d ] [ -h
771e5703 34.I server
e0244bf5 35] [ -l ] [ -o [
771e5703 36.I destination(s)
37] ] [ -p [
38.I printer(s)
e0244bf5 39] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [
771e5703 40.I user(s)
41] ] [ -v [
42.I printer(s)
43] ]
44.SH DESCRIPTION
45\fBlpstat\fR displays status information about the current classes, jobs, and
46printers. When run with no arguments, \fBlpstat\fR will list jobs queued by
47the user. Other options include:
48.TP 5
1c9e0181 49\-E
50.br
51Forces encryption when connecting to the server.
52.TP 5
771e5703 53\-a [\fIprinter(s)\fR]
54.br
55Shows the accepting state of printer queues. If no printers are
56specified then all printers are listed.
57.TP 5
58\-c [\fIclass(es)\fR]
59.br
60Shows the printer classes and the printers that belong to them. If no
61classes are specified then all classes are listed.
62.TP 5
63\-d
64.br
65Shows the current default destination.
66.TP 5
67\-h \fIserver\fR
68.br
69Specifies the CUPS server to communicate with.
70.TP 5
e0244bf5 71\-l
72.br
73Shows a long listing of printers, classes, or jobs.
74.TP 5
771e5703 75\-o [\fIdestination(s)\fR]
76.br
77Shows the jobs queue on the specified destinations. If no destinations are
78specified all jobs are shown.
79.TP 5
80\-p [\fIprinter(s)\fR]
81.br
82Shows the printers and whether or not they are enabled for printing. If
83no printers are specified then all printers are listed.
84.TP 5
85\-r
86.br
87Shows whether or not the CUPS server is running.
88.TP 5
e0244bf5 89\-R
90.br
91Shows the ranking of print jobs.
92.TP 5
771e5703 93\-s
94.br
2e9f3b68 95Shows a status summary, including the default destination, a
771e5703 96list of classes and their member printers, and a list of printers and
97their associated devices. This is equivalent to using the "-d", "-c",
98and "-p" options.
99.TP 5
100\-t
101.br
102Shows all status information. This is equivalent to using the "-r",
103"-d", "-c", "-d", "-v", "-a", "-p", and "-o" options.
104.TP 5
105\-u [\fIuser(s)\fR]
106.br
107Shows a list of print jobs queued by the specified users. If no users
108are specified, lists the jobs queued by the current user.
109.TP 5
110\-v [\fIprinter(s)\fR]
111.br
112Shows the printers and what device they are attached to. If no printers
113are specified then all printers are listed.
114.SH COMPATIBILITY
115Unlike the System V printing system, CUPS allows printer names to contain
116any printable character except SPACE and TAB. Also, printer and class names are
117\fBnot\fR case-sensitive.
118.LP
119The "-h" option is not a standard System V option.
e0244bf5 120.LP
121The Solaris "-f", "-P", and "-S" options are silently ignored.
771e5703 122.SH SEE ALSO
123cancel(1), lp(1),
85e7af89 124CUPS Software Users Manual,
125http://localhost:631/documentation.html
771e5703 126.SH COPYRIGHT
839c43aa 127Copyright 1993-2002 by Easy Software Products, All Rights Reserved.
771e5703 128.\"
2e9f3b68 129.\" End of "$Id: lpstat.man,v 1.5.2.2 2002/08/22 17:14:43 mike Exp $".
771e5703 130.\"