0x1B 0x26
<ESC &>
Defines user-defined characters
Valid for
TG02H
[Format]
ASCII
ESC &
y
c1 c2
Hex
1B 26 y c1 c2
Decimal
27 37 y c1 c2
[Range]
y = 3
32 ≤ c1 ≤ c2 ≤ 126
0 ≤ x ≤ 16 (Font (18 x 24))
0 ≤ x ≤ 13 (Font (13 x 24))
0 ≤ x ≤ 10 (Font 10 x 24)
0 ≤ d1 … d (y × xk) ≤ 255
k = c2 – c1 + 1
[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.
X specifies the number of dots in the horizontal direction.
[Notes]
• The allowable character code range is from ASCII 0x20 (32) to 0x7E (126) (95 characters).
• It is possible to define multiple characters for consecutive character codes.
If only one character is desired, use c1 = c2.
• if c2 < c1, the command is not executed.
• d is the dot data for the characters. The dot pattern is in the horizontal direction starting from the
left. Any remaining dots on the right remain blank.
• The data to define a user-defined character is ( X × Y) bytes.
• To print a dot, set the corresponding bit to 1; to not have it print, set to 0.
• This command can define different user-defined character patterns for each font. To select the font,
use 0x1B 0x21.
• The user-defined character definitions are cleared when:
0x1B 0x40 or 0x1D 0x2A are executed or the printer is reset or the power shut off.
[Default]
Internal character set.
[Reference]
ESC/POS™ emulation
│ 29
Содержание TG02H
Страница 1: ...COMMANDS MANUAL TG02H ...
Страница 3: ...ESC POS EMULATION INTRODUCTION ...
Страница 4: ......
Страница 7: ...ESC POS emulation ...
Страница 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Страница 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Страница 98: ...98 ESC POS emulation ...
Страница 99: ......