home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11608 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  1.9 KB

  1. Path: sparky!uunet!wupost!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!milton!dittrich
  2. From: dittrich@milton.u.washington.edu (Dave Dittrich)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: lp/lpr printer hacks
  5. Keywords: lp lpr
  6. Message-ID: <dittrich.712439536@milton>
  7. Date: 29 Jul 92 19:52:16 GMT
  8. References: <1992Jul29.174504.24633@sfu.ca>
  9. Sender: news@u.washington.edu (USENET News System)
  10. Organization: University of Washington
  11. Lines: 29
  12.  
  13. langer@monashee.sfu.ca (Steve Langer) writes:
  14.  
  15. >  What I did is to create a dummy user, called "printer", who has /usr/bin/lp
  16. >for a shell, and no password. (Please tell me if this is a horrible
  17. >security risk!) Then I can print from a remote machine that doesn't have lp
  18. >by running
  19.  
  20. Yes it is.  And what is more, you have now told everyone on the net that
  21. your machine can be logged into!  Fix it ASAP!
  22.  
  23. As far as the lp/lpr problem goes, I have a script which I obtained from
  24. SGI tech support that hacks things up to run an HP LaserWriter using
  25. lpr.  The problem is that IRIX does not support any sharing of devices
  26. between lp and lpr.  You must fool lpr into giving the print job to lp.
  27.  
  28. Call SGI and tell them what you want to do and ask them for the
  29. undocumented fix for getting a job from lpr to lp.  I get *really*
  30. pissed off when a vendor tells me that they support a standard (lpr in
  31. this case) but when I try to hook it up they say, "well you can use lpr
  32. to go to *another* lpr machine, you just can't use lpr with a printer
  33. attached to your IRIX machine."
  34.  
  35. Plesae note.  This does work, but you lose all visibility of print jobs
  36. using lpq (lpq rightly says there are no jobs because it passed them
  37. off to lp).  You also have to know how to configure *both* lp and lpr.
  38. We have no problems printing with lpr from a bunch of Indigos to a NeXT,
  39. so that will work fine.  If things get confused, you often have to dig
  40. around to find out what got screwed up and restart everything from
  41. scratch.
  42.