home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!mcsun!sunic!dkuug!daimi!poe
- From: poe@daimi.aau.dk (Peter Orbaek)
- Subject: Re: lpr.tar.Z: Daemon no present !? but it's there!
- Message-ID: <1992Dec14.112202.15553@daimi.aau.dk>
- Sender: news@daimi.aau.dk
- Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
- References: <1992Dec11.194257.18065@netcom.com> <1992Dec11.194752.18767@netcom.com>
- Date: Mon, 14 Dec 92 11:22:02 GMT
- Lines: 38
-
- wongi@netcom.com (Isaac Wong) writes:
-
- >In article <1992Dec11.194257.18065@netcom.com> wongi@netcom.com (Isaac Wong) writes:
- >>
- >>I got mine from sunsite: ...../Daemons
- >>
- >>after lpr, i check the spool dir and it looks ok. ps to check for lpd and it's
- >>there, but lpq says daemon not present! any clue?
-
- Lpq will report "no deamon present" if there's no deamon serving the
- printer in question.
-
- In overview the lpd system works like this:
-
- There's one main lpd daemon that should always run.
-
- When a job is received, lpd forks and the child handles the
- queue for that job until the queue is empty. It's such a
- child that lpq misses.
-
- >[it's me again]
-
- >BTW, i have the 'of' field of the printcap removed and i was using a test printer
- >in my printcap for testing, like:
-
- >test:lp=/tmp/lp_test:sd=/usr/spool/test:lf=/dev/console:
-
- That should work. You might want to have a af= entry too.
-
- >Also, anyone's got a printcap for HP LaserJet IIIP ?
-
- You might want to have a /usr/adm/lpd-errs file that is world-writable,
- that is the default destination for log messages from lpd.
-
- - Peter.
- --
- Peter Orbaek <poe@daimi.aau.dk>
- Hasle Ringvej 122, DK-8200 Aarhus N, DENMARK
-