gdb - Local mods (compile)
[dragonfly.git] / share / man / man4 / ulpt.4
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 .\" $FreeBSD: head/share/man/man4/ulpt.4 235326 2012-05-12 07:01:21Z joel $
31 .\"
32 .Dd November 22, 2006
33 .Dt ULPT 4
34 .Os
35 .Sh NAME
36 .Nm ulpt
37 .Nd USB printer support
38 .Sh SYNOPSIS
39 To compile this driver into the kernel,
40 place the following line in your
41 kernel configuration file:
42 .Bd -ragged -offset indent
43 .Cd "device ulpt"
44 .Ed
45 .Pp
46 Alternatively, to load the driver as a
47 module at boot time, place the following line in
48 .Xr loader.conf 5 :
49 .Bd -literal -offset indent
50 ulpt_load="YES"
51 .Ed
52 .Sh DESCRIPTION
53 The
54 .Nm
55 driver provides support for USB printers that follow the printer
56 bi- or uni-directional protocol.
57 The bits in the minor number select various features of the driver.
58 .Bl -column "Minor Bit" "Functionxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -offset indent
59 .It Em "Minor Bit" Ta Em "Function"
60 .It "64" Ta "Do not initialize (reset) the device on the port."
61 .El
62 .Pp
63 Some printers cannot handle the reset on open; in case of problems try the
64 .Pa unlpt
65 device.
66 .Sh HARDWARE
67 The
68 .Nm
69 driver provides support for USB printers and parallel printer
70 conversion cables, including the following:
71 .Pp
72 .Bl -bullet -compact
73 .It
74 ATen parallel printer adapter
75 .It
76 Belkin F5U002 parallel printer adapter
77 .It
78 Canon BJ F850, S600
79 .It
80 Canon LBP-1310, 350
81 .It
82 Entrega USB-to-parallel printer adapter
83 .It
84 Hewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ)
85 .It
86 Oki Data MICROLINE ML660PS
87 .It
88 Seiko Epson PM-900C, 880C, 820C, 730C
89 .El
90 .Sh FILES
91 .Bl -tag -width ".Pa /dev/unlpt?" -compact
92 .It Pa /dev/ulpt?
93 device with reset
94 .It Pa /dev/unlpt?
95 device without reset
96 .El
97 .Sh SEE ALSO
98 .Xr lpt 4 ,
99 .Xr usb 4
100 .Sh HISTORY
101 The
102 .Nm
103 driver
104 appeared in
105 .Nx 1.4 .
106 This manual page was adopted from
107 .Nx
108 by
109 .An Tom Rhodes Aq Mt trhodes@FreeBSD.org
110 in April 2002.