home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11590 < prev    next >
Encoding:
Text File  |  1992-07-29  |  2.9 KB  |  81 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!ux1.cso.uiuc.edu!news.iastate.edu!bryan
  3. From: bryan@pi.eai.iastate.edu (Bryan Manske)
  4. Subject: Re: can lpr and lp share a printer?
  5. Message-ID: <1992Jul29.163727.28274@news.iastate.edu>
  6. Sender: news@news.iastate.edu (USENET News System)
  7. Reply-To: bryan@pi.eai.iastate.edu (Bryan Manske)
  8. Organization: EAI, Iowa State University, Ames, IA
  9. References: <howarth.712364458@proto> <nsoeph4@zuni.esd.sgi.com>
  10. Date: Wed, 29 Jul 1992 16:37:27 GMT
  11. Lines: 68
  12.  
  13. In article <nsoeph4@zuni.esd.sgi.com> olson@anchor.esd.sgi.com (Dave Olson) writes:
  14. >In <howarth.712364458@proto> howarth@rice.edu (Jack W. Howarth) writes:
  15.  
  16. [stuff deleted]
  17.  
  18. >In a word, no.  With assorted hacks you might be able to get it
  19. >to work.  I've seen scripts here that cause lpd to create lp
  20. >jobs in the past (or was it the other way around?); anyway, that
  21. >is probably the only approach that would work.
  22.  
  23. A most apropos time to follow up:
  24. (hideous laugh, ominous organ music in background)
  25.  
  26.  
  27. Any chance of getting ahold of such a script as the one mentioned
  28. above, Dave?  I'm still chasing this tiger's tail...
  29.  
  30. Here's the situation:  Personal Iris 4D/35 running Irix 4.0.1 with no
  31. problems and a serial cable hanging off of serial port 2 going to a
  32. server-jet haning on an HP LaserJet III.  All of our other SGIs can
  33. connect via remote printer connection using the vadmin printer tool
  34. and all of these print, work, and play quite nicely together.  On the
  35. horizon looms CAP6.0, PCNFS, and the modified Clarkson University TCP
  36. package. 'PIPS' is a 'remote printer' set up on pi which looks to
  37. (where else?) pi to print to the local printer 'pips'.  This was a 
  38. kludge in an attempt to get lpr to print something.  I've been changing
  39. the printcap file A LOT, trying different things.
  40.  
  41. After trying a multitude of things with lpr, here's where I stand:
  42. pi:lpr my.file
  43. pi:lpq
  44. waiting for queue to be enabled on pi.eai.iastate.edu
  45. Rank   Owner      Job  Files                                 Total Size
  46. 1st    bryan      74   my.file                               143 bytes
  47. pi:
  48.  
  49. SYSLOG is spewing:
  50. Jul 29 11:04:49 pi lpd[3074]: unknown printer 
  51. Jul 29 11:09:05 pi lpd[3080]: unknown printer 
  52. Jul 29 11:13:21 pi lpd[3083]: unknown printer 
  53.  
  54. And my printcap looks (for the moment) like:
  55. lp|pips:\
  56.         :lp=/dev/lp:\
  57.         :af=/usr/adm/lpd-acct:\
  58.         :lf=/usr/adm/lpd-errs:\
  59.         :mx=0:\
  60.         :rm=pi.eai.iastate.edu:\
  61.         :rp=:pips\
  62.         :sd=/usr/spool/lpd:
  63.                             
  64. Now I know I left out bits of the whole picture.  It's unix, so what do
  65. you want?
  66.  
  67. ANY creative solutions or kludges welcome.
  68.  
  69. Thanks in advance.
  70.  
  71. Bryan
  72.  
  73.  
  74.  
  75. -- 
  76. Bryan Manske  (515) 296-9908        . 
  77. Engineering Animation, Inc.         .         "Programmer terminated
  78. bryan@pi.eai.iastate.edu            .           at users request."
  79. #include <caveat_opinion.h>         . 
  80. #include <standard_disclaimer.h>    .                           Dave S.
  81.