Blame man/lpstat.man

Packit Service 4ae4ad
.\"
Packit Service 4ae4ad
.\" lpstat man page for CUPS.
Packit Service 4ae4ad
.\"
Packit Service 4ae4ad
.\" Copyright 2007-2017 by Apple Inc.
Packit Service 4ae4ad
.\" Copyright 1997-2006 by Easy Software Products.
Packit Service 4ae4ad
.\"
Packit Service 4ae4ad
.\" These coded instructions, statements, and computer programs are the
Packit Service 4ae4ad
.\" property of Apple Inc. and are protected by Federal copyright
Packit Service 4ae4ad
.\" law.  Distribution and use rights are outlined in the file "LICENSE.txt"
Packit Service 4ae4ad
.\" which should have been included with this file.  If this file is
Packit Service 4ae4ad
.\" file is missing or damaged, see the license at "http://www.cups.org/".
Packit Service 4ae4ad
.\"
Packit Service 4ae4ad
.TH lpstat 1 "CUPS" "26 May 2017" "Apple Inc."
Packit Service 4ae4ad
.SH NAME
Packit Service 4ae4ad
lpstat \- print cups status information
Packit Service 4ae4ad
.SH SYNOPSIS
Packit Service 4ae4ad
.B lpstat
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.B \-E
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-H
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-U
Packit Service 4ae4ad
.I username
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
\fB\-h \fIhostname\fR[\fB:\fIport\fR]
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-l
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-W
Packit Service 4ae4ad
.I which-jobs
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-a
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.I destination(s)
Packit Service 4ae4ad
] ] [
Packit Service 4ae4ad
.B \-c
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.I class(es)
Packit Service 4ae4ad
] ] [
Packit Service 4ae4ad
.B \-d
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-e
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-o
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.I destination(s)
Packit Service 4ae4ad
] ] [
Packit Service 4ae4ad
.B \-p
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.I printer(s)
Packit Service 4ae4ad
] ] [
Packit Service 4ae4ad
.B \-r
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-R
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-s
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-t
Packit Service 4ae4ad
] [
Packit Service 4ae4ad
.B \-u
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.I user(s)
Packit Service 4ae4ad
] ] [
Packit Service 4ae4ad
.B \-v
Packit Service 4ae4ad
[
Packit Service 4ae4ad
.I printer(s)
Packit Service 4ae4ad
] ]
Packit Service 4ae4ad
.SH DESCRIPTION
Packit Service 4ae4ad
\fBlpstat\fR displays status information about the current classes, jobs, and printers.
Packit Service 4ae4ad
When run with no arguments, \fBlpstat\fR will list active jobs queued by the current user.
Packit Service 4ae4ad
.SH OPTIONS
Packit Service 4ae4ad
The \fBlpstat\fR command supports the following options:
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-E
Packit Service 4ae4ad
Forces encryption when connecting to the server.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-H
Packit Service 4ae4ad
Shows the server hostname and port.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-R
Packit Service 4ae4ad
Shows the ranking of print jobs.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-U \fIusername\fR
Packit Service 4ae4ad
Specifies an alternate username.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-W \fIwhich-jobs\fR
Packit Service 4ae4ad
Specifies which jobs to show, "completed" or "not-completed" (the default).
Packit Service 4ae4ad
This option \fImust\fR appear before the \fI-o\fR option and/or any printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-a \fR[\fIprinter(s)\fR]
Packit Service 4ae4ad
Shows the accepting state of printer queues.
Packit Service 4ae4ad
If no printers are specified then all printers are listed.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-c \fR[\fIclass(es)\fR]
Packit Service 4ae4ad
Shows the printer classes and the printers that belong to them.
Packit Service 4ae4ad
If no classes are specified then all classes are listed.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-d
Packit Service 4ae4ad
Shows the current default destination.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-e
Packit Service 4ae4ad
Shows all available destinations on the local network.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-h \fIserver\fR[\fB:\fIport\fR]
Packit Service 4ae4ad
Specifies an alternate server.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-l
Packit Service 4ae4ad
Shows a long listing of printers, classes, or jobs.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-o \fR[\fIdestination(s)\fR]
Packit Service 4ae4ad
Shows the jobs queued on the specified destinations.
Packit Service 4ae4ad
If no destinations are specified all jobs are shown.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-p \fR[\fIprinter(s)\fR]
Packit Service 4ae4ad
Shows the printers and whether they are enabled for printing.
Packit Service 4ae4ad
If no printers are specified then all printers are listed.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-r
Packit Service 4ae4ad
Shows whether the CUPS server is running.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-s
Packit Service 4ae4ad
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.
Packit Service 4ae4ad
This is equivalent to using the \fI\-d\fR, \fI\-c\fR, and \fI\-v\fR options.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
.B \-t
Packit Service 4ae4ad
Shows all status information.
Packit Service 4ae4ad
This is equivalent to using the \fI\-r\fR, \fI\-d\fR, \fI\-c\fR, \fI\-v\fR, \fI\-a\fR, \fI\-p\fR, and \fI\-o\fR options.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-u \fR[\fIuser(s)\fR]
Packit Service 4ae4ad
Shows a list of print jobs queued by the specified users.
Packit Service 4ae4ad
If no users are specified, lists the jobs queued by the current user.
Packit Service 4ae4ad
.TP 5
Packit Service 4ae4ad
\fB\-v \fR[\fIprinter(s)\fR]
Packit Service 4ae4ad
Shows the printers and what device they are attached to.
Packit Service 4ae4ad
If no printers are specified then all printers are listed.
Packit Service 4ae4ad
.SH CONFORMING TO
Packit Service 4ae4ad
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#".
Packit Service 4ae4ad
Also, printer and class names are \fInot\fR case-sensitive.
Packit Service 4ae4ad
.LP
Packit Service 4ae4ad
The \fI\-h\fR, \fI-e\fR, \fI\-E\fR, \fI\-U\fR, and \fI\-W\fR options are unique to CUPS.
Packit Service 4ae4ad
.LP
Packit Service 4ae4ad
The Solaris \fI\-f\fR, \fI\-P\fR, and \fI\-S\fR options are silently ignored.
Packit Service 4ae4ad
.SH SEE ALSO
Packit Service 4ae4ad
.BR cancel (1),
Packit Service 4ae4ad
.BR lp (1),
Packit Service 4ae4ad
.BR lpq (1),
Packit Service 4ae4ad
.BR lpr (1),
Packit Service 4ae4ad
.BR lprm (1),
Packit Service 4ae4ad
CUPS Online Help (http://localhost:631/help)
Packit Service 4ae4ad
.SH COPYRIGHT
Packit Service 4ae4ad
Copyright \[co] 2007-2017 by Apple Inc.