home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!cs.widener.edu!dsinc!ub!exucom.com!bribbeck
- From: bribbeck@exucom.com (Bob Ribbeck)
- Newsgroups: comp.os.linux
- Subject: Re: Problem with lpr/lpd solved?
- Message-ID: <1993Jan28.004525.2580@exucom.com>
- Date: 28 Jan 93 00:45:25 GMT
- References: <1993Jan23.112103.2473@mpifr-bonn.mpg.de>
- Organization: ExuCom Multimedia Inc.
- Lines: 43
- X-Newsreader: TIN [version 1.1 PL8]
-
- Reinhold Schaaf (p412rei@fs1) wrote:
- : Hi world,
-
- : there was a discussion in this newsgroup some weeks ago about problems
- : with lpr/lpd in SLS 0.99p2. Lpr can queue printjobs but is unable
- : to start lpd again. It seemed to be the general opinion that this
- : problem has to do with ownership and/or permissions of files. However,
- : there was the claim of one poster that she found a bug in the lpr (or
- : lpd) code.
-
- : Unfortunately the discussion stopped at that point and I am left alone
- : with my nonworking version of lpr. So, *please*, can anyone tell me the
- : truth about lpr? Is it a question of file ownership/permissions or a
- : bug? If it is a bug, is there a fix?
-
- : Thank you all in advance
-
- : Reinhold Schaaf
-
-
- Using lpr spooling with lpd requires the tcpip network package.
-
- hosts.equiv must be added to /ust/etc/inet
- all that is in this file is the word localhost
-
- in the /usr/etc/net services file make sure " lp 35/tcp " exists
-
- lpr, lprm, lpq, and lptest in usr/bin must be group deamon
-
- /usr/spool needs a lp0 directory with owner daemon group daemon
- in lp0 make a blank file .seq with 666 permision group daemon
-
- in /etc do: ln -sf /usr/etc/printcap printcap
- ln -sf /usr/etc/lpd lpd
- (the reason for this is lpr/lpq look's in one)
- (directory and lpd looks in the other)
-
- the printcap should be similar to this:
-
- lp|epson:lp=/dev/lp0:sd=/usr/spool/lp0:lf=/usr/adm/lp0
-
-
- This should get the print spolling working.
-