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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcsun!sunic!dkuug!daimi!poe
  3. From: poe@daimi.aau.dk (Peter Orbaek)
  4. Subject: Re: lpr.tar.Z: Daemon no present !? but it's there!
  5. Message-ID: <1992Dec14.112202.15553@daimi.aau.dk>
  6. Sender: news@daimi.aau.dk
  7. Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
  8. References: <1992Dec11.194257.18065@netcom.com> <1992Dec11.194752.18767@netcom.com>
  9. Date: Mon, 14 Dec 92 11:22:02 GMT
  10. Lines: 38
  11.  
  12. wongi@netcom.com (Isaac Wong) writes:
  13.  
  14. >In article <1992Dec11.194257.18065@netcom.com> wongi@netcom.com (Isaac Wong) writes:
  15. >>
  16. >>I got mine from sunsite: ...../Daemons
  17. >>
  18. >>after lpr, i check the spool dir and it looks ok. ps to check for lpd and it's
  19. >>there, but lpq says daemon not present! any clue?
  20.  
  21. Lpq will report "no deamon present" if there's no deamon serving the 
  22. printer in question.
  23.  
  24. In overview the lpd system works like this:
  25.  
  26.     There's one main lpd daemon that should always run.
  27.  
  28.     When a job is received, lpd forks and the child handles the
  29.     queue for that job until the queue is empty. It's such a 
  30.     child that lpq misses.
  31.  
  32. >[it's me again]
  33.  
  34. >BTW, i have the 'of' field of the printcap removed and i was using a test printer
  35. >in my printcap for testing, like:
  36.  
  37. >test:lp=/tmp/lp_test:sd=/usr/spool/test:lf=/dev/console:
  38.  
  39. That should work. You might want to have a af= entry too.
  40.  
  41. >Also, anyone's got a printcap for HP LaserJet IIIP ?
  42.  
  43. You might want to have a /usr/adm/lpd-errs file that is world-writable,
  44. that is the default destination for log messages from lpd.
  45.  
  46.      - Peter.
  47. -- 
  48. Peter Orbaek <poe@daimi.aau.dk>
  49. Hasle Ringvej 122, DK-8200 Aarhus N, DENMARK
  50.