From owner-freebsd-questions Wed Nov 1 12:51:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from relay.intercom.es (relay.intercom.es [212.66.160.20]) by hub.freebsd.org (Postfix) with ESMTP id D269437B4CF for ; Wed, 1 Nov 2000 12:51:11 -0800 (PST) Received: from lix.intercom.es (root@lix.intercom.es [212.66.160.2]) by relay.intercom.es (8.9.3/8.9.3) with ESMTP id UAA20469; Wed, 1 Nov 2000 20:39:50 +0100 Received: from intercom.es (iv2-201.intercom.es [212.66.169.201]) by lix.intercom.es (8.9.3/8.9.3) with ESMTP id VAA13401; Wed, 1 Nov 2000 21:47:33 +0100 Received: (from megarcia@localhost) by intercom.es (8.11.0/8.11.0) id eA1Kq3D01873; Wed, 1 Nov 2000 21:52:03 +0100 (CET) (envelope-from megarcia) Date: Wed, 1 Nov 2000 21:52:03 +0100 From: Manuel Enrique Garcia Cuesta To: Tom Parquette Cc: freebsd-questions@FreeBSD.ORG Subject: Re: HP Series II print filter Message-ID: <20001101215203.D748@ilex.kicelo.org> Mail-Followup-To: Tom Parquette , freebsd-questions@FreeBSD.ORG References: <3A007B96.633FDB79@twcny.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <3A007B96.633FDB79@twcny.rr.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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