Esc gs a n – Star Micronics Line Thermal/Dot Printer User Manual
Page 54

Rev. 0.00
3-42
STAR LIne Mode Command Specifications
ESC GS a n
[Name] Specify position alignment
[Code]
ASCII
ESC
GS
a
n
Hexadecimal
1B
1D
61
n
Decimal
27
29
97
n
[Defined Area]
Thermal
: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”)
Slip
: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”)
Validation
: 0 ≤ n ≤ 2, 48 ≤ n ≤ 50, (“0” ≤ n ≤ “2”)
[Initial Value]
Thermal
: n = 0
Slip
: n = 0
Validation
: n = 0
[Function]
This specifies position alignment for all print data in one line, in the set print region.
n
Position alignment
0, 48
Left alignment
1, 49
Center alignment
2, 50
Right alignment
<Slip>, <Validation>
When page mode is selected, only setting is valid
Setting is valid after switching to line mode.
(Note) The settings by this command are valid for all stations.
ABC
ABCD
<ESC><GS>
” a” 0
ABCDE
ABC
<ESC><GS> “a” 1
ABCD
ABCDE
ABC
<ESC><GS>
“ a” 2
ABCD
ABCDE