Function
Code
Hex
Initial Value
Remarks
1. Ignores settings that exceed the printing area.
2. When set in the right direction from the current position
with regard to the character direction, this specifies
positive integers and when set in the left direction, this
specifies negative integers.
3. Negative integers are shown with the compliment
65536.
For example, if moving N pitches in the left direction:
n1 + n2 x 256 = 65536 – N.
Alignment
<ESC> <GS> "a" n
1B 1D 61 n
n = 0
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
ESC GS a 0
ABCD
ABCDE
ESC GS a 1
{
ABC
ABCD
ABCDE
ESC GS a 2
– 32 –
{
ABC
ABCD
ABCDE