▪ For SRP-372 :
- When a paper width of 80mm{3.15"} is selected :
(xL + xH x 256) = 0 (xL=0, xH=0)
(yL + yH x 256) = 0 (yL=0, yH=0)
(dxL + dxH x 256) = 576 (dxL=64, dxH=2)
(dyL + dyH x 256) = 1476 (dyL=196, dyH=5)
- When a paper width of 60mm{2.36"} is selected :
(xL + xH x 256) = 0 (xL=0, xH=0)
(yL + yH x 256) = 0 (yL=0, yH=0)
(dxL + dxH x 256) = 380 (dxL=128, dxH=1)
(dyL + dyH x 256) = 1476 (dyL=196, dyH=5)
[Description]
▪ Set the position and the size of the printing area.
- Horizontal starting position = [(xL + xH x 256) x (horizontal motion unites)].
- Vertical starting position = [(yL + yH x 256) x (vertical motion unites)].
- Horizontal printing area width = [(dxL + dxH x 256) x (horizontal motion unites)].
- Vertical printing area width = [(dyL + dyH x 256) x (vertical motion unites)].
▪ The maximum printable area is 117.263mm {1662/360"} maximum.
ESC \ nL nH
[Name]
Set relative print position.
[Format]
ASCII
ESC
Hex
1B
Decimal
27
[Range]
0 ≤ (nL + nH x 256) ≤ 65535 (0 ≤ nL 255, 0 ≤ nH ≤ 255)
[Description]
▪ Set the print starting position based on the current position to [(nL + nH
× 256) × horizontal or vertical motion unit]
- When (nL + nH × 256) is positive number, the print starting position is
specified to the right based on the current position.
- When (nL + nH × 256) is negative number, the print starting position is
specified to the left based on the current position.
ESC a n
[Name]
Select justification.
[Format]
ASCII
ESC
Hex
1B
Decimal
27
[Range]
0 ≤ n ≤2, 48 ≤ n ≤50
[Default]
n=0
[Description]
▪ In standard mode, aligns all the data in one line to the position specified by n as follows :
n
Justification
0, 48
Left justification
1, 49
Centering
2, 50
Right justification
nL
nH
\
5C
nL
nH
92
nL
nH
a
n
61
n
97
n
52
ESC c 3 n
[Name]
Select paper sensor(s) to output paper end signals.
[Format]
ASCII
ESC
Hex
1B
Decimal
27
[Range]
0 ≤ n ≤ 255
[Default]
n=0
[Description]
▪ Selects the paper sensor(s) to output paper end signals when a paper end
is detected.
Bit
Off/On
Hex
Decimal
0
Off
00
0
On
01
1
1
Off
00
0
On
02
2
2
Off
00
0
On
04
4
3
Off
00
0
On
08
8
4~7
-
-
-
[Note]
▪ This command is available only with a parallel interface and is ignored
with a serial interface.
ESC c 4 n
[Name]
Select paper sensor(s) to stop printing.
[Format]
ASCII
ESC
Hex
1B
Decimal
27
[Range]
0 ≤ n ≤ 255
[Default]
n=0
[Description]
▪ Selects the paper sensor(s) to use to stop printing when a paper end is
detected.
Bit
Off/On
Hex
Decimal
0
Off
00
0
On
01
1
1
Off
00
0
On
02
2
2~7
-
-
-
c
3
n
63
33
n
99
51
n
Function
Paper roll near-end sensor disable.
Paper roll near-end sensor enable.
Paper roll near-end sensor disable.
Paper roll near-end sensor enable.
Paper roll end sensor disable.
Paper roll end sensor enable.
Paper roll end sensor disable.
Paper roll end sensor enable.
Reserved.
c
4
n
63
34
n
99
52
n
Function
Paper roll end sensor disable.
Paper roll end sensor enable.
Paper roll end sensor disable.
Paper roll end sensor enable.
Reserved.
53