[comp.sys.sgi] mknetpr for non SGI machines.

murthy@utkcs2.cs.utk.edu (Nagesh Murthy) (08/05/90)

I understand how I can set up a PI to print across the net on to a printer
which is connected (Physically) to another PI. 

Now what I am trying to do is that I need to access a Postscript printer
that is physically connected to a SUN Workstation and not a PI. 
Well, for any other SUN Workstation to access a printer connected to another
SUN Workstation I need to have the printcap file properly set. But in case 
of PIs I am not sure how it is done since the lp deamon does not seem to read
a printcap file (or am I wrong?). 
The mknetpr needs addclient to be executed on the remote machine which has 
the printer connected to it. On SUNs they don't  seem to have anything like
addclient program (or do they?).

In any case I am stuck right now and it would be really great if I can get 
my PI to print across the net on to a printer connected to a SUN.

Thanking in advance.

blbates@AERO4.LARC.NASA.GOV ("Brent L. Bates AAD/TAB MS361 x42854") (08/06/90)

    If you have OS 3.3, SGI finally included the BSD lp stuff, and I
would use that.  We have a 4D/210VGX and we are using lpd to send
files to our Sun, with no problems.
    However, if you want to use the SV5 printer, why I don't know,
the way I got our 3130 (a combination of the worst of BSD and SV5)
to send files to a BSD machine is to allow the lp from the 3130 to
log onto an lp account on the BSD machine.  The /usr/spool/interface
files rcp the file from our 3130 to the BSD machine, then rsh the
lp command on the remote machine.  You need user lp on the BSD machine
and a .rhosts file in lp's home directory on the remote machine, that
is if the local machine isn't in the remote machines host.equiv file.
--

	Brent L. Bates
	NASA-Langley Research Center
	M.S. 361
	Hampton, Virginia  23665-5225
	(804) 864-2854
	E-mail: blbates@aero4.larc.nasa.gov or blbates@aero2.larc.nasa.gov

karlton@sgi.com (Phil Karlton) (08/07/90)

In article <1990Aug4.195822.18376@cs.utk.edu>, murthy@utkcs2.cs.utk.edu
(Nagesh Murthy) writes:
|> Now what I am trying to do is that I need to access a Postscript printer
|> that is physically connected to a SUN Workstation and not a PI. 
|> Well, for any other SUN Workstation to access a printer connected to another
|> SUN Workstation I need to have the printcap file properly set. But in case 
|> of PIs I am not sure how it is done since the lp deamon does not seem
to read
|> a printcap file (or am I wrong?). 

Basically, lp and lpr do not talk to each other at all. You need to use
the bsd spooler software. The client side of it is on the eoe2 tape.

  eoe2.sw.bsdlpr =>  BSD Line Printer Spooling Utilities

Basically what is available is a built version of the software; not much
other help is provided. (There is a sample printcap file.) In
particular, the visual admin tools don't handle the BSD printing
utilties at all.

PK