Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 1995 21:48:07 -0600 (CST)
From:      Daniel Baker <dbaker@Baker.Err.COM>
To:        Sean Kelly <kelly@fsl.noaa.gov>
Cc:        questions@freebsd.org
Subject:   Re: Printing with HP Deskjet
Message-ID:  <Pine.BSF.3.91.951030214756.1685A-100000@concorde.neosoft.com>
In-Reply-To: <9510302229.AA27452@emu.fsl.noaa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
hey, thanks, everybody

that program that was posted got me going..

On Mon, 30 Oct 1995, Sean Kelly wrote:

> 
> 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
> 

Daniel Baker -- NeoSoft Student Asst. (UseNet, FTP & CivNet Admin.)
DBaker@NeoSoft.COM
DBaker@Baker.err.COM 
	** http://www.neosoft.com/neosoft/staff/dbaker/ **
		** http://www.baker.err.com/ **




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951030214756.1685A-100000>