home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 18084 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  2.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!caen!malgudi.oar.net!news.ans.net!cmcl2!adm!news
  2. From: macleod@vissgi.cvrti.utah.edu (Rob MacLeod)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Printing to a VMS machine running multinet
  5. Message-ID: <34696@adm.brl.mil>
  6. Date: 16 Dec 92 03:10:08 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 59
  9.  
  10.  
  11. >I am trying (with no success) to set up a VMS machine running multinet
  12. >as a remote printer to an Iris Indigo.  I know it possible to do this
  13. >from a unix machine, but I can't figure out how to get the Indigo to
  14.  
  15. Easy, just set up an entry like this in your /etc/printcap file:
  16.  
  17. # The printers connected via remote queues on the Vax.
  18.  
  19. lp|rp0|lp0|lvb0|vtec0|Vax 4000 downstairs Versatec:\
  20.         :lp=:\
  21.         :rm=myvax.mydept.utah.edu:\
  22.         :rp=lvb0:\
  23.         :sd=/usr/spool/vtec0:lf=/usr/adm/lpd-errs:
  24.  
  25. rp1|lp1|lva0|vtec1|Vax 4000 upstairs Versatec:\
  26.         :lp=:\
  27.         :rm=myvax.mydept.utah.edu:\
  28.         :rp=lva0:\
  29.         :sd=/usr/spool/vtec1:lf=/usr/adm/lpd-errs:
  30.  
  31. rm = remote machine
  32. rp = remote printer (what the printer is known as in Vax-land
  33. sd = local directory where the print spooler can write files (I like to set
  34.      up a directory for each printer si that when things goof up I know
  35.      where the problem is coming from.  Owner of these should be
  36.      daemon.daemon or lp.lp (both seem to work) and protection = 775
  37. lf = error file 
  38.  
  39. Then make sure you have a /etc/hosts.equiv file set up with all your
  40. machines listed by *full* IP address, eg. (mysgi is the machine from which
  41. you want to print, myvax is the client Vax running multinet),
  42.  
  43. localhost
  44. mysgi.mydept.utah.edu
  45. myvax.mydept.utah.edu
  46.  
  47. Then just use
  48.  
  49.     lpr -P printername filename
  50.  
  51. to send stuff over. To see what's happening use
  52.  
  53.     lpq -P printername
  54.  
  55. Works like a charm for us.
  56.  
  57. Rob.
  58.  
  59. --------------------------------------------------------------------------
  60. Rob MacLeod, Ph.D.
  61. Nora Eccles Harrison Cardiovascular Research and Training Institute (CVRTI)
  62. Building 500, University of Utah          
  63. Salt Lake City, Utah 84112                      ____  __o
  64. Internet:  macleod@cvrti.utah.edu              ____   -\<,
  65. Phonemail: (801)581-8183                         ....0/ 0
  66. Fax:       (801)581-3128
  67. ---------------------------------------------------------------------------
  68.  
  69.