ESC/ P Command Reference

Table Of Contents
ESC/P Command Reference
- 109 -
5. Control Command Details
ESC iXA2 Select default alignment
ASCII: ESC i X A 2 01h 00h n1
Hexadecimal: 1B 69 58 41 32 01 00 n1
Parameters
00hn102h
Description
Selects the default alignment.
n1=00h:
Left alignment (*Manufacturers default)
n1=01h:
Center alignment
n1=02h:
Right alignment
This command is a static command.
Remarks
Invalid if n1 is a value outside of the allowable range
ESC iXA1 Retrieve default alignment
ASCII: ESC i X A 1 00h 00h
Hexadecimal: 1B 69 58 41 31 00 00
Parameters
None
Description
The default alignment setting is returned as 3-byte data.
[1]
01h (Fixed)
[2]
00h (Fixed)
[3]
Setting
00h: Left alignment
01h: Center alignment
02h: Right alignment
The retrieved value is a value specified by a static command.