Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 1996 12:04:40 +0000 ()
From:      "Lenzi, Sergio" <lenzi@cwbone.bsi.com.br>
Cc:        justin@structured.net, questions@FreeBSD.org
Subject:   Re: Printing in Netscape
Message-ID:  <Pine.BSF.3.91.960729115608.314B-100000@sergio.lenzi>
In-Reply-To: <199607251912.PAA22805@james.freenet.hamilton.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jul 1996 hoek@freenet.hamilton.on.ca wrote:

> In Email, Justin Ashworth <justin@structured.net> wrote:
> > How would I go about printing to my non-postscript printer from
> > Netscape? When I print now, I get postscript code.


Hello Justin,

You need to install the ghostscript package....

If it can help here is my "config" files for printer on prostscrip.


file /etc/printcap--------------------------


#	@(#)printcap	5.3 (Berkeley) 6/30/90

lp|local line printer:\
	:lp=/dev/lpt0:sd=/var/spool/lpd/lp: \
	:mx#0:so:sh:sb:of=/usr/lib/lp/filters/lp:sf

file /usr/lib/lp/filters/lp --------------- mode 0755  

#!/bin/sh
read x
t=`echo $x | cut -c1-2`
if [ $t = "%!" ]
then
	echo $x > /tmp/$$
	cat /tmp/$$ - | \
	/usr/local/bin/gs -dQUIET -dNOPAUSE \
		-sOUTPUTFILE=- -sDEVICE=cdjmono -
	rm -f /tmp/$$
else
	cat
	echo -n 
fi
----------------------

it is setted for a deskjet mono

for other printers use gs -h to see the models supported by the package



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