
Technical Updates SNBC CONFIDENCIAL
Shandong New Beiyang Information Technology Co.,Ltd.
Page 31
GS $ nL nH
[Name]
Set absolute vertical print position in page mode
[Format]
ASCII
GS
$
nL nH
Hex
1D
24
nL
nH
Decimal
29
36
nL nH
[Range]
0
≤
nL
≤
255, 0
≤
nH
≤
255
[Description] · Sets the absolute vertical print starting position in page mode.
· This command sets the absolute print position to [(nL + nH × 256) × (vertical or
horizontal motion unit)] inches.
[Notes]
· This command is effective only in page mode.
· If the [(nL + nH × 256) × (vertical or horizontal motion unit)] exceeds the
specified printing area, this command is ignored.
· After the command is executed, the horizontal starting buffer position does not move.
· The reference starting position is specified by
ESC T
.
· This command operates as follows, depending on the starting position of the
printing area specified by
ESC T
:
①
When the starting position is set to the upper left or lower right, this
command sets the absolute position in the vertical direction.
②
When the starting position is set to the upper right or lower left, this
command sets the absolute position in the horizontal direction.
[Reference]
ESC $, ESC T, ESC W, ESC \, GS \
GS ( A pL pH n m
[Name]
Execute test print
[Format]
ASCII GS ( A pL pH n m
Hex
1D 28 41 pL pH n m
Decimal 29 40 65 pL pH n m
[Range]
( pL+( pH × 56))=2 ( pL=2, pH=0)
0
≤
n
≤
2, 48
≤
n
≤
50
1
≤
m
≤
6, 49
≤
m
≤
54
[Description] · Executes a test print, n and m shall specifies the printing mode
n specifies the paper to be tested.
n
Paper
0, 48
Basic sheet (paper roll)
1, 49
2, 50
Paper roll
m specifies a test pattern.
m Test
pattern
1, 49
Hexadecimal dump
2, 50
Printer status print
3, 51
Reserved
4, 52
Start paper checkout process
5, 53
Reserved