Support
model
CT-S280
CT-S300
CT-S2000
CT-S4000
CT-S251
CT-D150/E351
CT-S281
CT-S310
CT-S801/851
CT-S601/651
CT-P29x series
CT-S310II
CT-D151/E651
- 138 -
ESC u n
(Valid in CBM1000-Compatible Mode)
[Function]
Sending the peripheral device status
[Code]
<1B>H<75>H<n>
[Outline]
[The specification which is common to the model]
• Send the current drawer kick connector pin#3 status.
• n has the type shown in the table below:
n
Connector Pin
0
Drawer kick connector pin#3
[Caution]
[The specification which is common to the model]
• Status to be sent uses 1 byte that has the value listed in the table below.
• DTR/DSR control sends 1 byte only after checking that host is ready to receive (DSR signal: space status).
For XON/XOFF control, 1 byte is sent without checking DSR signal status.
• For DTR/DSR, if host is not ready to receive (DSR signal: mark status), it waits for ready condition to receive.
• Paper-end status causes BUSY status, thus this command may be in the receive-not-ready status.
• This command is valid only when MSW3-7 is set to ON.
Bit
Function
Value
0
1
0
Pin #3 level
‘L’
‘H’
1
Undefined
-
-
2
Undefined
-
-
3
Undefined
-
-
4
Unused
0: Fixed
-
5
Undefined
-
-
6
Undefined
-
-
7
Undefined
-
-
[Sample Program]
OPEN "COM1:N81NN" AS #1 ->
OPEN statement depends on types of BASIC.
PRINT #1,CHR$(&H1B);"u";CHR$(0)
A$ = INPUT$(1, #1)
CLOSE #1