xref: /freebsd/share/man/man4/ulpt.4 (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
1.\" $NetBSD: ulpt.4,v 1.6 2002/02/05 00:37:48 augustss Exp $
2.\"
3.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
4.\" All rights reserved.
5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Lennart Augustsson.
8.\"
9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions
11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright
13.\"    notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright
15.\"    notice, this list of conditions and the following disclaimer in the
16.\"    documentation and/or other materials provided with the distribution.
17.\"
18.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28.\" POSSIBILITY OF SUCH DAMAGE.
29.\"
30.Dd November 22, 2006
31.Dt ULPT 4
32.Os
33.Sh NAME
34.Nm ulpt
35.Nd USB printer support
36.Sh SYNOPSIS
37To compile this driver into the kernel,
38place the following line in your
39kernel configuration file:
40.Bd -ragged -offset indent
41.Cd "device ulpt"
42.Ed
43.Pp
44Alternatively, to load the driver as a
45module at boot time, place the following line in
46.Xr loader.conf 5 :
47.Bd -literal -offset indent
48ulpt_load="YES"
49.Ed
50.Sh DESCRIPTION
51The
52.Nm
53driver provides support for USB printers that follow the printer
54bi- or uni-directional protocol.
55The bits in the minor number select various features of the driver.
56.Bl -column "Minor Bit" "Functionxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -offset indent
57.It Em "Minor Bit" Ta Em "Function"
58.It "64" Ta "Do not initialize (reset) the device on the port."
59.El
60.Pp
61Some printers cannot handle the reset on open; in case of problems try the
62.Pa unlpt
63device.
64.Sh HARDWARE
65The
66.Nm
67driver provides support for USB printers and parallel printer
68conversion cables, including the following:
69.Pp
70.Bl -bullet -compact
71.It
72ATen parallel printer adapter
73.It
74Belkin F5U002 parallel printer adapter
75.It
76Canon BJ F850, S600
77.It
78Canon LBP-1310, 350
79.It
80Entrega USB-to-parallel printer adapter
81.It
82Hewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ)
83.It
84Oki Data MICROLINE ML660PS
85.It
86Seiko Epson PM-900C, 880C, 820C, 730C
87.El
88.Sh FILES
89.Bl -tag -width ".Pa /dev/unlpt?" -compact
90.It Pa /dev/ulpt?
91device with reset
92.It Pa /dev/unlpt?
93device without reset
94.El
95.Sh SEE ALSO
96.Xr lpt 4 ,
97.Xr usb 4
98.Sh HISTORY
99The
100.Nm
101driver
102appeared in
103.Nx 1.4 .
104This manual page was adopted from
105.Nx
106by
107.An Tom Rhodes Aq Mt trhodes@FreeBSD.org
108in April 2002.
109