Print this page
11622 clean up rarer mandoc lint warnings
*** 6,23 ****
.\" 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 PRNIO 7I "Jan 2, 2002"
.SH NAME
prnio \- generic printer interface
.SH SYNOPSIS
- .LP
.nf
\fB#include <sys/prnio.h>\fR
.fi
.SH DESCRIPTION
- .sp
- .LP
The \fBprnio\fR generic printer interface defines ioctl commands and data
structures for printer device drivers.
.sp
.LP
\fBprnio\fR defines and provides facilities for five basic phases of the
--- 6,20 ----
*** 82,92 ****
.LP
The Abort phase is accomplished by interrupting the \fBwrite\fR(2) and
\fBread\fR(2) system calls. The application can perform some additional cleanup
during the Abort phase as described in \fBPRNIOC_GET_IFCAP\fR section.
.SH IOCTLS
- .sp
.ne 2
.na
\fB\fBPRNIOC_GET_IFCAP\fR\fR
.ad
.RS 21n
--- 79,88 ----
*** 269,279 ****
This command can be used by applications to retrieve current device status. The
argument is a pointer to \fBuint_t\fR, where the status word is returned.
Status is a combination of the following bits:
.RE
- .br
.in +2
\fBPRN_ONLINE\fR - For devices that support \fBPRN_HOTPLUG\fR capability,
this bit is set when the device is online, otherwise the device is offline.
Devices without \fBPRN_HOTPLUG\fR support should always have this bit set.
.in -2
--- 265,274 ----
*** 345,356 ****
\fBPRNIOC_GET_TIMEOUTS\fR for description of this structure. This command is
only valid for drivers that support \fBPRN_TIMEOUTS\fR capability.
.RE
.SH ATTRIBUTES
- .sp
- .LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
--- 340,349 ----
*** 363,374 ****
_
Interface Stability Evolving
.TE
.SH SEE ALSO
- .sp
- .LP
\fBclose\fR(2), \fBioctl\fR(2), \fBread\fR(2), \fBwrite\fR(2),
\fBattributes\fR(5), \fBecpp\fR(7D), \fBusbprn\fR(7D), \fBlp\fR(7D)
.sp
.LP
\fIIEEE Std 1284-1994\fR
--- 356,365 ----