From owner-freebsd-questions Sat Aug 26 17:43:15 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail4.nc.rr.com (fe4.southeast.rr.com [24.93.67.51]) by hub.freebsd.org (Postfix) with ESMTP id 5CB7437B422 for ; Sat, 26 Aug 2000 17:43:05 -0700 (PDT) Received: from welsh.dynip.com ([24.162.231.59]) by mail4.nc.rr.com with Microsoft SMTPSVC(5.5.1877.357.35); Sat, 26 Aug 2000 20:42:52 -0400 Received: (qmail 86510 invoked by uid 1000); 27 Aug 2000 00:43:03 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Aug 2000 00:43:01 -0000 Date: Sat, 26 Aug 2000 20:43:00 -0400 (EDT) From: jason To: Mark Ovens Cc: questions@freebsd.org Subject: Re: printing text with deskjet 842 In-Reply-To: <20000827005328.A255@parish> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG woo hoo! that worked.. kinda. I got the correct print test, i.e. !"#$%&'()*+,-./01234 "#$%&'()*+,-./012345 #$%&'()*+,-./0123456 $%&'()*+,-./01234567 %&'()*+,-./012345678 but I got a page of gibberish before that page printed.. ;) actually, I think it was the header page. I saw where to disable that somewhere.. thanks for the help. regards, Jason -- =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D | Jason Welsh jason@welsh.dynip.com | If you think there's | | | good in everybody, you | | http://welsh.dynip.com/ | haven't met everybody. | =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On Sun, 27 Aug 2000, Mark Ovens wrote: > -questions added to Cc: >=20 > You should leave -questions in the Cc: because there is no guarantee > that I can solve your problem and others following the thread may be > able to, but not if they don't see the thread. >=20 > On Sat, Aug 26, 2000 at 05:07:09PM -0400, jason wrote: > > well, I saw that example and tried it and it didnt work. I tried it > > again.. > > Heres exactly what I have in that file > >=20 > > #!/bin/sh > > # > > # ifhp - Print Ghostscript-simulated PostScript on a DeskJet 500 > > # Installed in /usr/local/libexec/hpif > >=20 > > # > > # Treat LF as CR+LF: > > # > > printf "\033&k2G" && cat && printf "\033&l0H" && exit 0 > >=20 > > any other suggestsions? should it really be that simple? > > do you have an hp printer that this is working with? > >=20 >=20 > Yes, an HP 610C. I d/l a PCL command list from HP's website, > http://www.hp.com, which confirms these ESC sequences as the correct > ones, for my printer at least. Perhaps you should check your printer > out there, although I doubt that such basic functionality will differ > between different models. >=20 > Did you try my filter file on your system? >=20 > My /etc/printcap entry is: >=20 > hpdj|deskjet|Hewlett Packard DeskJet 610C:\ > =09:lp=3D/dev/lpt0:sh:sd=3D/var/spool/lpd/:mx#0:\ > =09:if=3D/usr/local/libexec/hpif: >=20 >=20 > > thanks for your time and suggestions. > >=20 > > regards, > > Jason > >=20 > >=20 > > -- > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > | Jason Welsh jason@welsh.dynip.com | If you think there's | > > | | good in everybody, you | > > | http://welsh.dynip.com/ | haven't met everybody. | > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > >=20 > >=20 > >=20 >=20 > --=20 > =09=094.4 - The number of the Beastie > ________________________________________________________________ > 51.44=B0N FreeBSD - The Power To Serve http://www.freebsd.org > 2.057=B0W My Webpage http://ukug.uk.freebsd.org/~mark > mailto:marko@freebsd.org http://www.radan.com >=20 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message