Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: tittaff@gov.on.ca (Fred Tittaferrante)
Subject: Re: Connecting Laser Printer via LAT
Date: 1995/10/16	[thread overview]
Message-ID: <45u9vp$o7u@govonca3.gov.on.ca> (raw)
In-Reply-To: 45mlo9$bu9@news.nic.com

bbp@nic.com (Bruce B. Platt) writes:

>I have LAT running on Digital Unix V3.x.  I also have several laser 
>printers I'd like to hook up via terminal server and LAT.  I know how to 
>do this on VMS :-), but not the faintest idea how to do it on unix. 
>
>I know I need the right printcap entries, and I can probably figure that 
>part out (then gain maybe not).  

Here is my /etc/printcap entry for a HP LaserJet IIID connected to a 
DECserver 90L

# Geraldton HP LaserJet IIID, Downstairs
	hplaser|lp0:\
		:af=/usr/adm/lpacct:\
		:br#9600:\
		:ct=LAT:\
		:fc#0177777:\
		:fs#023:\
		:if=/usr/lbin/hplaserof:\
		:lf=/usr/adm/lperr:\
		:lp=/dev/tty0b:\
		:mx#0:\
		:of=/usr/lbin/hplaserof:\
		:pl#66:\
		:pw#80:\
		:rp=PASSTHRU:\
		:sd=/usr/spool/lpd:\
		:sf:\
		:sh:\
		:xc#0177777:\
		:xf=/usr/lbin/xf:\
		:xs#044000:

I got the /usr/lbin/hplaserof filter files from a co-worker.  I'm not sure 
where he got them.  I was using the /usr/lbin/lpf filter which gave me 
some limited success.  I was able to print text to the printer, but I 
couldn't send PCL printer codes.


>Mostly what I need to know is how to tell unix that I have a printer on 
>port x of a Decserver 90 family device.

The following is a snipet from my /sbin/init.d/lat file.  I put it after
the "/usr/sbin/latcp -s" line.  The command connects the /dev/tty0b device
with server NRGES2 port PORT_8. 

	/usr/sbin/latcp -A -p tty0b -H NRGES2 -R PORT_8

Also, the following line is from my /etc/inittab file.  The /dev/tty0b 
device driver was created by the latsetup command.

	lat0b:3:off:/usr/sbin/getty     /dev/tty0b      console vt100


Good luck,
Fred Tittaferrante
Systems Officer
Geraldton Area Office
Ontario Ministry of Natural Resources
email: tittaff@gov.on.ca



  reply	other threads:[~1995-10-16  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-13  4:00 Connecting Laser Printer via LAT Bruce B. Platt
1995-10-16  4:00 ` Fred Tittaferrante [this message]
1995-10-24  4:00   ` Scott W. Ruch
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox