lpstat(1) Apple Inc. lpstat(1)NAMElpstat - print cups status information
SYNOPSISlpstat [ -E ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-
jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ] [ -o [
destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [
-u [ user(s) ] ] [ -v [ printer(s) ] ]
DESCRIPTIONlpstat displays status information about the current classes, jobs, and
printers. When run with no arguments, lpstat will list jobs queued by
the current user.
The lpstat command supports the following options:
Forces encryption when connecting to the server.
Shows the ranking of print jobs.
Specifies an alternate username.
Specifies which jobs to show, completed or not-completed (the
default). This option must appear before the -o option and/or any
printer names, otherwise the default (not-completed) value will be
used in the request to the scheduler.
Shows the accepting state of printer queues. If no printers are
specified then all printers are listed.
Shows the printer classes and the printers that belong to them.
If no classes are specified then all classes are listed.
Shows the current default destination.
Specifies an alternate server.
Shows a long listing of printers, classes, or jobs.
Shows the jobs queue on the specified destinations. If no destina‐
tions are specified all jobs are shown.
Shows the printers and whether or not they are enabled for print‐
ing. If no printers are specified then all printers are listed.
Shows whether the CUPS server is running.
Shows a status summary, including the default destination, a list
of classes and their member printers, and a list of printers and
their associated devices. This is equivalent to using the "-d",
"-c", and "-v" options.
Shows all status information. This is equivalent to using the
"-r", "-d", "-c", "-v", "-a", "-p", and "-o" options.
Shows a list of print jobs queued by the specified users. If no
users are specified, lists the jobs queued by the current user.
Shows the printers and what device they are attached to. If no
printers are specified then all printers are listed.
Unlike the System V printing system, CUPS allows printer names to con‐
tain any printable character except SPACE, TAB, "/", and "#". Also,
printer and class names are not case-sensitive.
The "-h", "-E", "-U", and "-W" options are unique to CUPS.
The Solaris "-f", "-P", and "-S" options are silently ignored.
SEE ALSOcancel(1), lp(1),
Copyright 2007 by Apple Inc.
23 March 2006 Common UNIX Printing System lpstat(1)