Article View: alt.msdos.programmer
Article #1508Re: DOS printing ..help please ..
From: Roy
Date: Mon, 09 Apr 2001 20:16
Date: Mon, 09 Apr 2001 20:16
45 lines
2978 bytes
2978 bytes
I am not very sure of how raster graphics works. I believe the character
is drawn up on a eight
by eight or more raster or perhaps less, e.g.:
128 x x sum(1 to 128) = 256dec = FFh
64 x x 16 + 8 = 24dec = 18h
32 x x
16 x x x x x x x x
8 x x x x x x x x this would then produce a eight
digit number: 256,
4 x x 24,24,24,24,24,24,256 by
adding the relative numbers
2 x x together for each column.
Would I then be
1 x x required to send (all in
hex):
"1b 2a 62 8 57 FF 18 18 18 18 18 18 FF" to the printer to print this H
character ?
Have I got it right ?
To reply remove the numeral before the @ in my e-mail address
Christoph Merten wrote in message <3AB06DAA.9A4B65A1@gruppenhaus.de>...
>IOL-News schrieb:
>
>> How do I upload the font myself. Did get to see some useful information
at
>> the HP site about the EURO symbol.But not sure if it will work in DOS.
>
>You can easily send the symbol as a PCL raster graphic [1b 2a 62 #...# 57
>data]. #...# = number of bytes
>you want to upload as data.
>
>or you can change the character code of a special character: [1b 2a 63
#...#
>45]. #...# = character code.
>then you upload the data for this character code: [1b 28 73 #...# 57 data]
>#...# = number of bytes and
>then the data.
>
>hope this helps
>
>ciao chris
Technical Details
Message-ID:
<3ad4b43d.0@news1.mweb.co.za>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!easynews!sjc-peer.news.verio.net!news.verio.net!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!iafrica.com!news1.mweb.co.za!pta-dial-196-31-185-221.mweb.co.zaReferences:
<cCvr6.17070$PF4.21014@news.iol.ie> <Pine.BSF.4.33.0103131941290.361-100000@karry.shadowdale.net> <9wDr6.12717$Lm2.1881289@news0.telusplanet.net> <3AAF892E.465DE870@gruppenhaus.de> <eCQr6.17500$PF4.21918@news.iol.ie> <3AB06DAA.9A4B65A1@gruppenhaus.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f6aa,4c3510a475a253c6 X-Google-Attributes: gid10f6aa,public X-Google-Thread: 102bfa,4c3510a475a253c6 X-Google-Attributes: gid102bfa,public X-Google-Thread: f71eb,4c3510a475a253c6 X-Google-Attributes: gidf71eb,public X-Google-Thread: f79ab,4c3510a475a253c6 X-Google-Attributes: gidf79ab,public X-Google-ArrivalTime: 2001-04-11 12:49:17 PST From: "Roy" <roycor2@mweb.co.za> Newsgroups: alt.msdos.programmer,comp.os.msdos.misc,comp.os.msdos.programmer,ie.comp References: <cCvr6.17070$PF4.21014@news.iol.ie> <Pine.BSF.4.33.0103131941290.361-100000@karry.shadowdale.net> <9wDr6.12717$Lm2.1881289@news0.telusplanet.net> <3AAF892E.465DE870@gruppenhaus.de> <eCQr6.17500$PF4.21918@news.iol.ie> <3AB06DAA.9A4B65A1@gruppenhaus.de> Subject: Re: DOS printing ..help please .. Date: Mon, 9 Apr 2001 22:16:23 +0200 Lines: 60 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 NNTP-Posting-Host: pta-dial-196-31-185-221.mweb.co.za Message-ID: <3ad4b43d.0@news1.mweb.co.za> X-Trace: 11 Apr 2001 21:45:01 +0200, pta-dial-196-31-185-221.mweb.co.za Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!easynews!sjc-peer.news.verio.net!news.verio.net!news-peer-west.sprintlink.net!news.sprintlink.net!enews.sgi.com!iafrica.com!news1.mweb.co.za!pta-dial-196-31-185-221.mweb.co.za