1lpstat(1)                   Easy Software Products                   lpstat(1)
2
3
4

NAME

6       lpstat - print cups status information
7

SYNOPSIS

9       lpstat [ -E ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-
10       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

DESCRIPTION

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

OPTIONS

20       The lpstat command supports the following options:
21
22       -E
23            Forces encryption when connecting to the server.
24
25       -R
26            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 be
35            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
46            Shows the current default destination.
47
48       -h server[:port]
49            Specifies an alternate server.
50
51       -l
52            Shows a long listing of printers, classes, or jobs.
53
54       -o [destination(s)]
55            Shows the jobs queue on the specified destinations. If no destina‐
56            tions are specified all jobs are shown.
57
58       -p [printer(s)]
59            Shows the printers and whether or not they are enabled for  print‐
60            ing. If no printers are specified then all printers are listed.
61
62       -r
63            Shows whether the CUPS server is running.
64
65       -s
66            Shows  a status summary, including the default destination, a list
67            of classes and their member printers, and a list of  printers  and
68            their  associated  devices.  This is equivalent to using the "-d",
69            "-c", and "-v" options.
70
71       -t
72            Shows all status information. This  is  equivalent  to  using  the
73            "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options.
74
75       -u [user(s)]
76            Shows  a  list  of print jobs queued by the specified users. If no
77            users are specified, lists the jobs queued by the current user.
78
79       -v [printer(s)]
80            Shows the printers and what device they are  attached  to.  If  no
81            printers are specified then all printers are listed.
82

COMPATIBILITY

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

SEE ALSO

93       cancel(1), lp(1),
94       http://localhost:631/help
95
97       Copyright 1997-2006 by Easy Software Products, All Rights Reserved.
98
99
100
10123 March 2006             Common UNIX Printing System                lpstat(1)
Impressum