User`s manual

BD2-2860 User’s Manual
CITIZEN
59
ESC v (Serial Interface Only)
[Function] Transmitting the printer status (Serial Type)
[Code] <1B>H<76>H
[Outline] Current printer status is transmitted.
[Caution]
Status sent out consists of 1 byte whose content is as in the table below.
In DTR/DSR control, after revertible state of the host (DSR signal being in SPACE
state) is confirmed, only 1 byte is transmitted. In XON/XOFF control, DSR signal state
not being confirmed, only 1 byte is transmitted.
In DTR/DSR control, when the host is in unrespectable state (DSR signal being in
MARK state), it waits until receptacle state is created.
In paper end (paper near end) status, this command may be unrespectable state due to
BUSY state.
Remarks. This command is valid only for serial interface model.
ValueBit Function
01
0 Not defined
1 Not defined
2 Paper end With paper Without paper
3 Not defined
4 Not used Fixed to 0
5 Not defined
6 Not defined
7 Not defined
[Sample Program]
OPEN "COM1: N81NN" AS #1;
PRINT #1, CHR$ (&H1B) + "v”;
A$ = INPUT$ (1, #1);
CLOSE #1