Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 11:37:40 +0100
From:      Mark Ovens <marko@freebsd.org>
To:        jason <jason@welsh.dynip.com>
Cc:        questions@freebsd.org
Subject:   Re: printing text with deskjet 842
Message-ID:  <20000828113740.A254@parish>
In-Reply-To: <Pine.BSF.4.10.10008262041050.82958-100000@welsh.dynip.com>; from jason@welsh.dynip.com on Sat, Aug 26, 2000 at 08:43:00PM -0400
References:  <20000827005328.A255@parish> <Pine.BSF.4.10.10008262041050.82958-100000@welsh.dynip.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000828113740.A254>