From: riepe@ifwsn4.ifw.uni-hannover.de (Michael Riepe) Subject: Re: ``I hate Linus Torvalds'' and lpr prob Date: Tue, 30 Mar 1993 22:13:17 GMT
First of all, I do *NOT* hate Linus Torvalds, not at all!
In article 13208@cs.rit.edu, ani0349@cs.rit.edu (Anatoly N Ivasyuk) writes:
|>I do have a couple of questions, though. I'm using the Berkeley lpr/lpd from
|>SLS, and it says "Warning: daemon not present" almost all the time when I do
|>an lpq, even though it still prints, and lpd is running (quick check using ps).
|>This is just a minor annoyance than anything else.
Maybe this should be in the FAQ. This message does not apply to the
``master'' lpd that is always running but to the daemon that is
processing a specific printer queue. Quoting from the man page of
``lpq'':
DIAGNOSTICS:
[...]
Warning: no daemon present
The lpd process overseeing the spooling queue, as indi-
cated in the ``lock'' file in that directory, does not
exist. This normally occurs only when the daemon has
unexpectedly died. Check the printer's error log for a
diagnostic from the deceased process; you can restart
the printer daemon with lpc.
Most often the reason why the daemon died is that the output filter
program (as specified in the ``of='' section of /etc/printcap) is
missing or did not work correctly. BTW the error log mentioned above is
the file specified by the printcap ``lf='' entry, which should be
something like /usr/adm/<printer>err.
|>Also, does lpd have some arbitrary size limit on files that it prints? I
|>tried printing a 1.5Meg (epson) file that got created by ghostscript, and
|>it got cut off at a little over one meg, with a warning. I didn't see
|>anything in my printcap file about a limit, or maybe I just missed something
|>in the printcap man page.
The default limit is 1000 blocks; include ``mx#0'' in /etc/printcap to
disable file size checking.
Michael.
-- Michael Riepe <riepe@ifwsn4.ifw.uni-hannover.de> Universit"at Hannover Institut f"ur Fertigungstechnik und Spanende Werkzeugmaschinen Schlosswender Str. 5 W-3000 Hannover 1 (Germany) ... Measure with a micrometer. Mark with chalk. Cut with an axe.