ESC/P Command Reference
- 45 -
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
z
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.
z
The default setting is n=0.
z
Data is aligned between the left and right margins by entering a CR, LF, and FF code or by buffer printing.
z
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.
z
HT, ESC \ and ESC $ are ignored when n=1 or n=2.
z
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.
Содержание RuggedJet RJ-4040
Страница 1: ...Software Developer s Manual ESC P Command Reference RJ 4030 4040 Version 1 0 ...
Страница 111: ......