home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / linux / 25638 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  1.9 KB

  1. Path: sparky!uunet!ukma!cs.widener.edu!dsinc!ub!exucom.com!bribbeck
  2. From: bribbeck@exucom.com (Bob Ribbeck)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Problem with lpr/lpd solved?
  5. Message-ID: <1993Jan28.004525.2580@exucom.com>
  6. Date: 28 Jan 93 00:45:25 GMT
  7. References: <1993Jan23.112103.2473@mpifr-bonn.mpg.de>
  8. Organization: ExuCom Multimedia Inc.
  9. Lines: 43
  10. X-Newsreader: TIN [version 1.1 PL8]
  11.  
  12. Reinhold Schaaf (p412rei@fs1) wrote:
  13. : Hi world,
  14.  
  15. : there was a discussion in this newsgroup some weeks ago about problems
  16. : with lpr/lpd in SLS 0.99p2. Lpr can queue printjobs but is unable
  17. : to start lpd again. It seemed to be the general opinion that this
  18. : problem has to do with ownership and/or permissions of files. However,
  19. : there was the claim of one poster that she found a bug in the lpr (or
  20. : lpd) code.
  21.  
  22. : Unfortunately the discussion stopped at that point and I am left alone
  23. : with my nonworking version of lpr. So, *please*, can anyone tell me the
  24. : truth about lpr? Is it a question of file ownership/permissions or a
  25. : bug? If it is a bug, is there a fix?
  26.  
  27. : Thank you all in advance
  28.  
  29. : Reinhold Schaaf
  30.  
  31.  
  32.   Using lpr spooling with lpd requires the tcpip network package.
  33.  
  34.   hosts.equiv must be added to /ust/etc/inet 
  35.         all that is in this file is the word      localhost
  36.  
  37.   in the /usr/etc/net services file make sure " lp    35/tcp " exists 
  38.  
  39.   lpr, lprm, lpq, and lptest in usr/bin must be group deamon
  40.  
  41.   /usr/spool needs a lp0 directory with owner daemon group daemon
  42.   in lp0 make a blank file  .seq with 666 permision group daemon
  43.  
  44.   in /etc do:   ln -sf /usr/etc/printcap printcap   
  45.                 ln -sf /usr/etc/lpd lpd
  46.            (the reason for this is lpr/lpq look's in one)
  47.               (directory and lpd looks in the other)    
  48.  
  49.   the printcap should be similar to this:
  50.  
  51.       lp|epson:lp=/dev/lp0:sd=/usr/spool/lp0:lf=/usr/adm/lp0
  52.  
  53.  
  54. This should get the print spolling working.
  55.