0x1B 0x61
<ESC a>
Select justification
Valid for
TG02H
[Format]
ASCII
ESC a
n
Hex
1B 61 n
Decimal
27 97 n
[Range]
0 ≤ n ≤ 2
48 ≤ n ≤ 50
[Description]
Aligns all data in one line to the specified position. n selects the type of justification as follows:
n
JUSTIFICATION
0, 48
Flush left
1, 49
Centered
2, 50
Flush right
[Notes]
• This command is only enabled when inserted at the beginning of a line.
• Lines are justified within the specified printing area.
• Spaces set by 0x09, 0x1B 0x24 and 0x1B 0x5C will be justified according to the previously-entered
mode.
[Default]
n = 0
[Reference]
[Example]
Flush left
Centered
Flush right
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ESC/POS™ emulation
│ 55
Summary of Contents for TG02H
Page 1: ...COMMANDS MANUAL TG02H ...
Page 3: ...ESC POS EMULATION INTRODUCTION ...
Page 4: ......
Page 7: ...ESC POS emulation ...
Page 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Page 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Page 98: ...98 ESC POS emulation ...
Page 99: ......