Subject: Re: lp: job could not be printed (cfA795limes)
To: Pierre-Philipp Braun <ppwb@club-internet.fr>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 05/05/2003 21:46:07
On Mon, 5 May 2003 22:21:59 +0000 (UTC), Pierre-Philipp Braun  wrote:
> 
> /var/log/lpd-errs: May  5 23:52:57 harass lpd[24505]: lp: job could not
> be printed (cfA795limes)
> 
> nothing wrong on limes's /var/log/lpd-errs btw.
> 
> /etc/printcap on harass:
> lp|ljet4l;r=300x300;q=medium;c=gray;p=a4;m=auto:\
>     :lp=/dev/lpt0:\
>     :if=/usr/pkg/etc/apsfilter/basedir/bin/apsfilter:\
          converting input to printer format ^^^^^^^^^
>     :sd=/var/spool/lpd/lp:\
>     :lf=/var/spool/lpd/lp/log:\
>     :af=/var/spool/lpd/lp/acct:\
>     :mx#0:\
>     :sh:
> 
> /etc/printcap on limes:
> lp|ljet4l;r=300x300;q=medium;c=gray;p=a4;m=auto:\
>     :lp=:\
>     :rm=harass:\
>     :rp=lp:\
>     :if=/etc/apsfilter/basedir/bin/apsfilter:\
     converting ps to printer format ^^^^^^^^^

I would think the trouble is that limes converts ps to printer format, but
harass is also expecting postscript input.  I think you need a queue on
harass that goes "straight through", with no input filter.  Then point lp
on limes to that queue.  

I'm not an expert.  I just looks wrong to me.  

--jkl