summaryrefslogtreecommitdiff
path: root/usr/src/man/man7d/usbprn.7d
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man7d/usbprn.7d')
-rw-r--r--usr/src/man/man7d/usbprn.7d16
1 files changed, 2 insertions, 14 deletions
diff --git a/usr/src/man/man7d/usbprn.7d b/usr/src/man/man7d/usbprn.7d
index 5fe69f2b4f..017e648cd7 100644
--- a/usr/src/man/man7d/usbprn.7d
+++ b/usr/src/man/man7d/usbprn.7d
@@ -3,7 +3,7 @@
.\" 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 USBPRN 7D "Jun 18, 2005"
+.TH USBPRN 7D "April 9, 2016"
.SH NAME
usbprn \- USB printer class driver
.SH SYNOPSIS
@@ -23,7 +23,6 @@ usbprn@unit-address
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBusbprn\fR driver is a USBA (Solaris USB Architecture) compliant client
driver that supports the \fIUSB Printer Class 1.0\fR specification. The
@@ -43,11 +42,10 @@ additional format conversion packages available in the Solaris distribution.
Configuration of these conversion packages under the Solaris printing system
can be simplified through the use of the \fBprintmgr\fR(1M). This tool allows
selection of printer manufacturer/model information while creating a print
-queue. For USB connected printers, it attempts to pre-select the the
+queue. For USB connected printers, it attempts to pre-select the
manufacturer and model information based on the 1284 device id supplied by the
printer.
.SS "UGEN (Generic USB)"
-.sp
.LP
The \fBusbprn\fR driver also supports a \fBugen\fR(7D) interface allowing raw
access to the device, for example by \fBlibusb\fR(3LIB) applications, by
@@ -55,7 +53,6 @@ passing the drivers bound to each interface. Because a libusb application might
change the state of the device, you should not access the device through the
child interface drivers.
.SH DEFAULT OPERATION
-.sp
.LP
With certain minor exceptions (outlined in the Notes sections below), the
\fBusbprn\fR driver supports a subset of the \fBecpp\fR(7D) ioctl interfaces:
@@ -78,7 +75,6 @@ to their default values with each \fBattach\fR(9E). (The \fBecpp\fR(7D) driver
resets configuration variables with each \fBopen\fR(2).)
.RE
.SH WRITE OPERATION
-.sp
.LP
A \fBwrite\fR(2) operation returns the number of bytes successfully written to
the device. If a failure occurs while a driver is transferring data to printer,
@@ -87,7 +83,6 @@ be retrieved by the application program using the ECPPIOC_GETERR \fBioctl\fR(2)
call. The captured status information is overwritten each time an
ECPPIOC_TESTIO \fBioctl\fR(2) occurs.
.SH IOCTLS
-.sp
.LP
The \fBusbprn\fR driver supports \fBprnio(7I)\fR interfaces. Note that the
\fBPRNIOC_RESET\fR command has no effect on USB printers.
@@ -250,11 +245,9 @@ Unlike \fBecpp\fR(7D), only the ECPP_CENTRONICS mode is currently supported in
.RE
.SH READ OPERATION
-.sp
.LP
The \fBread\fR operation is not supported and returns \fBEIO\fR.
.SH ERRORS
-.sp
.ne 2
.na
\fB\fBEBUSY\fR\fR
@@ -318,7 +311,6 @@ other than ECPP_CENTRONICS in the \fBecpp_transfer_parms\fR structure.
.RE
.SH FILES
-.sp
.ne 2
.na
\fB\fB/kernel/drv/usbprn\fR\fR
@@ -364,7 +356,6 @@ Character special files
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -380,7 +371,6 @@ Architecture SPARC, x86, PCI-based systems
.TE
.SH SEE ALSO
-.sp
.LP
\fBcfgadm_usb\fR(1M), \fBprintmgr\fR(1M), \fBioctl\fR(2), \fBopen\fR(2),
\fBread\fR(2), \fBwrite\fR(2), \fBlibusb\fR(3LIB), \fBattributes\fR(5),
@@ -402,7 +392,6 @@ Architecture SPARC, x86, PCI-based systems
.LP
http://\fIwww.sun.com/io\fR
.SH DIAGNOSTICS
-.sp
.LP
In addition to being logged, the following messages may appear on the system
console. All messages are formatted in the following manner:
@@ -462,7 +451,6 @@ to the hot-removal may be lost.
.RE
.SH NOTES
-.sp
.LP
The USB printer will be power managed if the device is closed.
.sp