BYTE MEANING

o-1 headerlength

2blank

3font size

4-5 blank

6-7 baselinepositionfor characters

8 blank

9cell width

10 blank

11 cell height

12 orientation

13 spacing

14-15 symbolset

16-17 pitch

18-19 line spacing

20-22 blank

23 style

24 strokeweight

25 typeface

3)Positioning each character in your font

Beforeyoudownloadeachcharacteryouhaveto telltheprinterwherein its font tableto put it. You indicatewhereby sendingthis command:

<<ESC> *C n E

For n youputthedecimalnumber,betweenOand255,of thepositionin the font table whereyou want yourcharacterstored.

Yourprinter’sfonttableisjust like the ASCIItable.Beforeyou sendeach character,sayg, youhaveto saywhereyouwantto putit. IntheASCIItable,

gis at decimalposition 103.So you send this command: <ESC> *C 103E

And immediatelyafter it you send the bits that make up the characterg.

4)Describing each character in your font

The next step is to describeeach of yourcharacters,“mapping”whereyou wanteach dot to go. Send this commandbeforeeach character:

<ESC> (S n W

For n you enterthe numberof bytes you’llbe sendingafter this command,

87

Page 95
Image 95
Star Micronics 8 Series manual Byte Meaning