summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/lpstat.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/lpstat.1')
-rw-r--r--usr/src/man/man1/lpstat.169
1 files changed, 8 insertions, 61 deletions
diff --git a/usr/src/man/man1/lpstat.1 b/usr/src/man/man1/lpstat.1
index 36c086b859..b5473114a0 100644
--- a/usr/src/man/man1/lpstat.1
+++ b/usr/src/man/man1/lpstat.1
@@ -10,14 +10,14 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.
.\" See the License for the specific language governing permissions and limitations under the License. When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with
.\" the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH lpstat 1 "3 Aug 2009" "SunOS 5.11" "User Commands"
+.TH LPSTAT 1 "Aug 3, 2009"
.SH NAME
lpstat \- print information about the status of the print service
.SH SYNOPSIS
.LP
.nf
-\fBlpstat\fR [\fB-d\fR] [\fB-r\fR] [\fB-R\fR] [\fB-s\fR] [\fB-t\fR] [\fB-a\fR [\fIlist\fR]] [\fB-c\fR [\fIlist\fR]]
- [\fB-f\fR [\fIlist\fR]] [\fB-o\fR [\fIlist\fR]] [\fB-p\fR [\fIlist\fR] [\fB-D\fR]] [\fB-S\fR [\fIlist\fR]]
+\fBlpstat\fR [\fB-d\fR] [\fB-r\fR] [\fB-R\fR] [\fB-s\fR] [\fB-t\fR] [\fB-a\fR [\fIlist\fR]] [\fB-c\fR [\fIlist\fR]]
+ [\fB-f\fR [\fIlist\fR]] [\fB-o\fR [\fIlist\fR]] [\fB-p\fR [\fIlist\fR] [\fB-D\fR]] [\fB-S\fR [\fIlist\fR]]
[\fB-u\fR [\fIlogin-\fR \fIID\fR \fI-list\fR]] [\fB-v\fR [\fIlist\fR]] [\fB-l\fR \fIlevel\fR]
.fi
@@ -86,12 +86,10 @@ database in the name service switch. See \fBnsswitch.conf\fR(4),
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-a\fR [\fIlist\fR]\fR
.ad
.RS 22n
-.rt
Reports whether print destinations are accepting requests. \fIlist\fR is a list
of intermixed printer names and class names.
.sp
@@ -104,12 +102,10 @@ information.
.sp
.ne 2
-.mk
.na
\fB\fB-c\fR [\fIlist\fR]\fR
.ad
.RS 22n
-.rt
Prints name of all classes and their members. \fIlist\fR is a list of class
names.
.sp
@@ -122,23 +118,19 @@ information.
.sp
.ne 2
-.mk
.na
\fB\fB-d\fR\fR
.ad
.RS 22n
-.rt
Prints the default destination for output requests.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB\fR\fB-f\fR[\fIlist\fR] [\fB-l\fR]\fR
.ad
.RS 22n
-.rt
Prints a verification that the forms in \fIlist\fR are recognized by the
\fBLP\fR print service. \fIlist\fR is a list of forms; the default is
\fBall\fR. The \fB-l\fR option lists the form descriptions.
@@ -152,12 +144,10 @@ information.
.sp
.ne 2
-.mk
.na
\fB\fB-l\fR [\fIlevel\fR]\fR
.ad
.RS 22n
-.rt
Specifies the verbosity level for extended reporting of printer or job objects
(\fB-o\fR, \fB-p\fR, \fB-r\fR, \fB-u\fR). Without this option, a level of
\fB0\fR is used, which reports summary information. When no level is specified,
@@ -173,12 +163,10 @@ information.
.sp
.ne 2
-.mk
.na
\fB\fB-o\fR [\fIlist\fR]\fR
.ad
.RS 22n
-.rt
Prints the status of output requests. \fIlist\fR is a list of intermixed
printer names, class names, and request-IDs. The key letter \fB-o\fR can be
omitted.
@@ -190,12 +178,10 @@ POSIX-style (\fIserver\fR\fB:\fR\fIdestination\fR) names. See
.sp
.ne 2
-.mk
.na
\fB\fB-p\fR [\fIlist\fR] [\fB-D\fR]\fR
.ad
.RS 22n
-.rt
Prints the status of printers. \fIlist\fR is a list of printer names. If the
\fB-D\fR option is given, a brief description is printed for each printer in
\fIlist\fR. If the \fB-l\fR option is given and the printer is on the local
@@ -212,34 +198,28 @@ status.
.sp
.ne 2
-.mk
.na
\fB\fB-r\fR\fR
.ad
.RS 22n
-.rt
Prints the status of the \fBLP\fR request scheduler.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-R\fR\fR
.ad
.RS 22n
-.rt
Prints a number showing the position of each request in the print queue.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-s\fR\fR
.ad
.RS 22n
-.rt
Prints a status summary, including the status of the \fBLP\fR scheduler, the
default destination, a list of printers and their associated devices, a list of
the machines sharing print services, a list of all forms currently mounted, and
@@ -248,12 +228,10 @@ a list of all recognized character sets and print wheels.
.sp
.ne 2
-.mk
.na
\fB\fB-S\fR [\fIlist\fR]\fR
.ad
.RS 22n
-.rt
Prints a verification that the character sets or the print wheels specified in
\fIlist\fR are recognized by the \fBLP\fR print service. Items in \fIlist\fR
can be character sets or print wheels; the default for the list is \fBall\fR.
@@ -271,78 +249,64 @@ information.
.sp
.ne 2
-.mk
.na
\fB\fB-t\fR\fR
.ad
.RS 22n
-.rt
Prints all status information. This includes all the information obtained with
the \fB-s\fR option, plus the acceptance and idle/busy status of all printers.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-u\fR [\fIlogin-ID-list\fR]\fR
.ad
.RS 22n
-.rt
Prints the status of output requests for users. The \fIlogin-ID-list\fR
argument can include any or all of the following constructs:
.sp
.ne 2
-.mk
.na
\fB\fIlogin-ID\fR\fR
.ad
.RS 24n
-.rt
a user on any system
.RE
.sp
.ne 2
-.mk
.na
\fB\fIsystem_name\fR\fB!\fR\fIlogin-ID\fR\fR
.ad
.RS 24n
-.rt
a user on system \fIsystem_name\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fIsystem_name\fR\fB!all\fR\fR
.ad
.RS 24n
-.rt
all users on system \fIsystem_name\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBall!\fR\fIlogin-ID\fR\fR
.ad
.RS 24n
-.rt
a user on all systems
.RE
.sp
.ne 2
-.mk
.na
\fB\fBall\fR\fR
.ad
.RS 24n
-.rt
all users on all systems
.RE
@@ -350,12 +314,10 @@ all users on all systems
.sp
.ne 2
-.mk
.na
\fB\fB-v\fR [\fIlist\fR]\fR
.ad
.RS 22n
-.rt
Prints the names of printers and the path names of the devices associated with
them or remote system names for network printers. \fIlist\fR is a list of
printer names.
@@ -367,79 +329,65 @@ printer names.
The following exit values are returned:
.sp
.ne 2
-.mk
.na
\fB\fB0\fR\fR
.ad
.RS 12n
-.rt
Successful completion.
.RE
.sp
.ne 2
-.mk
.na
\fBnon-zero\fR
.ad
.RS 12n
-.rt
An error occurred.
.RE
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/etc/printers.conf\fR\fR
.ad
.RS 24n
-.rt
System printer configuration database
.RE
.sp
.ne 2
-.mk
.na
\fB\fB$HOME/.printers\fR\fR
.ad
.RS 24n
-.rt
User-configurable printer database
.RE
.sp
.ne 2
-.mk
.na
\fB\fBou=printers\fR\fR
.ad
.RS 24n
-.rt
LDAP version of \fB/etc/printers.conf\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBprinters.conf.byname\fR\fR
.ad
.RS 24n
-.rt
\fBNIS\fR version of \fB/etc/printers.conf\fR
.RE
.sp
.ne 2
-.mk
.na
\fB\fBprinters.org_dir\fR\fR
.ad
.RS 24n
-.rt
\fBNIS+\fR version of \fB/etc/printers.conf\fR
.RE
@@ -451,13 +399,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStandard
+Interface Stability Standard
.TE
.SH SEE ALSO