Programmer’s Guide
TH200
63
GS r n
Transmit status
Code:
Range:
Description:
Notes:
Reference:
ASCII
GS
r
n
Hex
1D
72
n
Decimal 29
114
n
n = 1, 2, 49, 50
Transmits the status specified by n as follows:
N
Function
1, 49
Transmits paper sensor status
2, 50
Transmits drawer kick-out connector
This command is valid for serial model only. The printer transmits only 1 byte without
confirming the condition of the DSR signal.
This command is executed when the data in the receive buffer is developed. Therefore,
there may be a time lag between receiving this command and transmitting the status,
depending on the receive buffer status.
The status types to be transmitted are shown below:
Paper sensor status (n = 1, 49):
Bit
Off/On
Hex
Decimal
Status for ASB
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 adequate
2,
3
On
0c
12
Paper roll end sensor: paper near end
4
Off
00
0
Not used. Fixed to Off
5,6
Undefined
7
Off
00
0
Not used. Fixed to Off
Bits 2 and 3: When the paper end sensor detects a paper end, the printer goes off-line
and does not execute this command. Therefore, bits 2 and 3 do not transmit the status of
paper end.
Drawer kick-out connector status (n = 2, 50):
Bit
Off/On
Hex
Decimal
Status for ASB
Off
00
0
Drawer kick-out connector pin 3 is LOW
0
On
01
1
Drawer kick-out connector pin 3 is HIGH
1-
Undefined
4
Off
00
0
Not used. Fixed to Off
5,6
Undefined
7
Off
00
0
Not used. Fixed to Off.
DLE EOT
,
GS a
Содержание TH200
Страница 1: ...TH200 High Speed Thermal Printer Programmer s Guide TH200 March 2005 ...
Страница 19: ...Programmer s Guide TH200 19 When font B 9 17 is selected ...
Страница 21: ...Programmer s Guide TH200 21 When 24 dot bit image is selected ...
Страница 73: ...Programmer s Guide TH200 73 pattern 3 2 PAGE1 Katakana ...
Страница 74: ...Programmer s Guide TH200 74 3 3 Page 2 PC850 Multilingual ...
Страница 75: ...Programmer s Guide TH200 75 3 4 Page 3 PC860 Portuguese ...
Страница 76: ...Programmer s Guide TH200 76 3 5 Page 4 PC863 Canadian French ...
Страница 77: ...Programmer s Guide TH200 77 3 6 Page 5 PC865 Nordic ...
Страница 78: ...Programmer s Guide TH200 78 3 7 Page 18 PC852 Latin2 ...
Страница 79: ...Programmer s Guide TH200 79 3 8 Page 19 PC858 ...
Страница 80: ...Programmer s Guide TH200 80 3 9 Page 16 WPC1252 ...
Страница 81: ...Programmer s Guide TH200 81 3 10 Page 17 PC866 Cyrillic 2 ...
Страница 82: ...Programmer s Guide TH200 82 3 11 Thai character code 11 ...
Страница 83: ...Programmer s Guide TH200 83 3 12 International Character Set ...