Date: Wed, 1 Nov 2000 21:52:03 +0100 From: Manuel Enrique Garcia Cuesta <megarcia@intercom.es> To: Tom Parquette <tparquet@twcny.rr.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: HP Series II print filter Message-ID: <20001101215203.D748@ilex.kicelo.org> In-Reply-To: <3A007B96.633FDB79@twcny.rr.com> References: <3A007B96.633FDB79@twcny.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, === Tom Parquette escribia (Wed, Nov 01, 2000 at 03:22:46PM -0500): > Please CC me on any replies. TIA. > > I'm trying to get my old HP Laserjet Series II to work with FreeBSD > 4.1.1-RELEASE. > For straight text, e.g. lpr of rc.conf, it works as expected. > When I try to print from Netscape (under enlightenment under Xfree86) I > get raw postscript on the paper. (I know my old Laserjet does not > understand Postscript.) > > Looking at the archives and the man pages, I believe I have to send my > Postscript print through Ghostscript. (I have installed V5.50a.) > > Nothing I have found gives me a clue how to rewrite the print filter for > the laserjet to preprocess postscript using Ghostscript. My 'vanilla' > filter looks like this: > #!/bin/sh > printf "\033&k2G" && cat && printf "\033&l0H" && exit 0 > exit 2 See if /usr/share/examples/printing/ifhp gives you some clue. You might have to change djet500 to something different though; launch gs, at the prompt type devicenames == and choose for your filter the one that fits you better. Maybe ljet2p or laserjet, I suppose you can just try. > > Any help would be appreciated. > Cheers... > -- Manuel Garcia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001101215203.D748>