Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 1998 21:47:21 -0500
From:      Jim Holthaus <jim@holthaus.com>
To:        Matt Storch <mstorch@bestweb.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Trying to configure HP Deskjet
Message-ID:  <v04003a01b21b9c23043c@[192.168.2.3]>
In-Reply-To: <35F5A5E9.2B5FAFA3@bestweb.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>    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 (<STDIN>) {
  s/\n/\cJ\cM/g;
  print;
}
print "\f";


--
Jim Holthaus
jim@holthaus.com              <http://www.holthaus.com/>;



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?v04003a01b21b9c23043c>