Cognitive Solutions A776, B780 manual Transmit paper sensor status, Transmit printer ID, Continued

Models: B780 A776

1 192
Download 192 pages 23.55 Kb
Page 95
Image 95
Transmit paper sensor status

Chapter 5: Programming commands  83

Transmit paper sensor status

ASCII

ESC v

Hexadecimal

1B 76

Decimal

27 118

Values:

Status Byte (A776 only)

Bit

Function

0 Signifies

1 Signifies

 

 

 

 

0

Receipt paper

OK

Low (only if paper low sensor is enabled) or receipt cover open

1

Covers open

Both closed

Either cover is open

2

Receipt paper

OK

Out

3

Knife

OK

Error or switch open

4

Always zero

 

 

5

Slip leading

Not covered

Covered edge sensor

6

Slip trailing

Not covered

Covered edge sensor

7

Voltage/Temperature Error

OK

Error

 

 

 

Status Byte (B780 only)

 

 

 

 

 

 

Bit

Function

0 Signifies

1 Signifies

0

Receipt paper

OK

Low (only if paper low sensor is enabled)

1

Receipt paper

OK

Low (only if paper low sensor is enabled)

2

Receipt paper

OK

Out

3

Receipt paper

OK

Out

4

Always zero

 

 

5

Slip leading

Covered

Not covered

 

edge sensor

 

 

6

Slip trailing

Covered

Not covered

 

edge sensor

 

 

7

Always zero

 

 

Sends status data to the host computer. The printer sends one byte to the host computer when it is not busy or in a fault condition. In DTS/DSR protocol, the printer waits for DSR = SPACE.

Related information

See real time commands, in this document for details about fault conditions reporting.

Transmit printer ID

ASCII

GS I n

Hexadecimal

1D 49 n

Decimal

29 73 n

Value of n:

1, 49

= Printer model ID

 

2, 50

= Type ID

 

3, 51

= ROM version ID

 

4, 52

= Logo Definition

Continued . . .

A776-PG00001 C 12/09

A776 (B780) Programming Guide

Page 95
Image 95
Cognitive Solutions A776, B780 manual Transmit paper sensor status, Transmit printer ID, Continued