Citizen Systems Model CMP-10 manual Esc, Bit Function Value

Models: Model CMP-10

1 80
Download 80 pages 40.75 Kb
Page 41
Image 41

ESC v

[Function]

Transmitting the printer status

 

 

 

[Code]

<1B>H<76>H

 

 

 

[Outline]

Current printer status is transmitted.

 

 

 

 

Status sent out consists of 1 byte whose content is as in the table below.

 

 

 

 

 

 

 

Bit

Function

Value

 

 

0

 

1

 

 

 

 

 

0

Not defined

 

 

 

 

 

 

 

 

 

 

1

Not defined

 

 

 

 

2

Paper or paper cover

With paper and

 

No paper or

 

 

 

cover closed

 

cover open

 

3

Not defined

 

 

 

 

 

 

 

 

 

 

4

Not used

Fixed to 0

 

Ð

 

5

Not defined

 

 

 

 

6

Not defined

 

 

 

 

7

Not defined

 

 

 

 

 

 

 

 

[Caution]

In paper end status, this command may be unreceptible state due to BUSY state.

[Sample Program]

 

 

 

 

 

OPEN “COM1:N81NN” AS #1 ;

PRINT #1, CHR$ (&H1B) ; “v” ;

A$ = INPUT$ (1, #1) ;

CLOSE #1

END

Ñ 39 Ñ

Page 41
Image 41
Citizen Systems Model CMP-10 manual Esc, Bit Function Value