M-S Cash Drawer A794 User Manual

Page 121

Advertising
background image

Chapter 6: Programming Information

A794 Owner’s Guide

December 1999

116

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
On

00
01

0
1

Paper adequate.
Paper low (if paper low sensor
enabled).

1

Off
On

00
02

0
2

Paper adequate.
Paper low (if paper low sensor
enabled).

2

Off
On

00
04

0
4

Cover closed.
Cover open.

3

Off
On

00
08

0
8

Not busy at the RS-232C interface.
Printer is busy at the RS-232C interface.

4

Off
On

00
10

0
16

One or both cash drawers open.
Both cash drawers closed.

5

Off

00

0

Fixed to Off.

6

Off
On

00
40

0
64

No error condition.
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.

Advertising