From owner-freebsd-questions Wed Nov 1 12:23:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from a99201.mony.com (mail-ext.mony.com [206.67.239.66]) by hub.freebsd.org (Postfix) with ESMTP id 7F03937B479 for ; Wed, 1 Nov 2000 12:23:20 -0800 (PST) Received: from twcny.rr.com (ds214027.soc.mony.com [141.191.214.37]) by a99201.mony.com (8.9.3 (PHNE_18979)/8.9.1) with ESMTP id PAA04423 for ; Wed, 1 Nov 2000 15:23:12 -0500 (EST) Message-ID: <3A007B96.633FDB79@twcny.rr.com> Date: Wed, 01 Nov 2000 15:22:46 -0500 From: Tom Parquette X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: HP Series II print filter Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 Any help would be appreciated. Cheers... -- Try not. Do or do not. Is no try. -- Yoda To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message