Esc V (At Serial I/F Selection - Citizen PPU-700 Command Reference Manual

Printer presenter unit
Hide thumbs Also See for PPU-700:
Table of Contents

Advertisement

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.
[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
Bit
Function
0
Paper Near-end 1
1
Presenter Sensor
2
Paper-end
3
Paper Near-end 2
4
5
Undefined
6
Undefined
7
Undefined
Unused
- 59 -
Value
0
With Paper
No Paper
With Paper
With Paper
With Paper
Fixed
――
――
――
1
No Paper
No Paper
No Paper
――
――
――
――

Advertisement

Table of Contents
loading

Table of Contents