– 74 –
GS r n
n = 1, 49 : Paper sensor status
[Function]
Sends Status
[Code]
ASCII
GS
r
n
Hexadecimal
1D
72
n
Decimal
29
114
n
[Range]
1
n
2, 49
n
50
[Outline]
This command sends the status, depending on setting of n.
[Caution]
• The following tables describe the status sent.
• If DTR/DSR control is selected and the memory switch 4-5 is set to 0, the printer sends only
1 byte after confirming that the host is ready to receive (the DSR signal status is Space).
If the host is not ready (the DSR signal status is Mark), the printer will wait until it will be
ready to receive. If XON/XOFF control is selected or the memory switch 4-5 is set to 1, the
printer will send 1 byte without confirming the DSR signal status.
• Since this command is executed at deployment of the reception buffer, there may be a delay
between command reception and status sending, depending on the reception buffer
condition.
• If ASB is enabled by GS a, it is necessary to distinguish the status by this command from that
of ASB. See “6. Interface” for how to distinguish them.
• If n goes beyond the range, this command will be ignored.
Bit
Status
Hexadecimal
Decimal
0
BOF sensor with paper
00
0
BOF sensor without paper
01
1
1
TOF sensor with paper
00
0
TOF sensor without paper
02
2
2
Undefined
–
–
3
Undefined
–
–
4
Unused
00
0
5
Undefined
–
–
6
Undefined
–
–
7
Unused 00
0
n
Description
1, 49
Sends the paper sensor status. (Same as ESC v)
2, 50
Sends the status of the drawer kick connector. (Same as ESC u 0)
Summary of Contents for CBM-820
Page 1: ...TERMINAL SLIP PRINTER MODEL CBM 820 User s Manual...
Page 2: ......
Page 91: ...76 10 Character Codes Table 10 1 Codepage PC437 USA European Standard...
Page 92: ...77 10 2 Codepage Katakana Japanese...
Page 93: ...78 10 3 Codepage PC850 Multilingual...
Page 94: ...79 10 4 Codepage PC860 Portuguese...
Page 95: ...80 10 5 Codepage PC863 Canadian French...
Page 96: ...81 10 6 Codepage PC865 Nordic...
Page 97: ...82 10 7 Codepage PC852 Eastern Europe...
Page 98: ...83 10 8 Codepage PC866 Russian...
Page 99: ...84 10 9 Codepage PC857 Turkish...
Page 100: ...85 10 10 Windows Codepage...
Page 101: ...86 10 11 Codepage PC858 Multilingual Euro...
Page 104: ...German...
Page 144: ...1 09E 0605 Printed in Japan...