1lpstat(1) Apple Inc. lpstat(1)
2
3
4
6 lpstat - print cups status information
7
9 lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W
10 which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ] [ -o
11 [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ]
12 [ -u [ user(s) ] ] [ -v [ printer(s) ] ]
13
15 lpstat displays status information about the current classes, jobs, and
16 printers. When run with no arguments, lpstat will list jobs queued by
17 the current user.
18
20 The lpstat command supports the following options:
21
22 -E
23 Forces encryption when connecting to the server.
24
25 -H
26 Shows the server hostname and port.
27
28 -R
29 Shows the ranking of print jobs.
30
31 -U username
32 Specifies an alternate username.
33
34 -W which-jobs
35 Specifies which jobs to show, completed or not-completed (the
36 default). This option must appear before the -o option and/or any
37 printer names, otherwise the default (not-completed) value will be
38 used in the request to the scheduler.
39
40 -a [printer(s)]
41 Shows the accepting state of printer queues. If no printers are
42 specified then all printers are listed.
43
44 -c [class(es)]
45 Shows the printer classes and the printers that belong to them.
46 If no classes are specified then all classes are listed.
47
48 -d
49 Shows the current default destination.
50
51 -h server[:port]
52 Specifies an alternate server.
53
54 -l
55 Shows a long listing of printers, classes, or jobs.
56
57 -o [destination(s)]
58 Shows the jobs queue on the specified destinations. If no destina‐
59 tions are specified all jobs are shown.
60
61 -p [printer(s)]
62 Shows the printers and whether or not they are enabled for print‐
63 ing. If no printers are specified then all printers are listed.
64
65 -r
66 Shows whether the CUPS server is running.
67
68 -s
69 Shows a status summary, including the default destination, a list
70 of classes and their member printers, and a list of printers and
71 their associated devices. This is equivalent to using the "-d",
72 "-c", and "-v" options.
73
74 -t
75 Shows all status information. This is equivalent to using the
76 "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options.
77
78 -u [user(s)]
79 Shows a list of print jobs queued by the specified users. If no
80 users are specified, lists the jobs queued by the current user.
81
82 -v [printer(s)]
83 Shows the printers and what device they are attached to. If no
84 printers are specified then all printers are listed.
85
87 Unlike the System V printing system, CUPS allows printer names to con‐
88 tain any printable character except SPACE, TAB, "/", and "#". Also,
89 printer and class names are not case-sensitive.
90
91 The "-h", "-E", "-U", and "-W" options are unique to CUPS.
92
93 The Solaris "-f", "-P", and "-S" options are silently ignored.
94
96 cancel(1), lp(1),
97 http://localhost:631/help
98
100 Copyright 2007-2013 by Apple Inc.
101
102
103
10410 September 2008 CUPS lpstat(1)