78
m Function
0
Executes the macro r times at the interval specified by t.
1
After waiting for the time specified by t, the PAPER OUT LED flashes to indicate
that the FEED button must be pressed. After the button is pressed, the macro is
executed once. This operation is then repeated r times.
GS a n
[Name]
[Format]
[Range]
[Default]
[Description]
Enable/Disable Automatic Status Back (ASB).
ASCII GS a n
Hex 1D
61
n
Decimal 29 97 n
0
≤
n
≤
255
n=0 when memory switch 1-3 is Off.
n=2 when memory switch 1-3 is On.
▪
Specifies the status items for ASB (Automatic Status Back).
Bit Off/On
Hex Decimal Function
Off 00 0 Drawer
kick-out
connector pin 3 disable.
0
On 01 1 Drawer
kick-out
connector pin 3 enable.
Off
00
0
Online/Offline status disabled.
1
On
02
2
Online/Offline status enabled.
Off
00
0
Error status disabled.
2
On
04
4
Error status enabled.
Off
00
0
Paper roll sensor status disabled.
3
On
08
8
Paper roll sensor status enabled.
4 Off 00 0 Reserved.
5 Off 00 0 Reserved.
Off
00
0
Panel button status disabled.
6
On
40
64
Panel button status enabled.
7 Off 00 0 Reserved.
▪
The status to be transmitted is the four bytes that follows.
- First byte (printer information)
Bit Off/On
Hex Decimal Function
0 Off 00 0 Fixed.
1 Off 00 0 Fixed.
Off
00
0
Drawer kick-out connector pin 3 is LOW.
2
On 04 4 Drawer
kick-out
connector pin 3 is HIGH.
Off 00 0 Online.
3
On 08 8 Offline.
4 Off 10 16 Fixed.
Off
00
0
Cover is closed.
5
On
20
32
Cover is opened.
Off 00 0 Paper is not being fed by using the paper FEED
button.
6
On 40 64 Paper is being fed by using the paper FEED button.
7 Off 00 0 Fixed.
79
[Notes]
[Reference]
▪
When the cover is open while the printing is stopped, the printer becomes offline.
- Second byte (printer information)
Bit
Off/On
Hex
Decimal
Function
Off
00
0
Not on online waiting status.
0
On 01
1 During
online waiting status.
Off
00
0
Panel button OFF.
1
On
02
2
Panel button ON.
Off
00
0
No mechanical error.
2
On
04
4
Mechanical error has occurred.
Off
00
0
No Auto Cutter error.
3
On
08
8
Auto Cutter error occurred.
4
Off 00
0 Fixed.
Off
00
0
No unrecoverable error.
5
On
20
32
Unrecoverable error has occurred.
Off
00
0
No automatically recoverable error.
6
On 40
64 Automatically recoverable error has occurred.
7
Off 00
0 Fixed.
- Third byte (paper sensor information)
Bit
Off/On
Hex
Decimal
Function
Off 00
0 Paper roll near-end sensor : paper adequate.
0
On 01
1 Paper roll near-end sensor : paper near end.
Off 00
0 Paper roll near-end sensor : paper present.
1
On 02
2 Paper roll near-end sensor : paper not present.
Off
00
0
Paper roll end sensor : paper present.
2
On
04
4
Paper roll end sensor : paper near end.
Off
00
0
Paper roll end sensor : paper present.
3
On 08
8 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.
▪
The paper roll end sensor is unstable when the cover is open.
- Fourth byte (paper sensor information)
Bit
Off/On
Hex
Decimal
Function
0
On 01 1 Reserved.
1
On 02 2 Reserved.
2
On 04 4 Reserved.
3
On 08 8 Reserved.
4
Off 00 0 Fixed.
5
Off 00 0 Reserved.
6
Off 00 0 Reserved.
7
Off 00 0 Fixed.
▪
When the memory switch Msw 8-7 is On, the printer transmits the ASB
data to the host whether the host can receive or not.
▪
When the memory switch Msw 8-7 is On, the printer transmits the ASB
data with the panel button status always being ignored.
APPENDIX J
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 ...