Download Print this page

Citizen CBM-202PC-04 User Manual page 68

Thermal printer mechanical control lsi
Hide thumbs Also See for CBM-202PC-04:

Advertisement

[Function]
Transmitting the printer status(Serial type)
[Code]
<1B>H<76>H
[Outline]
Current printer status is transmitted..
[Caution]
[Sample Program]
OPEN "COM1:N81NN" AS #1 ;
PRINT #1, CHR$ (&H1B) + "v" ;
A$ = INPUT$ (1, #1) ;
CLOSE #1
Status sent out consists of 1 byte whose content is as in the table below.
In DTR/DSR control, after receptible 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 byteis transmitted.
In DTR/DSR control, when the host is in unreceptible state(DSR signal being in
MARK state), it waits until receptible state is created.
In paper end (paper near end) status, this command may be unreceptible state due to
BUSY state.
Remarks. This command is valid only for serial interface model.
Bit
0
1
2
3
4
5
6
7
Function
Not defined
Not defined
Paper end
With paper
Not defined
Not used
Not defined
Not defined
Not defined
68
CBM-202PC-04 User's Manual
Value
0
Without paper
Fixed to 0
1
CITIZEN

Advertisement

loading