Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 14:45:01 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Rik Scarborough <RikSca@kc.rr.com>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: USB Printer
Message-ID:  <20020114144501.Q823@k7.mavetju.org>
In-Reply-To: <20020114020716.GA634@gruffy.kc.rr.com>; from RikSca@kc.rr.com on Sun, Jan 13, 2002 at 08:07:16PM -0600
References:  <20020114020716.GA634@gruffy.kc.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 13, 2002 at 08:07:16PM -0600, Rik Scarborough wrote:
> Can FreeBSD use a printer connected via the USB port?  If so, can someone 
> point me to instructions for doing so?

Sure, I have a Epson Stylus 440 here this way.

First you have to enable usb support in the kernel, either via
modules (kldload the modules usb.ko and ulpt.ko) or with compiling
support for it in the kernel (see LINT for this).

Then add it to /etc/printcap:
lp|local epson printer:\
        :sh:\
	:mx#0:\
	:lp=/dev/ulpt0:sd=/var/spool/output/ulpd:lf=/var/log/ulpd-errs:

Make sure /var/spool/output/ulpd exists and (re)start the lpd.
That's all!

Edwin
-- 
Edwin Groothuis   |              Personal website: http://www.MavEtJu.org
edwin@mavetju.org |           Interested in MUDs? Visit Fatal Dimensions:
------------------+                       http://www.FatalDimensions.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114144501.Q823>