home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / admin / 6877 < prev    next >
Encoding:
Text File  |  1993-01-04  |  2.5 KB  |  58 lines

  1. Newsgroups: comp.unix.admin
  2. Path: sparky!uunet!wupost!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!think.com!ames!agate!doc.ic.ac.uk!cc.ic.ac.uk!imperial.ac.uk!vulture
  3. From: vulture@imperial.ac.uk (Thomas Sippel - Dau)
  4. Subject: Re: lp vs lpr
  5. Message-ID: <1993Jan4.132334.28113@cc.ic.ac.uk>
  6. Sender: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
  7. Nntp-Posting-Host: cscgc
  8. Reply-To: cmaae47@imperial.ac.uk
  9. Organization: Imperial College of Science, Technology and Medicine
  10. References: <1i89n4INN11s@usenet.INS.CWRU.Edu>
  11. Date: Mon, 4 Jan 93 13:23:34 GMT
  12. Lines: 44
  13.  
  14. In article <1i89n4INN11s@usenet.INS.CWRU.Edu>, cq377@cleveland.Freenet.Edu (David C. Williss) writes:
  15. - I have a problem which I can't seem to make work.  I have a printer
  16. - on one machine which is running SYSV (with lp for printing).  I
  17. - also have a sun running BSD (lpr for printing).  My problem is that
  18. - I can't seem to make the Sun talk to the SYSV system.  I think that
  19. - the problem is on the SYSV end, because I _had_ the printer on an
  20. - IBM RS6000 which also uses "lp".
  21.  
  22. Actually, no, AIX uses qprt, its own printing mechanism, with lp and lpr
  23. access commands for compatibility.
  24.  
  25. lp, lpstat is what has been codified in th x/open (XPG3) standard, but 
  26. it does not address printing across a network.
  27.  
  28. lpr, lpq, lpc, lpd, lprm are parts of the BSD printing system and address
  29. networks, but have not been codified in a formal standard. IRIX
  30. will only support lp interfaces for printers connected locally.
  31.  
  32. You could try to roll your own lpr package for IRIX, but for a solution
  33. that works this Tuesday try the following on the Sun:
  34.  
  35.      rsh printiris -l lp lp -d myprinter < myfile
  36.  
  37. On IRIX there is a user lp (with no password by default). So the command 
  38. above executes the lp command under the lp user on the Iris.
  39. You may have to deal with such vagaries as PostScript text printing rather
  40. then executing on the printer etc...
  41.  
  42. Once that works, you have some cleaning up to do, like creating a .rhosts
  43. file for the user lp on the Iris, and disabling logins for that user, 
  44. documenting the access, writing a wrapper that makes it look like lpr
  45. on the Sun, ...
  46.  
  47. - Standards are great!  Everybody should have one of their own!
  48.  
  49. Yes, quite                          Thomas
  50.  
  51. -- 
  52. *** This is the operative statement, all previous statements are inoperative.
  53. *   email: cmaae47 @ ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic on Janet)
  54. *   voice: +44 71 589 5111 x4937 or 4934 (day), or +44 71 823 9497 (fax)
  55. *   snail: Imperial College of Science, Technology and Medicine
  56. *   The Center for Computing Services, Kensington SW7 2BX, Great Britain
  57.