From owner-freebsd-hackers Sat Apr 1 21:53:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 3B59937B6B6; Sat, 1 Apr 2000 21:53:24 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA19677; Sat, 1 Apr 2000 22:52:42 -0700 (MST) (envelope-from ken) Date: Sat, 1 Apr 2000 22:52:42 -0700 From: "Kenneth D. Merry" To: Andrew MacIntyre Cc: Jeremiah Gowdy , freebsd-hackers@FreeBSD.ORG, current@FreeBSD.ORG, FreeBSD questions Subject: Re: JetDirect 500X and FreeBSD Message-ID: <20000401225242.A19443@panzer.kdm.org> References: <004a01bf9b35$0cc56be0$0100000a@vista1.sdca.home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from andymac@bullseye.apana.org.au on Sun, Apr 02, 2000 at 01:52:12PM +1000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-hackers" in the body of the message