summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/lpadmin.1m
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2021-07-05 18:51:02 +0100
committerPeter Tribble <peter.tribble@gmail.com>2021-07-06 08:00:46 +0100
commit3a18338393f3485e50eae6288b6a9ab89e9f715a (patch)
treee5b72414175e8adb841c21a67e2dadecb502b5c2 /usr/src/man/man1m/lpadmin.1m
parent88e8a81ba29ce242b8e7eade29af1f3d301ac525 (diff)
downloadillumos-joyent-3a18338393f3485e50eae6288b6a9ab89e9f715a.tar.gz
13890 Some manual pages miss spaces next to formatting
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man1m/lpadmin.1m')
-rw-r--r--usr/src/man/man1m/lpadmin.1m25
1 files changed, 4 insertions, 21 deletions
diff --git a/usr/src/man/man1m/lpadmin.1m b/usr/src/man/man1m/lpadmin.1m
index c509eafe2e..006d0994cf 100644
--- a/usr/src/man/man1m/lpadmin.1m
+++ b/usr/src/man/man1m/lpadmin.1m
@@ -3,11 +3,10 @@
.\" 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 LPADMIN 1M "May 13, 2017"
+.TH LPADMIN 1M "June 20, 2021"
.SH NAME
lpadmin \- configure the LP print service
.SH SYNOPSIS
-.LP
.nf
\fBlpadmin\fR \fB-p\fR \fIprinter\fR {\fIoptions\fR}
.fi
@@ -29,13 +28,11 @@ lpadmin \- configure the LP print service
.fi
.SH DESCRIPTION
-.LP
\fBlpadmin\fR configures the LP print service by defining printers and devices.
It is used to add and change printers, to remove printers from service, to set
or change the system default destination, to define alerts for printer faults,
and to mount print wheels.
.SH OPTIONS
-.LP
The \fBlpadmin\fR command has options for:
.RS +4
.TP
@@ -81,7 +78,6 @@ one,two,three
.in -2
.SS "Adding or Changing a Printer"
-.LP
The first form of the \fBlpadmin\fR command (\fBlpadmin\fR \fB-p\fR
\fIprinter\fR {\fIoptions\fR}) configures a new printer or changes the
configuration of an existing printer. It also starts the print scheduler.
@@ -687,7 +683,7 @@ are generally of the format:
In either case, \fIserver\fR specifies the hostname or IP address of the remote
print server, \fIqueue\fR specifies the name of the print queue on the remote
-print server, and the optional \fB#Solaris\fRspecifies that the remote print
+print server, and the optional \fB#Solaris\fR specifies that the remote print
server is a Solaris server when \fBlpd\fR URI format is being used.
.sp
For example:
@@ -714,7 +710,7 @@ In an environment where the nodename is variable, print queues are invalidated
when the nodename changes. Using \fBlocalhost\fR as the \fIsystem-name\fR
allows print queues to be maintained across changing nodenames. The
\fIsystem-name\fR, as used by the print service, is only set to \fBlocalhost\fR
-when explicitely set with this option; by default, \fBlpadmin\fR sets
+when explicitly set with this option; by default, \fBlpadmin\fR sets
\fIsystem-name\fR to \fInodename\fR. For example, if you want to configure a
new printer on the local system, and want it called \fIprinter3\fR:
.sp
@@ -893,7 +889,6 @@ See the \fBsmbspool\fR man page for details.
.RE
.SS "Removing a Printer Destination"
-.LP
The \fB-x\fR \fIdest\fR option removes the destination \fIdest\fR (a printer or
a class), from the \fBLP\fR print service. If \fIdest\fR is a printer and is
the only member of a class, then the class is deleted, too. If \fIdest\fR is
@@ -903,7 +898,6 @@ local printers and the scheduler is still running, the scheduler is shut down.
.LP
No other \fIoptions\fR are allowed with \fB-x\fR.
.SS "Setting/Changing the System Default Destination"
-.LP
The \fB-d\fR [\fIdest\fR] option makes \fIdest\fR (an existing printer or
class) the new system default destination. If \fIdest\fR is not supplied, then
there is no system default destination. No other \fIoptions\fR are allowed with
@@ -952,7 +946,7 @@ terminals, one is arbitrarily chosen.
Do not send messages for the current condition. An administrator can use this
option to temporarily stop receiving further messages about a known problem.
Once the \fIprint-wheel\fR has been mounted and subsequently unmounted,
-messages are sent againwhen the number of print requests reaches the threshold
+messages are sent again when the number of print requests reaches the threshold
specified by the \fB-Q\fR option.
.RE
@@ -1029,14 +1023,12 @@ anyone submits a print request for the print wheel when it is not mounted.
.RE
.SH PREDEFINED OPTIONS USED WITH THE \fB-o\fR OPTION
-.LP
A number of options, described below, are predefined for use with \fB-o\fR.
These options are used for adjusting printer capabilities, adjusting printer
port characteristics, configuring network printers, and controlling the use of
banner. The \fB-o\fR also supports an arbitrary \fB\fIkeyword\fR=\fIvalue\fR\fR
format, which is referred to below as an undefined option.
.SS "Adjusting Printer Capabilities"
-.LP
The \fBlength\fR, \fBwidth\fR, \fBcpi\fR, and \fBlpi\fR parameters can be used
in conjunction with the \fB-o\fR option to adjust printer capabilities. The
format of the parameters and their values is as follows:
@@ -1082,7 +1074,6 @@ lpadmin -p \fIprintername\fR -o lpi=\fR
.sp
.SS "Adjusting Printer Port Characteristics"
-.LP
You use the \fBstty\fR keyword in conjunction with the o option to adjust
printer port characteristics. The general form of the \fBstty\fR portion of the
command is:
@@ -1126,7 +1117,6 @@ The default can be reset by:
.sp
.SS "Configuring Network Printers"
-.LP
The \fBdest\fR, \fBprotocol\fR, \fBbsdctrl\fR, and \fBtimeout\fR parameters are
used in conjunction with the \fB-o\fR option to configure network printers. The
format of these keywords and their assigned values is as follows:
@@ -1169,7 +1159,6 @@ lpadmin -p \fIprintername\fR -o timeout=
.sp
.SS "Controlling the Use of the Banner Page"
-.LP
Use the following commands to control the use of the banner page:
.sp
.in +2
@@ -1200,7 +1189,6 @@ The fourth command (\fB-o\fR \fBbanner=never\fR) causes a banner page never to
be printed, even if a user specifies \fBlp\fR \fB-o\fR \fBbanner\fR. The root
user can override this command.
.SS "Undefined Options"
-.LP
The \fB-o\fR option supports the use of arbitrary, user-defined options with
the following format:
.sp
@@ -1237,7 +1225,6 @@ Sets boolean values \fBfoo=true | foo=false\fR.
.RE
.SH EXAMPLES
-.LP
In the following examples, \fIprtr\fR can be any name up to 14 characters and
can be the same name as the \fBping\fR(1M) name.
.LP
@@ -1278,7 +1265,6 @@ example# \fBaccept \fIprtr\fR\fR
.sp
.SH EXIT STATUS
-.LP
The following exit values are returned:
.sp
.ne 2
@@ -1335,7 +1321,6 @@ System printer configuration database
.RE
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -1350,7 +1335,6 @@ Interface Stability Obsolete
.TE
.SH SEE ALSO
-.LP
\fBenable\fR(1), \fBlp\fR(1), \fBlpstat\fR(1), \fBmail\fR(1), \fBstty\fR(1),
\fBaccept\fR(1M), \fBlpforms\fR(1M), \fBlpsched\fR(1M), \fBlpsystem\fR(1M),
\fBping\fR(1M), \fBdial\fR(3NSL), \fBterminfo\fR(4), \fBattributes\fR(5)
@@ -1358,7 +1342,6 @@ Interface Stability Obsolete
.LP
\fI\fR
.SH NOTES
-.LP
When using lpadmin to provide access to a remote printer, remote configuration
data is stored in \fB/etc/printers.conf\fR. This data includes a \fBbsdaddr\fR
and a \fBprinter-uri-supported\fR attribute. The data in this file can be