Esc a specify alignment, Esc a, Specify alignment – Brother TD-2120N User Manual
Page 54

ESC/P Command Reference
- 48 -
5. Control Command Details
ESC a
Specify alignment
ASCII: ESC
a
n
Decimal: 27
97
n
Hexadecimal: 1B
61
n
Parameters
0≤n≤3 or “0”≤n≤“3”
Description
Prints the subsequent text with the alignment described below, according to the value of n.
n=0 or 48 (“0”): Applies left alignment.
n=1 or 49 (“1”): Applies center alignment.
n=2 or 50 (“2”): Applies right alignment.
n=3 or 51 (“3”): Applies nothing.
The default setting is n=0.
Data is aligned between the left and right margins by entering a CR, LF, and FF code or by buffer printing.
If the alignment setting is not at the beginning of the line, the alignment is specified after a line feed.
The beginning of the line indicates the left margin position for left alignment;
for right and center alignment, it means that no image or character is entered on the line.
HT, ESC \ and ESC $ are ignored when n=1 or n=2.
If the print media is continuous length tape, the printing orientation is landscape and the page length is not
specified, commands specifying alignment are ignored.