Subject: Re: getting there with printing
To: Andrew Crossley <toast@iinet.net.au>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-users
Date: 02/25/2000 15:41:00
On Fri, Feb 25, 2000 at 10:02:41PM -0800, Andrew Crossley wrote:
> now i.ve got the printer working under X and kde.
> 
> Can't seem to get rid of the header page and i still have staircasing under the
> console.  Here is my printcap.

> #	$NetBSD: printcap,v 1.4 1997/02/15 10:02:22 mikel Exp $
> #	from: @(#)printcap	8.1 (Berkeley) 6/9/93
> /usr/local/bin/magicfilter
> lp|local line printer:\
> 	:sh=true:lp=/dev/lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:if=/usr/local/libexec/magicfilter/bj200-filter:

Make that

# printcap file

lp|local line printer: \
  :sh:lp=/dev/lp:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs: \
  :if=/usr/local/libexec/magicfilter/bj200-filter:


You set boolean variables like sh just with "sh"; I don't understand
the purpose of this /usr/local/bin/magicfilter line (remove it).

If you still get the staircasing now, you'll have to edit the
/usr/local/libexec/magicfilter/bj200-filter file, the very last line
deals with normal text. 

Just comment it out and add the last line from the deskjet-filter.
Deskjets suffer from the "staircasing" problem as well if fed with
normal text without special filtering, so this might help.
-- 
Dies ist Thilos Unix Signature! Viel Spass damit.