- 59 -
ESC v
(
At Serial I/F Selection
)
[Function]
Sending printer status
[Code]
<
1B
>
H
<
76
>
H
[Outline]
Sends the current status of the printer.
[Caution]
• The status to be sent is one byte and the content is shown in the following table.
• With DTR/DSR control, after confirming that the host is ready for reception (DSR
signal is space), only one byte is transmitted. With XON/XOFF control, only one byte is
transmitted without confirmation of DSR signal state.
• With DTR/DSR, when the host is not ready for reception (DSR signal is mark state),
this command waits till reception is ready.
• As the printer is Busy in the Paper-end state, this command may be in the state not
ready for reception.
• This command is valid only for serial interface.
Value
Bit
Function
0 1
0
Paper Near-end 1
With Paper
No Paper
1
Presenter Sensor
No Paper
With Paper
2
Paper-end
With Paper
No Paper
3
Paper Near-end 2
With Paper
No Paper
4 Unused Fixed
――
5 Undefined
――
――
6 Undefined
――
――
7 Undefined
――
――
[Sample Program]
OPEN "COM1:N81NN" AS #1
→
OPEN statement differs with the type of BASIC.
PRINT #1, CHR$(&H1B);"v";
A$ = INPUT$(1, #1)
CLOSE #1