Subject: Re: Printing with lpd.
To: None <netbsd-users@netbsd.org>
From: Andy Ball <andy.ball@earthlink.net>
List: netbsd-users
Date: 05/15/2006 05:40:45
Hello Ben,

   BC> Does your filter produce the desired output when you
     > pipe it directly to lpa0?

I will check this when I'm physically near the machine.

   BC> Do you see errors in /var/log/lpd-errs?

Several instances of...

    Apr 13 18:14:31 hunter lpd[24111]: cannot execv /usr/loca
    l/libexec/lpfilter
    Apr 13 18:14:31 hunter lpd[5777]: lp: job could not be pr
    inted (cfA000hunter)

...which I think is a clue. Who should own lpfilter and what
permissions should apply?  At present it's...

    # ls -l lpfilter
    -rwxr-xr-x  1 daemon  daemon  72 Apr 13 18:17 lpfilter

   BC> What does lpq -a show?

Nothing.  I'm not sure if this is because I ran lprm,
because I rebooted or because lpr didn't queue them when it
couldn't run lpfilter.

Thanks for your help,
   - Andy Ball