c60c-2gf@web-2a.berkeley.edu
Date: 12/13/92


From: c60c-2gf@web-2a.berkeley.edu ()
Subject: Re: lpr with SLS
Date: Mon, 14 Dec 1992 00:15:42 GMT

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