🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #11139

ypprintcap and 386i with 3/160

#11139
From: Glenn Roberts
Date: Thu, 23 Feb 1989 15:25
25 lines
1619 bytes
> We have just recieved 2 SUN 386i's and already have a SUN 3/160. I have
> been succussful in setting up the NFS and can rlogin in to each from
> any, but in setting up the printer so anyone can use them I come up
> with the message "can't read yp printcap"

You should have a file /etc/ypprintcap on the 386i's which contains an
entry for the printer you want to access (default is 'lp').  If this is an
Apple laserwriter the entry might be something like:

lp|lw|postscript|PostScript|cobra-ttya:\
        :rm=cobra:rp=lw:sd=/var/spool/lw:lf=/var/spool/lw/error-log:

the 'rm=cobra:rp=lw' entries say that this printer is remotely located on
the machine named cobra (substitute the name of the machine your printer
is hooked up to) and that the printer is known as 'lw' on that machine.
Then on that machine have an entry in the /etc/printcap file for the
printer 'lw' (you presumably already have that!).

If you change anything in /etc/ypprintcap make sure you update the YP
database by doing a

   cd /var/yp;make

- Glenn Roberts, The MITRE Corp., McLean VA (703) 883-6820
  gfr@cobra.mitre.org
Technical Details
Message-ID: <8902142226.AA00344@cobra.mitre.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!rice!sun-spots-request
From: gfr@cobra.mitre.org (Glenn Roberts)
Newsgroups: comp.sys.sun
Subject: ypprintcap and 386i with 3/160
Message-ID: <8902142226.AA00344@cobra.mitre.org>
Date: 23 Feb 89 15:25:12 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 25
Approved: Sun-Spots@rice.edu
Original-Date: Tue, 14 Feb 89 17:26:20 EST
X-Sun-Spots-Digest: Volume 7, Issue 169, message 9 of 12
X-Issue-Reference: v7n153