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
- 139 -
ESC v
[Function]
Transmission of printer status
[Code]
<1B>H<76>H
[Outline]
[The specification which is common to the model]
• Transmits current printer status.
[Caution]
[The specification which is common to the model]
• Status is transmitted in 1byte with the content shown in the following table.
• In case of DTR/DSR control, only 1byte is transmitted after making sure the host is ready for reception (DSR
signal is in the Space state). In case of XON/XOFF control, only 1byte is transmitted without checking the
status of DSR signal.
• In case of DTR/DSR, if the host is not ready for reception (DSR signal in Mark state, wait till reception is
available.
• 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
Position
Value
0
1
0
Paper Near-end
With paper
No paper
1
Undefined
-
-
2
Paper-end
With paper
No paper
3
Undefined
-
-
4
Unused
Fixed
-
5
Undefined
-
-
6
Undefined
-
-
7
Undefined
-
-
Bit 2: In case of Paper End, as this printer goes offline, this command is not executed.
Therefore, status "No Paper (04H)" is never transmitted.
[The specification which depend on the model]
CT-P29x series
/
CT-S310 II
/
CT-D150
/
CT-E351
• Bit 0 is set to 00H because Paper-Near
End sensor is not supported.
[Sample Program]
OPEN "COM1:N81NN" AS #1 ->
OPEN statement varies with the type of BASIC.
PRINT #1, CHR$(&H1B);"v";
A$ = INPUT$(1, #1)
CLOSE #1