Michael Loßin on Tue, 23 Jan 2001 16:04:26 +0100 (CET)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: apsfilter: can't determine the lpd spool directory


"Stefan M. Brandl" wrote:
> 
> Hi there,
> today I've installed apsfilter-6.0.0 bu t I can't get it top work.
> Everytime I try to ptinz something I get the following errormail:
> 
> apsfilter fatal error: can't determine the lpd spool directory
> 
> Please fix your lpd or stop printing to remote printers
> directly.

The error message pretty much says it all, doesn't it?
You just can't use filters with remote printers (at least
not with your spooler, which is most probably BSD-like).

"Fixing your lpd" can be done by installing LPRng, for
example.

[...]
> I think the problem is, that $SPOOLDIR is empty.
> But it's set right in /etc/printcap:
> 
> lp|Printer1 auto:\
>     :lp=:\
>     :rm=192.168.0.51:\
>     :rp=:\
>     :if=/etc/apsfilter/basedir/bin/apsfilter:\
>     :sd=/var/spool/lpd/lp:\
>     :lf=/var/spool/lpd/lp/log:\
>     :af=/var/spool/lpd/lp/acct:\
>     :mx#0:\
>     :sh:
> 
> Any hints what's going wrong here?
> 
> Stefan

Is is really that hard to read the FAQ first?
http://www.apsfilter.org/docs/faq/chap-errors.html#AEN189
(in case you don't want to use LPRng).

HTH

Michael