Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2010 12:55:52 -0800 (PST)
From:      Bill Tillman <btillman99@yahoo.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@freebsd.org, Robert Bonomi <bonomi@mail.r-bonomi.com>
Subject:   Re: RESOLVED: Printing via USB Port
Message-ID:  <761671.17176.qm@web36503.mail.mud.yahoo.com>
In-Reply-To: <alpine.BSF.2.00.1002271312100.18726@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help


--- On Sat, 2/27/10, Warren Block <wblock@wonkity.com> wrote:


From: Warren Block <wblock@wonkity.com>
Subject: Re: RESOLVED: Printing via USB Port
To: "Bill Tillman" <btillman99@yahoo.com>
Cc: "Robert Bonomi" <bonomi@mail.r-bonomi.com>, freebsd-questions@freebsd.o=
rg
Date: Saturday, February 27, 2010, 2:26 PM


On Sat, 27 Feb 2010, Bill Tillman wrote:
> Okay guys this is finally working. I found the answer here:
> =A0
> http://forums.freebsd.org/showthread.php?p=3D64508
> =A0
> This didn't come up in my other searches.
>=20
> This morning I put in "freebsd hl2040 usb" into my yahoo search and this =
came up.

Didn't you get my last message yesterday?=A0 It had that very link.
=A0
> Seems this guy got it to work by using unlpt0 not ulpt0. I had tried this=
 before and was using the ifhp filter but that didn't work.

The printer is not HP or even PCL, so ifhp is likely not the right filter.

> So I did this with /etc/printcap:
> =A0
> lp|HL2040|Brother HL-2040:\
> =A0=A0=A0=A0=A0=A0=A0 :lp=3D/dev/unlpt0:\
> =A0=A0=A0=A0=A0=A0=A0 :af=3D/home/bill/hl1250.ppd:\
> =A0=A0=A0=A0=A0=A0=A0 :if=3D/usr/local/bin/foomatic-rip:\
> =A0=A0=A0=A0=A0=A0=A0 :lf=3D/var/log/lpd/hl2040.log:\
> =A0=A0=A0=A0=A0=A0=A0 :sh:sd=3D/var/spool/lpd/laser:

It was probably the unlpt0 device that cured it.=A0 Could you verify whethe=
r the plain lpd entry with the unlpt0 device works?

lp:\
=A0 =A0=A0=A0:lp=3D/dev/unlpt0:\
=A0 =A0=A0=A0:sh:\
=A0 =A0=A0=A0:mx#0:\
=A0 =A0=A0=A0:sd=3D/var/spool/lpd/lp:\
=A0 =A0=A0=A0:if=3D/usr/local/libexec/ps2hl1250: \
=A0 =A0=A0=A0:lf=3D/var/log/lpd-errs:

-Warren Block * Rapid City, South Dakota USA
=A0
Okay, we can put this one to rest. The simpler /etc/printcap above using ps=
2hl1250 which is a very short script works as well. No need to have to load=
 the foomatic-filters port. Good thinking as this keeps the setup simple an=
d easier.=0A=0A=0A      



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