Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.oz.au!ihnp4.ucsd.edu!newshub.nosc.mil!news!huck From: huck@nosc.mil (Craig Huckabee) Subject: printing to HP JetDirect and more.... Message-ID: <1995Aug23.010813.12075@nosc.mil> Followup-To: huck@nosc.mil Sender: huck@nosc.mil Organization: NCCOSC RDT&E Division, San Diego, CA Date: Wed, 23 Aug 1995 01:08:13 GMT Lines: 29 Two hopefully painless questions : 1) Anyone have a printcap file for printing directly to an HP printer (like an HPIIIsi, HP4, etc.) that uses an HP Jet Direct card? This card provides an LPD on the printer itself (no print server required) - you set up a DNS entry and give the printer an IP address. You can also do things like tell the printer where to log errors. I thought that simply using rm=<printer_name>:rp=raw (or lp, or some other entry) would work. But so far all I get is a banner page, no output. Anyone got this working so I can peek at your work? :-) 2) The banner page thing bothers me too. I have a FreeBSD 2.0.5 box and a NeXTStep 3.3 box, both based on 4.4Lite. Both exhibit the same behavior - they ignore a sh: entry in a printcap file and print a banner page with each job. lpr -H (I think that's the flag I've been using) works, but I'm wondering why lpr is ignoring the sh entry. Am I misunderstanding the use of sh: in a printcap file? I did manage to get a version of lpr that doesn't print banners (it just a hack that tacks on a -H by default) but it still leaves me curious. Thanks for the bandwidth, Craig