Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Nov 2003 21:02:11 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Alex Kelly <alexkelly@adelphia.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Newbie USB Printer Problem
Message-ID:  <20031108205519.G12777@wonkity.com>
In-Reply-To: <200311081944.48496.alexkelly@adelphia.net>
References:  <200311081944.48496.alexkelly@adelphia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Nov 2003, Alex Kelly wrote:

> I cannot get my HP Deskjet 3420 printer to work. I've read all the prior posts
> for USB printers, checked the handbook and the complete freebsd book. After
> doing so, I've come up with this...
>
> I edited printcap in /etc to look like this:
> lp|ps|local hp deskjet 3420:\
>         :lp=/dev/ulpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:mx#0:\
> 	:if=/usr/local/libexec/magicfilter/deskjet-filter:

Did you create the /var/spool/output/lpd directory?  Actually, you
should probably create one with the same name as the printer, since lpd
doesn't want to share directories between multiple printers.

> I issued this command to test the printer:
> lptest > /dev/ulpt0
>
> The printer did nothing.
>
> Any suggestions?

That's a separate issue, since 'lptest > /dev/ulpt0' doesn't go anywhere
near lpd.  Some HP printers will flash an LED when they are receiving
data, so you could look for that.  Or it might be that the printer won't
print anything until it gets a form feed, so you could send it one
afterwards:

perl -e 'print chr(12)' > /dev/ulpt0

-Warren Block * Rapid City, South Dakota USA



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