xref: /freebsd/share/man/man4/ulpt.4 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
18b97f354STom Rhodes.\" $NetBSD: ulpt.4,v 1.6 2002/02/05 00:37:48 augustss Exp $
28b97f354STom Rhodes.\"
38b97f354STom Rhodes.\" Copyright (c) 1999 The NetBSD Foundation, Inc.
48b97f354STom Rhodes.\" All rights reserved.
58b97f354STom Rhodes.\"
68b97f354STom Rhodes.\" This code is derived from software contributed to The NetBSD Foundation
78b97f354STom Rhodes.\" by Lennart Augustsson.
88b97f354STom Rhodes.\"
98b97f354STom Rhodes.\" Redistribution and use in source and binary forms, with or without
108b97f354STom Rhodes.\" modification, are permitted provided that the following conditions
118b97f354STom Rhodes.\" are met:
128b97f354STom Rhodes.\" 1. Redistributions of source code must retain the above copyright
138b97f354STom Rhodes.\"    notice, this list of conditions and the following disclaimer.
148b97f354STom Rhodes.\" 2. Redistributions in binary form must reproduce the above copyright
158b97f354STom Rhodes.\"    notice, this list of conditions and the following disclaimer in the
168b97f354STom Rhodes.\"    documentation and/or other materials provided with the distribution.
178b97f354STom Rhodes.\"
188b97f354STom Rhodes.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
198b97f354STom Rhodes.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
208b97f354STom Rhodes.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
218b97f354STom Rhodes.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
228b97f354STom Rhodes.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
238b97f354STom Rhodes.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
248b97f354STom Rhodes.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
258b97f354STom Rhodes.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
268b97f354STom Rhodes.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
278b97f354STom Rhodes.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
288b97f354STom Rhodes.\" POSSIBILITY OF SUCH DAMAGE.
298b97f354STom Rhodes.\"
300a771a3bSChristian Brueffer.Dd November 22, 2006
318b97f354STom Rhodes.Dt ULPT 4
328b97f354STom Rhodes.Os
338b97f354STom Rhodes.Sh NAME
348b97f354STom Rhodes.Nm ulpt
358b97f354STom Rhodes.Nd USB printer support
368b97f354STom Rhodes.Sh SYNOPSIS
370a771a3bSChristian BruefferTo compile this driver into the kernel,
380a771a3bSChristian Bruefferplace the following line in your
390a771a3bSChristian Bruefferkernel configuration file:
400a771a3bSChristian Brueffer.Bd -ragged -offset indent
41fc1a4ecfSWarner Losh.Cd "device ulpt"
420a771a3bSChristian Brueffer.Ed
430a771a3bSChristian Brueffer.Pp
440a771a3bSChristian BruefferAlternatively, to load the driver as a
450a771a3bSChristian Brueffermodule at boot time, place the following line in
460a771a3bSChristian Brueffer.Xr loader.conf 5 :
470a771a3bSChristian Brueffer.Bd -literal -offset indent
480a771a3bSChristian Bruefferulpt_load="YES"
490a771a3bSChristian Brueffer.Ed
508b97f354STom Rhodes.Sh DESCRIPTION
518b97f354STom RhodesThe
528b97f354STom Rhodes.Nm
538b97f354STom Rhodesdriver provides support for USB printers that follow the printer
548b97f354STom Rhodesbi- or uni-directional protocol.
558b97f354STom RhodesThe bits in the minor number select various features of the driver.
568b97f354STom Rhodes.Bl -column "Minor Bit" "Functionxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -offset indent
5786d20255SJoel Dahl.It Em "Minor Bit" Ta Em "Function"
5886d20255SJoel Dahl.It "64" Ta "Do not initialize (reset) the device on the port."
598b97f354STom Rhodes.El
608b97f354STom Rhodes.Pp
618b97f354STom RhodesSome printers cannot handle the reset on open; in case of problems try the
62ed2e6e11SStefan Eßer.Pa unlpt
638b97f354STom Rhodesdevice.
6413c133acSSimon L. B. Nielsen.Sh HARDWARE
6513c133acSSimon L. B. NielsenThe
6613c133acSSimon L. B. Nielsen.Nm
6713c133acSSimon L. B. Nielsendriver provides support for USB printers and parallel printer
6813c133acSSimon L. B. Nielsenconversion cables, including the following:
6913c133acSSimon L. B. Nielsen.Pp
7013c133acSSimon L. B. Nielsen.Bl -bullet -compact
7113c133acSSimon L. B. Nielsen.It
7213c133acSSimon L. B. NielsenATen parallel printer adapter
7313c133acSSimon L. B. Nielsen.It
7413c133acSSimon L. B. NielsenBelkin F5U002 parallel printer adapter
7513c133acSSimon L. B. Nielsen.It
7613c133acSSimon L. B. NielsenCanon BJ F850, S600
7713c133acSSimon L. B. Nielsen.It
7813c133acSSimon L. B. NielsenCanon LBP-1310, 350
7913c133acSSimon L. B. Nielsen.It
8013c133acSSimon L. B. NielsenEntrega USB-to-parallel printer adapter
8113c133acSSimon L. B. Nielsen.It
8213c133acSSimon L. B. NielsenHewlett-Packard HP Deskjet 3420 (P/N: C8947A #ABJ)
8313c133acSSimon L. B. Nielsen.It
8413c133acSSimon L. B. NielsenOki Data MICROLINE ML660PS
8513c133acSSimon L. B. Nielsen.It
8613c133acSSimon L. B. NielsenSeiko Epson PM-900C, 880C, 820C, 730C
8713c133acSSimon L. B. Nielsen.El
888b97f354STom Rhodes.Sh FILES
890c8f6207SStefan Eßer.Bl -tag -width ".Pa /dev/unlpt?" -compact
908b97f354STom Rhodes.It Pa /dev/ulpt?
918b97f354STom Rhodesdevice with reset
92ed2e6e11SStefan Eßer.It Pa /dev/unlpt?
938b97f354STom Rhodesdevice without reset
948b97f354STom Rhodes.El
958b97f354STom Rhodes.Sh SEE ALSO
968b97f354STom Rhodes.Xr lpt 4 ,
978b97f354STom Rhodes.Xr usb 4
988b97f354STom Rhodes.Sh HISTORY
998b97f354STom RhodesThe
1008b97f354STom Rhodes.Nm
1018b97f354STom Rhodesdriver
1028b97f354STom Rhodesappeared in
1038b97f354STom Rhodes.Nx 1.4 .
1048b97f354STom RhodesThis manual page was adopted from
1058b97f354STom Rhodes.Nx
106706b6f9fSRuslan Ermilovby
107*6c899950SBaptiste Daroussin.An Tom Rhodes Aq Mt trhodes@FreeBSD.org
1088b97f354STom Rhodesin April 2002.
109