Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 22:52:42 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Andrew MacIntyre <andymac@bullseye.apana.org.au>
Cc:        Jeremiah Gowdy <jgowdy@home.com>, freebsd-hackers@FreeBSD.ORG, current@FreeBSD.ORG, FreeBSD questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: JetDirect 500X and FreeBSD
Message-ID:  <20000401225242.A19443@panzer.kdm.org>
In-Reply-To: <Pine.OS2.3.95.1000402134329.190B-100000@CENTRAL>; from andymac@bullseye.apana.org.au on Sun, Apr 02, 2000 at 01:52:12PM %2B1000
References:  <004a01bf9b35$0cc56be0$0100000a@vista1.sdca.home.com> <Pine.OS2.3.95.1000402134329.190B-100000@CENTRAL>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 02, 2000 at 13:52:12 +1000, Andrew MacIntyre wrote:
> On Fri, 31 Mar 2000, Jeremiah Gowdy wrote:
> 
> > Does anyone have any experiance or information about using HP JetDirect 500X
> > Printer Hubs with FreeBSD ?  This is mission critical for my company, so any
> > information greatly appriciated.
> 
> These things have an LPD server built in IIRC, so your could just
> configure them as a remote LPD printer in /etc/printcap.
> 
> However, I've not been totally satisfied with some of HP's earlier
> attempts at LPD support in JetDirect cards for their lasers printers, as
> they weren't particularly reliable, particularly when multiple jobs were
> queued simultaneously.  I hope their more recent stuff is better behaved.
> 
> You might want to check out LprNg or CUPS to see whether they support the
> native HP protocol (on port 9100???) if your box doesn't seem to cope, so
> that one box can be the "print server" and thus serialize all the jobs.
> We do this at work, although in that case NT is providing the "print
> server" function.

You can setup the stock FreeBSD lpd to talk the native HP printer protocol
to a HP printer with a Jet Direct card.  I've got the following setup on a
-current box that talks to my HP LaserJet 4000 (hostname is "printer"):

in /etc/printcap:

lp|ps:\
	:mx#0:lp=9100@printer:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:sh:\
	:if=/usr/local/lib/filters/inputshell:\
	:of=/usr/local/lib/filters/ofhp:

/usr/local/lib/filters/inputshell is just this:

#!/bin/sh

/usr/local/lib/filters/ifhp -Ttbcp=on,model=5M

exit 0

The ifhp/ofhp comes in the ifhp port, which is ports/print/ifhp.

The above setup works well with either text files or postscript.

Ken
-- 
Kenneth Merry
ken@kdm.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?20000401225242.A19443>