Hide thumbs Also See for CT-S280:
Table of Contents

Advertisement

ESC v

Support model
[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
0
1
2
3
4
5
6
7
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
• Bit 0 is set to 00H because Paper-Near End sensor is not supported.
[Sample Program]
OPEN "COM1:N81NN" AS #1 ->
PRINT #1, CHR$(&H1B);"v";
A$ = INPUT$(1, #1)
CLOSE #1
CT-S280
CT-S300
CT-S281
CT-S310
Position
Paper Near-end
Undefined
Paper-end
Undefined
Unused
Undefined
Undefined
Undefined
series/CT-S310 II
OPEN statement varies with the type of BASIC.
- 119 -
CT-S2000
CT-S4000
CT-S801/851
CT-S601/651
0
With paper
-
With paper
-
Fixed
-
-
-
CT-S251
CT-P29x series
CT-S310 II
Value
1
No paper
-
No paper
-
-
-
-
-

Advertisement

Table of Contents
loading

Table of Contents