-From: Paul Haeberli <paul@manray.asd.sgi.com>
Newsgroups: comp.sys.sgi
Subject: sgi to pcl PART 1
Message-ID: <iftbug8@sgi.sgi.com>
Date: 19 Mar 92 23:32:12 GMT
Sender: paul@manray.asd.sgi.com
To:       info-iris@vmb.brl.mil

PART 1/2

Here is a two part uuencoded version of the HP laser jet printer 
driver.  To use it you will need a Laser jet with the memory 
upgrade of 395 Kbytes of memory.  The printer should be 
connected to the centronics port of a Personal Iris. 

To install the driver do the following:

1. Save this message and the next message to files.

	msg1 and msg2

2. concatenate the two messages and uudecode the files:

	% uudecode < both.msg

		This will create a file called ljprint.

2. Now do the following . . .

	% su
	# cp ljprint /usr/lib/print
	# vi /usr/sbin/mkcentpr

		Add the following lines to mkcentpr at about line 136:

	           ljet)	driver=ljprint
				longname="HP Laser Jet"
				;;

	# /usr/sbin/mkcentpr -d /dev/plp ljet ljet
	# exit
	%

3. Now you sould be able to print IRIS image files using:

	lp -dljet save.rgb

This should print the image - remember the printing area is limited
to about 32 square inches because of the limited amount of memory
in the printer.  The printer driver automatically prints the image
as large as is possible.

Please let me know how these instructions work for you.

thanks 

paul haeberli
paul@sgi.com
415-962-3665
