2002-04-19 18:18:11 +00:00
|
|
|
.\" $NetBSD: ulpt.4,v 1.6 2002/02/05 00:37:48 augustss Exp $
|
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" This code is derived from software contributed to The NetBSD Foundation
|
|
|
|
.\" by Lennart Augustsson.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
|
|
|
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
|
|
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
|
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
|
|
|
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
|
|
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
|
|
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
|
|
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
|
|
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
|
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
|
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
.\"
|
2002-05-30 12:59:52 +00:00
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2006-11-22 21:30:02 +00:00
|
|
|
.Dd November 22, 2006
|
2002-04-19 18:18:11 +00:00
|
|
|
.Dt ULPT 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm ulpt
|
|
|
|
.Nd USB printer support
|
|
|
|
.Sh SYNOPSIS
|
2006-11-22 21:30:02 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following line in your
|
|
|
|
kernel configuration file:
|
|
|
|
.Bd -ragged -offset indent
|
2004-06-24 05:09:15 +00:00
|
|
|
.Cd "device ulpt"
|
2006-11-22 21:30:02 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
ulpt_load="YES"
|
|
|
|
.Ed
|
2002-04-19 18:18:11 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver provides support for USB printers that follow the printer
|
|
|
|
bi- or uni-directional protocol.
|
|
|
|
The bits in the minor number select various features of the driver.
|
|
|
|
.Bl -column "Minor Bit" "Functionxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -offset indent
|
2012-05-12 07:01:21 +00:00
|
|
|
.It Em "Minor Bit" Ta Em "Function"
|
|
|
|
.It "64" Ta "Do not initialize (reset) the device on the port."
|
2002-04-19 18:18:11 +00:00
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
Some printers cannot handle the reset on open; in case of problems try the
|
2003-09-20 15:13:35 +00:00
|
|
|
.Pa unlpt
|
2002-04-19 18:18:11 +00:00
|
|
|
device.
|
2004-09-26 13:38:38 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver provides support for USB printers and parallel printer
|
|
|
|
conversion cables, including the following:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
ATen parallel printer adapter
|
|
|
|
.It
|
|
|
|
Belkin F5U002 parallel printer adapter
|
|
|
|
.It
|
|
|
|
Canon BJ F850, S600
|
|
|
|
.It
|
|
|
|
Canon LBP-1310, 350
|
|
|
|
.It
|
|
|
|
Entrega USB-to-parallel printer adapter
|
|
|
|
.It
|
|
|
|
Hewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ)
|
|
|
|
.It
|
|
|
|
Oki Data MICROLINE ML660PS
|
|
|
|
.It
|
|
|
|
Seiko Epson PM-900C, 880C, 820C, 730C
|
|
|
|
.El
|
2002-04-19 18:18:11 +00:00
|
|
|
.Sh FILES
|
2003-09-20 15:16:56 +00:00
|
|
|
.Bl -tag -width ".Pa /dev/unlpt?" -compact
|
2002-04-19 18:18:11 +00:00
|
|
|
.It Pa /dev/ulpt?
|
|
|
|
device with reset
|
2003-09-20 15:13:35 +00:00
|
|
|
.It Pa /dev/unlpt?
|
2002-04-19 18:18:11 +00:00
|
|
|
device without reset
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr lpt 4 ,
|
|
|
|
.Xr usb 4
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver
|
|
|
|
appeared in
|
|
|
|
.Nx 1.4 .
|
|
|
|
This manual page was adopted from
|
|
|
|
.Nx
|
2002-05-30 12:59:52 +00:00
|
|
|
by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Tom Rhodes Aq Mt trhodes@FreeBSD.org
|
2002-04-19 18:18:11 +00:00
|
|
|
in April 2002.
|