
[Range] 0 ≤n ≤255
[Description] Selects or cancels the user-defined character set.
• When the LSB of nis 0, the user-defined character set is canceled, and the built-in
character set is automatically selected.
• When the LSB of nis 1, the user-defined character set is selected.
[Details] • nis available only for the least significant bit.
• When the user-defined character set is canceled, the internal character set is
automatically selected.
[Default] n = 0
[Reference] ESC &,ESC ?
9.ESC & y c1 c2 [ x1 d1 . . . d ( y× x 1 ) ] . . . [ x k d 1 . . . d ( y× x k ) ]
[Name] Define user-defined characters
[Format] ASCII ESC & y c1 c2 [x1 d1...d(y×x1)]...[xk d1... d(y×xk)]
Hex 1B 26 y c1 c2 [x1 d1...d(y×x1)]...[xk d1... d(y×xk)]
Decimal 27 38 y c1 c2 [x1 d1...d(y×x1)]...[xk d1... d(y×xk)]
[Range] y = 2
32 ≤c1 ≤c2≤126
0 ≤x ≤12 Font A (9 x 9)
0 ≤x≤9 Font B(7 x 9)
0 ≤d1 ... d(y x x) ≤255
[Description] Defines user-defined characters.
• yspecifies the number of bytes in the vertical direction.
• c1 specifies the beginning character code for the definition, and c2 specifies the final
code.
• xspecifies the number of dots in the horizontal direction.
[Details] • The allowable character code range is from ASCII code <20>H to <7E>H (95
characters).
• It is possible to define multiple characters for consecutive character codes. If only one
character is desired, use c1 = c2.
• dis the dot data for the characters. The dot pattern is in the horizontal direction from the
left side. Any remaining dots on the right side are blank.
• The data to define a user-defined character is (y ╳x) bytes.
• Set a corresponding bit to 1 to print a dot or 0 to not print a dot.
• This command can define different user-defined character patterns by each fonts. To
select a font, use ESC !
• The user-defined character definition is cleared when:
1) ESC @ is executed.
2) ESC ? is executed.
3) The printer is reset or the power is turned off.
• The max number of characters is 8.
• When the maximum number of user-defined characters is defined, it is possible to
redefine user-defined characters for the defined ASCII code, but not for the new
ASCII code.
[Default] The internal character set
[Reference] ESC %,ESC ?