82
GS r n
[Name]
[Format]
[Range]
[Description]
Transmit status.
ASCII GS r n
Hex 1D
72
n
Decimal 29 114 n
n=1, 2, 49, 50
▪
Transmits the normal status specified by n as follows :
n Function
1, 49
Transmits paper sensor status.
2, 50
Transmits drawer kick-out connector status.
▪
Paper sensor status (n=1, 49) :
Bit Off/On
Hex Decimal Function
Off 00 0 Paper roll near-end sensor : paper adequate.
0, 1
On 03 3 Paper roll near-end sensor : paper near end.
Off
00
0
Paper roll end sensor : paper present.
2, 3
On 0C 12 Paper roll end sensor : paper not present.
4 Off 00 0 Fixed.
5 Off 00 0 Reserved.
6 Off 00 0 Reserved.
7 Off 00 0 Fixed.
- Bits 2 and 3 : This command cannot be executed since the printer
becomes offline when the paper roll end sensor detects the paper not
present. Therefore, the status of bit 2 (1) and bit 3 (1) is not transmitted.
▪
Drawer kick-out connector status (n=2, 50) :
AAWBit
Off/On
Hex Decimal Function
Off 00 0 Drawer kick-out connector pin 3 is LOW.
0
On 01 1 Drawer kick-out connector pin 3 is HIGH.
1 Off
00 0
Reserved.
2 Off
00 0
Reserved.
3 Off
00 0
Reserved.
4 Off
00 0
Fixed.
5 Off
00 0
Reserved.
6 Off
00 0
Reserved.
7 Off
00 0
Fixed.
GS v 0 m xL xH yL yH d1...dk
[Name]
[Format]
[Range]
Print raster bit image.
ASCII
GS
v
0
m
xL xH yL yH d1...dk
Hex
1D
76
30
m
xL xH yL yH d1...dk
Decimal
29
118
48
m
xL xH yL yH d1...dk
0
≤
m
≤
3, 48
≤
m
≤
51
1
≤
(xL + xH x 256)
≤
128 (0
≤
xL
≤
128, xh=0)
1
≤
(yL + yH x 256)
≤
4095 (0
≤
yL
≤
255, 0
≤
yH
≤
15)
0
≤
d
≤
255
k = (xL + xH x 256) x (yL + yH x 256)
83
[Description]
▪
Prints a raster bit image in m mode.
- m specifies the bit image mode.
<For SRP-370>
m
Mode
Vertical dot density
Horizontal dot density
0, 48
Normal
180 dpi
180 dpi
1, 49
Double-width
180 dpi
90 dpi
2, 50
Double-height
90 dpi
180 dpi
3, 51
Quadruple
90 dpi
90 dpi
<For SRP-372>
m
Mode
Vertical dot density
Horizontal dot density
0, 48
Normal
203 dpi
203 dpi
1, 49
Double-width
203 dpi
203/2 dpi
2, 50
Double-height
203/2 dpi
203 dpi
3, 51
Quadruple
203/2 dpi
203/2 dpi
dpi : dots per 25.4mm {1"}
- xL, xH specifies (xL + xH x 256) byte(s) in the horizontal direction for the bit image.
- yL, yH specifies (yL + yH x 256) dot(s) in the vertical direction for the bit image.
- d specifies the definition data of the bit image data.
GS w n
[Name]
[Format]
[Range]
[Description]
[Notes]
Set bar code width.
ASCII GS
w
n
Hex 1D
77
n
Decimal 29 119 n
2
≤
n
≤
6
n=3
▪
Set the horizontal size of the bar code, using n as follows :
<For SRP-370>
Binary-level Bar Code
n
Multi-level Bar Code
Module Width (mm)
Thin element width (mm)
Thick element width (mm)
2
0.282 0.282 0.706
3
0.423 0.423 1.129
4
0.564 0.564 1.411
5
0.706 0.706 1.834
6
0.847 0.847 2.258
<For SRP-372>
Binary-level Bar Code
n
Multi-level Bar Code
Module Width (mm)
Thin element width (mm)
Thick element width (mm)
2
0.250 0.250 0.626
3
0.375 0.375 1.001
4
0.500 0.500 1.251
5
0.626 0.626 1.627
6
0.751 0.751 2.002
▪
Multi-level bar codes are as follows :
- UPC-A, UPC-E, JAN13, HAN8, CODE93, CODE128
▪
Binary-level bar codes are as follows :
- CODE39, ITF, CODABAR
Summary of Contents for 2 COLOR THERMAL PRINTER SRP-370
Page 11: ...20 Page 1 Katakana 21 Page 2 PC850 Multilingual ...
Page 12: ...22 Page 3 PC860 Portuguese 23 Page 4 PC 863 Canadian French ...
Page 13: ...24 Page 5 PC 865 Nordic 25 Page 16 WPC1252 Latin 1 ...
Page 14: ...26 Page 17 PC866 Cyrillic 2 27 Page 18 PC852 Latin2 ...
Page 15: ...28 Page 19 PC858 Euro 29 Page 22 PC864 Arabic ...
Page 16: ...30 Page 23 Thai character code 42 31 Page 24 WPC1253 Greek ...
Page 17: ...32 Page 28 WPC1251 Cyrillic 33 Page 29 PC737 Greek ...
Page 18: ...34 Page 255 Space Page 35 International Character Set ...