From owner-freebsd-questions Tue Sep 8 19:48:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA04641 for freebsd-questions-outgoing; Tue, 8 Sep 1998 19:48:55 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from abby.skypoint.net (abby.skypoint.net [199.86.32.252]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA04624 for ; Tue, 8 Sep 1998 19:48:50 -0700 (PDT) (envelope-from jim@holthaus.com) Received: from [192.168.2.3] (dial668.skypoint.net [199.86.47.168]) by abby.skypoint.net (8.8.7/jl 1.3) with ESMTP id VAA29663; Tue, 8 Sep 1998 21:48:31 -0500 (CDT) X-Sender: holthaus (Unverified) Message-Id: In-Reply-To: <35F5A5E9.2B5FAFA3@bestweb.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 8 Sep 1998 21:47:21 -0500 To: Matt Storch From: Jim Holthaus Subject: Re: Trying to configure HP Deskjet Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Despite having read the printer setup guide in the handbook, and >having looked for information on HP's web site. I cannot get my HP >Deskjet 540 to work under FreeBSD. The contents of my input filter >(/usr/local/libexec/if) are: > >printf "\O33&k2G" && cat && printf "\f" && exit 0 >exit 2 > I have a DeskJet 500 and all works fine with my filter. Note that you will need perl for this to work. #!/usr/bin/perl while () { s/\n/\cJ\cM/g; print; } print "\f"; -- Jim Holthaus jim@holthaus.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message