Star Micronics LC24-20 Printer User Manual


 
DOWNLOAD CHARACTER COMMANDS
Define download characters
Mode ASCII
Decimal Hexadecimal
<ESC> “’&” <0>
/1I
27 38 0 /?/
IB 26 00 n/
std.
,,~
nil ml n12
d mo n7/ nd
n2 mo tnl nd
dl
u d.! dl d2 ,.. [!.1”
cl] (I2 (1.1”
Defines one or more new characters and stores them in RAM for
later use. EDS switch A-3 must be set OFF: otherwise RAM is used
as an inputbuffer, notdownloading characters, andthiscommand is
ignored.
n/ is the character code of the first character defined and n2 is the
character code of the last character defined.
n/ must be equal to or
less than }?2.
The data for each character start with three bytes specifying propor-
tional spacing attributes: the first byte, mO,specifies the left of the
character: the second byte,
ml, specifies the character width: the
third byte,
n?2,specifies the right of the character.
These values must not exceed the following maximum limits:
Character mode
nll mo + ml i- n12
Draft
9
12
LQ pica
31
36
I
LQ elite
2’7
30
LQ semi-condensed
21
24
LQ proportional
37
42
Draft super/subscript
7
12
LQ super/subscript
19
36
LQ prop. super/subscript
37 42
Next comesthe dotdata. Normal character height is24dots, sothere
must be 3 x
mf bytes of dot data. If the printer is in super/subscript
mode, however, the character height is 16dots, so there must be 2 x
ml bytes of dot data.
Each databyte indicateseight verticaldots,with themost significant
bit being the top dot, and the least significant bit being the bottom
dot.