Support
model
- 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
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