Star Micronics 4 Printer User Manual


 
MEANING
o-1
headerlength
2 blank
3
fontsize
4-5 blank
6-7
baselinepositionfor charactem
8
blank
9
cellwidth
10
blank
11
cellheight
12
orientation
13 spacing
14-15 symbolset
16-17 pitch
18-19 line spacing
20-22 blank
23 style
24
strokeweight
25 typeface
3) Positioningeachcharacterin your font
Beforeyoudownloadeachcharacteryouhavetotelltheprinterwherein its
fonttableto putit. Youindicatewhereby sendingthis command:
<ESC>
*C n E
Fornyouputthedecimalnumber,betweenOand255,ofthepositioninthe
fonttablewhereyouwantyourcharacterstored.
Yourprinter’sfonttableisjust liketheASCIItable.Beforeyousendeach
character,sayg, youhavetosaywhereyouwanttoputit.IntheASCIItable,
g is at decimalposition103.Soyou sendthiscommand:
<ESC>
*C 103E
Andimmediatelyafterit yousendthebits thatmakeup the characterg.
4) Describing each character in your font
Thenextstepisto describeeachof yourcharacters,“mapping”whereyou
wanteach dotto go.Sendthiscommandbeforeeachcharacter:
<ESC>
(Sn W
For n youenterthenumberofbytesyou’llbe sendingafterthis command,
81