7
Chapter 7 Print Control Codes
58
(14) Defining download characters (ESC & s n m a (D1 D2~Dn))
Code: [1B] h + [26] h + s + n + m + a + Dn
* (s = 03)
(20 n 7E)
(20 m 7E)
(In the case of Font A, (0 a 0C)
(In the case of Font B, (0 a 09)
Data are expressed in Hex code.
This command defines download alphanumeric characters.
s indicates the number of bytes in the vertical direction.
n indicates the starting character code and m indicates the end character code. If
only one character is defined, n is made equal to m.
Definable character codes are within the range (20) H ~ (7E) H of ASCII code. A
total of 95 characters can be defined.
a indicates the number of horizontal dots that are defined.
Dn are the defining data and indicate the pattern of “a” dots from the left end in the
horizontal direction. The pattern remaining on the right end is filled with spaces.
Once it is defined, a download character remains valid until it is redefined, until
ESC @ is executed, until GS * is executed or until the power is switched OFF.
It can be known whether characters are downloaded or not by executing ESC v.
(In the case of Serial only.)