4241
Control commands list
Chapter 5
ESC % n
[Name] Select/cancel user-defined character set
[Format] ASCII ESC % n
Hex 1B 25 n
Decimal27 37 n
[Range] 0 n 255
[Description] Selects or cancels the user-defined character set.
When the Least Significant Bit (LSB) is 0, the user-defined character
set is canceled and the internal character set is enabled.
When the LSB is 1, the user-defined character set is selected.
[Notes]
When the downloaded character set has been released,
the internal character set is specified automatically.
[Default] n = 0
[Reference] ESC &, ESC ?
ESC & y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)]
[Name] Define user-defined characters
[Format] ASCII ESC & y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)]
Hex 1B 26 y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)]
Decimal27 38 y c1 c2 [x1 d1...d(y x x1)]...[ xk d1... d(y x xk)]
[Range] y = 2
32 c1 c2 255
0 x 14 (Font A)
0 x 12 (Font B)
0 d1 ... d(y x x) 255
[Description] Defines user-defined characters.
y specifies the number of bytes in the vertical direction.
c1 specifies the beginning character code for the definition, and c2
specifies the final code. When only one character is desired, use c1 = c2.
x specifies the number of dots in the horizontal direction.
[Notes]
Consecutive character codes for multiple characters can be defined in
one definition. When specifying only one character, specify c1 = c2.
"d" is definition data that indicates the pattern for " x" dots in the horizontal
direction starting from the left edge. If " x" does not satisfy the number of
dots in the character configuration pattern, the remaining dots on the right
are spaces.
The number of bytes required to download a character definition for one
character is " y" x " x".
In the definition data, a "1" represents a dot that is to be printed, and a "0"
represents a dot that is not to be printed.
Independent downloaded character definitions are possible for each font.
The font is selected by the "ESC !" command.
The defined downloaded characters are cleared in the following
circumstances:
1) When "ESC @" is executed
2) When deleted by "ESC ?"
3) When the printer is reset or turned off
[Default] The internal character set
[Reference] ESC %, ESC ?