xref: /netbsd/share/man/man4/ulpt.4 (revision 9499effd)
1.\" $NetBSD: ulpt.4,v 1.12 2011/09/20 18:58:40 jym 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 May 16, 2009
31.Dt ULPT 4
32.Os
33.Sh NAME
34.Nm ulpt
35.Nd USB printer support
36.Sh SYNOPSIS
37.Cd "ulpt*   at uhub?"
38.Sh DESCRIPTION
39The
40.Nm
41driver provides support for Universal Serial Bus
42.Pq Tn USB
43printers that follow either the
44.Tn USB
45printer uni-directional or bi-directional protocol.
46.Pp
47Additional bits OR-ed in the minor device number with the unit number
48select various features of the driver:
49.Pp
50.Bl -column "Minor Bit" "Functionxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -offset indent
51.It Sy "Minor Bit" Ta Sy Function
52.It 0x40 Ta \&Do not initialize (reset) the device on the port.
53.El
54.Pp
55Some printers cannot handle the reset on open; in case of problems try the
56.Pa ulpn
57device.
58.Sh FILES
59.Bl -tag -width xxxxxxxxxx
60.It Pa /dev/ulpt?
61.Tn USB
62printer with reset on open
63.It Pa /dev/ulpn?
64.Tn USB
65printer without reset on open
66.El
67.Sh SEE ALSO
68.Xr lpt 4 ,
69.Xr usb 4
70.Rs
71.%T USB Device Class Definition for Printing Devices
72.%I USB Implementors Forum
73.%D January 2000
74.%U http://www.usb.org/developers/devclass_docs/usbprint11.pdf
75.Re
76.Sh HISTORY
77The
78.Nm
79driver
80appeared in
81.Nx 1.4 .
82