1lpstat(1)                         Apple Inc.                         lpstat(1)
2
3
4

NAME

6       lpstat - print cups status information
7

SYNOPSIS

9       lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W
10       which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ] [ -e
11       ]  [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ]
12       [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ]
13

DESCRIPTION

15       lpstat displays status information about the current classes, jobs, and
16       printers.   When  run  with  no arguments, lpstat will list active jobs
17       queued by the current user.
18

OPTIONS

20       The lpstat command supports the following options:
21
22       -E   Forces encryption when connecting to the server.
23
24       -H   Shows the server hostname and port.
25
26       -R   Shows the ranking of print jobs.
27
28       -U username
29            Specifies an alternate username.
30
31       -W which-jobs
32            Specifies which jobs to show, "completed" or "not-completed"  (the
33            default).  This option must appear before the -o option and/or any
34            printer names, otherwise the default ("not-completed") value  will
35            be used in the request to the scheduler.
36
37       -a [printer(s)]
38            Shows  the  accepting state of printer queues.  If no printers are
39            specified then all printers are listed.
40
41       -c [class(es)]
42            Shows the printer classes and the printers that  belong  to  them.
43            If no classes are specified then all classes are listed.
44
45       -d   Shows the current default destination.
46
47       -e   Shows all available destinations on the local network.
48
49       -h server[:port]
50            Specifies an alternate server.
51
52       -l   Shows a long listing of printers, classes, or jobs.
53
54       -o [destination(s)]
55            Shows the jobs queued on the specified destinations.  If no desti‐
56            nations are specified all jobs are shown.
57
58       -p [printer(s)]
59            Shows the printers and whether they are enabled for printing.   If
60            no printers are specified then all printers are listed.
61
62       -r   Shows whether the CUPS server is running.
63
64       -s   Shows  a status summary, including the default destination, a list
65            of classes and their member printers, and a list of  printers  and
66            their associated devices.  This is equivalent to using the -d, -c,
67            and -v options.
68
69       -t   Shows all status information.  This is equivalent to using the -r,
70            -d, -c, -v, -a, -p, and -o options.
71
72       -u [user(s)]
73            Shows  a  list of print jobs queued by the specified users.  If no
74            users are specified, lists the jobs queued by the current user.
75
76       -v [printer(s)]
77            Shows the printers and what device they are attached  to.   If  no
78            printers are specified then all printers are listed.
79

CONFORMING TO

81       Unlike  the System V printing system, CUPS allows printer names to con‐
82       tain any printable character except SPACE, TAB, "/",  and  "#".   Also,
83       printer and class names are not case-sensitive.
84
85       The -h, -e, -E, -U, and -W options are unique to CUPS.
86
87       The Solaris -f, -P, and -S options are silently ignored.
88

SEE ALSO

90       cancel(1),   lp(1),   lpq(1),   lpr(1),   lprm(1),   CUPS  Online  Help
91       (http://localhost:631/help)
92
94       Copyright © 2007-2017 by Apple Inc.
95
96
97
9826 May 2017                          CUPS                            lpstat(1)
Impressum