Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Apr 2003 09:47:12 -0500
From:      Mike Meyer <mwm-dated-1050418033.4b84c2@mired.org>
To:        "Michael Sharp" <ms@probsd.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: hp 940C wants a2ps-letter
Message-ID:  <16021.33776.906320.161222@guru.mired.org>
In-Reply-To: <1067.192.168.1.4.1049935939.squirrel@probsd.org>
References:  <1067.192.168.1.4.1049935939.squirrel@probsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In <1067.192.168.1.4.1049935939.squirrel@probsd.org>, Michael Sharp <ms@probsd.org> typed:
> I have a HP Deskjet 940C and I have installed apsfilter, ghostscript-gnu
> and all dependants. I ran the SETUP to apsfilter and chose the hpijs 940C
> driver, restarted lpd and all went fine. However, I did notice on the
> apsfilter install a2ps failed because its broken, but I recompiled without
> it.
> 
> When I try to print a simple ASCII file, the apsfilter logs say it cant
> fine a2ps.
> 
> Is there someone else out there with a HP Deskjet 940C that might suggest
> an alternative printcap and apsfilterrc setting to get this printer
> working?

The 940C isn't a winprinter - you can print flat ascii files by
printing them raw. That's one of the problems with apsfilter - it
treats every printer as a winprinter.

I use magicfilter instead of apsfilter. I'd be glad to send you my
printcap entry and the dj940c-filter magicfilter script I use. Not
only will this let you print flat ascii without having to convert it
to postscript then to graphics, you'll be able to print PCL and PJL
files. And it's a a lighter printer filter.

If you really want to use apsfilter, you might try enscript instead of
a2ps. You should replace the a2ps command in apsfilterrc with
"enscript -p-".

	<mike
-- 
Mike Meyer <mwm@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16021.33776.906320.161222>