Chapter 6: Programming Information

A794 Owner’s Guide

Real Time Printer Status Transmission

ASCII

GS ENQ

Hexadecimal

1D 05

Decimal

29 5

Transmits one byte status of the printer in real time.

Value of Byte:

Bit

Status

Hex

Decimal

Function

0

Off

00

0

Paper adequate.

 

On

01

1

Paper low (if paper low sensor

 

 

 

 

enabled).

1

Off

00

0

Paper adequate.

 

On

02

2

Paper low (if paper low sensor

 

 

 

 

enabled).

2

Off

00

0

Cover closed.

 

On

04

4

Cover open.

3

Off

00

0

Not busy at the RS-232C interface.

 

On

08

8

Printer is busy at the RS-232C interface.

4

Off

00

0

One or both cash drawers open.

 

On

10

16

Both cash drawers closed.

5

Off

00

0

Fixed to Off.

6

Off

00

0

No error condition.

 

On

40

64

Error condition exists in the printer.

7

On

80

128

Fixed to On.

Exceptions

Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, the A794 has a single connector that shares data reporting from either cash drawer. When either cash drawer is open, an open status is reported by the printer.

116

December 1999

Page 121
Image 121
M-S Cash Drawer A794 manual Real Time Printer Status Transmission, Ascii GS ENQ, Value of Byte