From owner-freebsd-questions Sat Aug 26 16:53:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta06-svc.ntlworld.com (mta06-svc.ntlworld.com [62.253.162.46]) by hub.freebsd.org (Postfix) with ESMTP id 3D56437B42C for ; Sat, 26 Aug 2000 16:53:52 -0700 (PDT) Received: from parish.my.domain ([62.255.99.42]) by mta06-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000826235350.MMAW312.mta06-svc.ntlworld.com@parish.my.domain>; Sun, 27 Aug 2000 00:53:50 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id AAA00419; Sun, 27 Aug 2000 00:53:28 +0100 (BST) (envelope-from mark) Date: Sun, 27 Aug 2000 00:53:28 +0100 From: Mark Ovens To: jason Cc: questions@freebsd.org Subject: Re: printing text with deskjet 842 Message-ID: <20000827005328.A255@parish> References: <20000826215153.C257@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 05:07:09PM -0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -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