home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20235 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!spool.mu.edu!agate!pasteur!web-2a.berkeley.edu!c60c-2gf
  3. From: c60c-2gf@web-2a.berkeley.edu ()
  4. Subject: Re: lpr with SLS
  5. Message-ID: <1992Dec14.001542.17764@pasteur.Berkeley.EDU>
  6. Sender: nntp@pasteur.Berkeley.EDU (NNTP Poster)
  7. Nntp-Posting-Host: web-2a.berkeley.edu
  8. Organization: University of California, Berkeley
  9. References: <1g7jtjINN9ce@rifraf.atl.ge.com> <tlhilde.724285932@roby.ecn.purdue.edu>
  10. Date: Mon, 14 Dec 1992 00:15:42 GMT
  11. Lines: 21
  12.  
  13. In article <tlhilde.724285932@roby.ecn.purdue.edu> tlhilde@roby.ecn.purdue.edu (Troy Hildebrand) writes:
  14.  
  15. >I also have a printer on /dev/lp1 which fits the description above.  
  16. >My princap follows.  I can do 'cat file > /dev/lp1 &' just fine...
  17. >lpr puts a file  in the queue, but it never goes.  lpd is running,
  18. >lpc cannot force the file to go to the printer.
  19.  
  20. >tlhilde@en.ecn.purdue.edu
  21.  
  22. I had this problem as well, and with a closer look at the lpr.README, I
  23. realized what my problem was.  Being a Linux and sys. admin. newbie, I
  24. misinterpreted the 'setgid' phrase to mean set the group id
  25. to daemon.  You have to set the gid bit in lpr, lpc, and lpd by
  26. typing chomd 2??? filename, where ??? are your permissions.  Also be sure
  27. to get rid of any unneccessary commands in your printcap file.
  28. You should be able to man printcap.
  29.  
  30. Hope this wasn't obvious, and helps you out a bit.
  31.  
  32. -David Simpson
  33.  
  34.