uucp with tcp on 386/ix vers 2.0.2

James Logan logan at inpnms.UUCP
Fri Oct 6 11:55:10 AEST 1989

In article <255 at cipher.UUCP> russ at cipher.UUCP (Russ Harvey) writes:
# Hi, we have 5 ISC 386/ix version 2.0.2 machines
# connected via ethernet (WD8003E, ISC's TCP/IP),
# and want to do something natural like have
# the ability to print files on all machines,
# even though there is only one printer (HP LaserJet II).

What's wrong with the rshl(1) command?  If you are on machine "A"
and the printer is on machine "Z", just use:  

	rshl Z lp <filename;

For a more permanant fix you can move the real lp(1) command to
OLDlp, and put this script in its place:  

	cat $@ | rshl Z lp;

If you want to use the real lp(1), copy the existing script for a
dumb printer in /usr/spool/lp/model, replace the "cat" with the
rshl command I mentioned, and create a new (default) printer type
with lpadmin(1M).  You can also change the script to pass flags
to the remote lp(1) if you want.   

			-Jim Logan

James Logan                       UUCP: uunet!inpnms!logan
Data General Telecommunications   Inet: logan%inpnms at uunet.uu.net
(301) 590-3069

More information about the Comp.unix.i386 mailing list