Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Connecting Laser Printer via LAT
@ 1995-10-13  4:00 Bruce B. Platt
  1995-10-16  4:00 ` Fred Tittaferrante
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce B. Platt @ 1995-10-13  4:00 UTC (permalink / raw)


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

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.

Any and all advice would be apprceiated.

Thanks and regards,

Bruce


--
----------------
bbp@nic.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connecting Laser Printer via LAT
  1995-10-13  4:00 Connecting Laser Printer via LAT Bruce B. Platt
@ 1995-10-16  4:00 ` Fred Tittaferrante
  1995-10-24  4:00   ` Scott W. Ruch
  0 siblings, 1 reply; 3+ messages in thread
From: Fred Tittaferrante @ 1995-10-16  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Connecting Laser Printer via LAT
  1995-10-16  4:00 ` Fred Tittaferrante
@ 1995-10-24  4:00   ` Scott W. Ruch
  0 siblings, 0 replies; 3+ messages in thread
From: Scott W. Ruch @ 1995-10-24  4:00 UTC (permalink / raw)


tittaff@gov.on.ca (Fred Tittaferrante) wrote:
>
>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
>

As of V3.0, these commands should be placed in /etc/latstartup.conf.
/sbin/init.d/lat is no longer preserved through update installs, so
any changes you make will be lost.


------------------------------------------------------------------
Scott Ruch					Unix Systems Group
Digital UNIX LAT Engineering
Digital Equipment Corp.				|d|i|g|i|t|a|l|
200 US Rt. 9 North				swr@unx.dec.com
Manalapan, NJ 07726-9455			(908) 577-6082
------------------------------------------------------------------





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1995-10-24  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-13  4:00 Connecting Laser Printer via LAT Bruce B. Platt
1995-10-16  4:00 ` Fred Tittaferrante
1995-10-24  4:00   ` Scott W. Ruch

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