– 22 –
LINE MODE
FUNCTION
Alignment
CODE
<ESC> <GS> “a” n
HEX
1B 1D 61 n
Lines up all print data in one line to the specified position.
Alignment positions are shown below.
n Alignment Position
0 Left
1 Center
2 Right
The value of n can be set to 0 (00H) to 2 (02H) or "0" (30H) to
"2"(32H).
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
ABC
ABCD
ABCDE
{
ESC GS a 2
{
ESC GS a 1
}
ESC GS a 0
1. Enabled only when input at the beginning of the line.
2. Aligns positions in the set printing width.
3. Position alignment occurs for the data that is skipped using the
following commands.
a. Horizontal tab (HT)
b. Absolute position (ESC GS A)
c. Relative position (ESC GS R)
REMARKS