BYTE
o-1
2
3
4-5
6-7
8
9
10
11
12
13
14-15
16-17
18-19
20-22
23
24
25
MEANING
headerlength
blank
fontsize
blank
baselinepositionfor characters
blank
cell width
blank
cellheight
orientation
spacing
symbolset
pitch
linespacing
blank
style
strokeweight
typeface
3)
Positioning each character in your font
Beforeyoudownloadeachcharacteryouhavetotelltheprinterwherein its
fonttableto put it. Youindicatewhereby sendingthiscommand:
<<ESC>
*C n E
Forn youputthedecimalnumber,betweenOand255,of thepositioninthe
fonttablewhereyou wantyourcharacterstored.
Yourprinter’sfonttableisjust liketheASCIItable.Beforeyousendeach
character,sayg, youhavetosaywhereyouwanttoputit.IntheASCIItable,
g is atdecimalposition103.So you sendthiscommand:
<ESC>
*C 103E
Andimmediatelyafterit yousendthebits thatmakeup the characterg.
4)
Describing each character in your font
Thenextstepis to describeeachof yourcharacters,“mapping”whereyou
wanteach dot to go. Sendthiscommandbeforeeachcharacter:
<ESC>
(S n W
For n youenterthenumberofbytesyou’llbe sendingafterthiscommand,
87