[comp.sys.next] NeXToNeXT Printing

wjabi@caen.engin.umich.edu (wassim jabi) (06/25/91)

Hi:
I need to know how I can print from one NeXT (next2)
to a NeXT Printer  connected to another NeXT (next1)
without the NeXT's NetInfo, using a thin ethernet.
Here is the set-up:

|--------------|      |-----|          |-----|
| NeXT Printer |======|next1|__________|next2|
|--------------|      |-----| Ethernet |-----|

next1:  /etc/printcap
		Local_Printer:\
			:lp=/dev/null:\
			:sd=/usr/spool/NeXT/Local_Printer:\
			:re:mf:\
			:if=/usr/lib/NextPrinter/npcomm:\
			:ty=NeXT 400 dpi Laser Printer:
	/etc/hosts.lpd
		next2.engin.umich.edu

next2:  /etc/printcap
		Local_Printer:\
			:rm=next1:\
			:rp=Local_Printer:\
			:lp=/dev/null:\
			:sd=/usr/spool/NeXT/Local_Printer:\
			:re:mf:\
			:if=/usr/lib/NextPrinter/npcomm:\
			:ty=NeXT 400 dpi Laser Printer:


Please excuse me if this is in FAQ. I don't know where
to get them.


--
-- Wassim M. Jabi                   -- Please Don't e-mail to wjabi@srvr1
-- Doctoral Program in Architecture -- It does not work. E-mail to this
-- University of Michigan           -- address:
-- 2000 Bonisteel Boulevard         -- 
-- Ann Arbor, MI 48109-2069         --     wjabi@caen.engin.umich.edu

mcohen@ac-next2 (Michael Cohen) (06/26/91)

In article <Bth#N3=@engin.umich.edu> wjabi@caen.engin.umich.edu (wassim jabi)  
asks:
> [...]
> I need to know how I can print from one NeXT (next2)
> to a NeXT Printer  connected to another NeXT (next1)
> without the NeXT's NetInfo, using a thin ethernet.
> [...]

A simple way to do this, if you have accounts on both machines, 
is to configure your .rhosts files so you can invoke rsh:

next1> cat file | rsh next2 lpr

-------------
Michael Cohen
Room S-08               
NTT Human Interface Labs
3-9-11, Midori-cho, Musashino-shi 
Tokyo 180
Japan

voice: [+81](422)59-2077
fax: [+81](422)60-7808