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