From owner-freebsd-questions Mon Aug 28 3:38:23 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id 8DAF537B42C for ; Mon, 28 Aug 2000 03:38:15 -0700 (PDT) Received: from parish.my.domain ([62.253.85.56]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000828103807.PVOY26680.mta01-svc.ntlworld.com@parish.my.domain>; Mon, 28 Aug 2000 11:38:07 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id LAA01743; Mon, 28 Aug 2000 11:37:40 +0100 (BST) (envelope-from mark) Date: Mon, 28 Aug 2000 11:37:40 +0100 From: Mark Ovens To: jason Cc: questions@freebsd.org Subject: Re: printing text with deskjet 842 Message-ID: <20000828113740.A254@parish> References: <20000827005328.A255@parish> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from jason@welsh.dynip.com on Sat, Aug 26, 2000 at 08:43:00PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Aug 26, 2000 at 08:43:00PM -0400, jason wrote: > 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.. > You need ``:sh:'' in your printcap entry, which you have, so it shouldn't be the burst page. > > thanks for the help. > > regards, > Jason > > > -- > ======================================================================= > | Jason Welsh jason@welsh.dynip.com | If you think there's | > | | good in everybody, you | > | http://welsh.dynip.com/ | haven't met everybody. | > ======================================================================= > > > On Sun, 27 Aug 2000, Mark Ovens wrote: > > > -questions added to Cc: > > > > 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. > > > > 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 > > > > > > #!/bin/sh > > > # > > > # ifhp - Print Ghostscript-simulated PostScript on a DeskJet 500 > > > # Installed in /usr/local/libexec/hpif > > > > > > # > > > # Treat LF as CR+LF: > > > # > > > printf "\033&k2G" && cat && printf "\033&l0H" && exit 0 > > > > > > any other suggestsions? should it really be that simple? > > > do you have an hp printer that this is working with? > > > > > > > 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. > > > > Did you try my filter file on your system? > > > > My /etc/printcap entry is: > > > > hpdj|deskjet|Hewlett Packard DeskJet 610C:\ > > :lp=/dev/lpt0:sh:sd=/var/spool/lpd/:mx#0:\ > > :if=/usr/local/libexec/hpif: > > > > > > > thanks for your time and suggestions. > > > > > > regards, > > > Jason > > > > > > > > > -- > > > ======================================================================= > > > | Jason Welsh jason@welsh.dynip.com | If you think there's | > > > | | good in everybody, you | > > > | http://welsh.dynip.com/ | haven't met everybody. | > > > ======================================================================= > > > > > > > > > > > > > -- > > 4.4 - The number of the Beastie > > ________________________________________________________________ > > 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org > > 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark > > mailto:marko@freebsd.org http://www.radan.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- 4.4 - The number of the Beastie ________________________________________________________________ 51.44°N FreeBSD - The Power To Serve http://www.freebsd.org 2.057°W My Webpage http://ukug.uk.freebsd.org/~mark mailto:marko@freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message