Date: Mon, 30 Oct 1995 15:29:47 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) To: dbaker@baker.err.com Cc: questions@freebsd.org Subject: Re: Printing with HP Deskjet Message-ID: <9510302229.AA27452@emu.fsl.noaa.gov> In-Reply-To: <Pine.BSF.3.91.951026194835.225C-100000@concorde-sam> (message from Daniel Baker on Thu, 26 Oct 1995 19:49:01 -0500 (CDT))
next in thread | previous in thread | raw e-mail | index | archive | help
Okay, first the /etc/printcap. You need a colon and backslash here: ------------------------------------------------------------------------ deskjet:ps:PS:S:lp:HP DeskJet Printer:\ ------------------------------------------------------------------------ Each of these lines needs a backslash: ------------------------------------------------------------------------ :sh:sd=/var/spool/lpd/deskjet:\ :lp=/dev/lpt0:\ ------------------------------------------------------------------------ The last line is fine. Now, for the script /usr/local/libexec/hpif. This needs to be all one line (but it's possible your mailer word wrapped it and it already is one line), and I think you want to use "cdj550" instead of "djet500": ------------------------------------------------------------------------ /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=cdj550 -sOutputFile=- - \ ------------------------------------------------------------------------ This should be "exit 0" not "exit 2": ------------------------------------------------------------------------ echo $first_line && cat && printf "\f" && exit 0 ------------------------------------------------------------------------ Let me know if that helps ... or not. Good luck! -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA I just got out of the hospital. I was in a speed reading accident. I hit a book mark and flew across the room. -- Steven Wright
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9510302229.AA27452>