Esc Gs A N1 N2; Esc Gs R N1 N2; Esc Gs A N - Star StarPRNT SM-L Series Command Specifications

Line thermal printer
Table of Contents

Advertisement

ESC GS A n1 n2

[Name]
Move absolute position
[Code]
ASCII
ESC GS
Hex.
1B
Decimal
27
[Defined Area]
0≤n1≤255
0≤n2≤255
[Initial Value]
- - -
[Function]
Moves the printing position from the left margin to the (n1 + n2 x 256) position.
This command is ignored if the print region is exceeded.
If print data is overlapped when moved to the left, the old print data is overwritten by new data
(that is, only the portion overlapped by the new data is lost).

ESC GS R n1 n2

[Name]
Move relative position
[Code]
ASCII
ESC GS
Hex.
1B
Decimal
27
[Defined Area]
0≤n1≤255
0≤n2≤255
[Initial Value]
- - -
[Function]
Moves the printing position from the current position to the (n1 + n2 x 256) position.
This command is ignored if the print region is exceeded.
When (n1 + n2 x 256) ≥ 32768, it moves {65536 – (n1 + n2 x 256)} dots in the left direction.
When (n1 + n2 x 256) < 32768, it moves (n1 + n2 x 256)} dots in the right direction.
If print data is overlapped when moved to the left, the old print data is overwritten by new data
(that is, only the portion overlapped by the new data is lost).

ESC GS a n

[Name]
Specify position alignment
[Code]
ASCII
ESC GS
Hex.
1B
Decimal
27
[Defined Area]
0≤n≤2
48≤n≤50 ("0"≤n≤"2")
[Initial Value]
n = 0
[Function]
Specifies the alignment position in the printing region that has been set.
n
0, 48
1, 49
2, 50
Star PRNT Command Specifications
A
n1
n2
1D
41
n1
n2
29
65
n1
n2
R
n1
n2
1D
52
n1
n2
29
82
n1
n2
a
n
1D
61
n
29
97
n
Position alignment
Left alignment
Center alignment
Right alignment
2-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents