CognitiveTPG A799 User Manual

Page 83

Advertising
background image

Chapter 4: Programming Commands

83

Revision D 12/09

A799-PG00001D

Request alternate status (A793 emulation only)

ASCII

ESC u n

Hexadecimal 1B 75 n

Decimal

27 117 n

Value and Range of n:

Value of n Function

Description

00

Drawer 1

High = Open

Low = Closed or Not Present

01

Drawer 2

High = Open

Low = Closed or Not Present

02

Paper Low

High = Paper Out

(Not Implemented. Low = Paper Present

Interpreted as

Paper Out.)

03

Paper Out (Default) High = Paper Out

Low = Paper Present

>03

Ignored, No Change Printer Does Not Stay BUSY

1

1

PAPER EXHAUST LINE is valid to indicate previously requested status.

This command allows the printer to inform the host when the data in the buffer has been processed. The PAPER
EXHAUST line shows the status for the cash drawer or receipt paper as shown in the table.
Status information is limited to what can be sent by the dedicated lines: BUSY, ACK, PAPER EXHAUST, and FAULT.
Exceptions

Parallel communications only.

Transmit paper sensor status

ASCII

ESC v

Hexadecimal 1B 76

Decimal

27 118

Values:

Status Byte (RS-232C)
Bit Function

0 Signifies

1 Signifies

0

Receipt paper

Present

Low (only if paper low sensor is enabled)

1

Receipt cover

Closed

Open

2

Receipt paper

Present

Out

3

Knife position

Home position Not home position

4

Not used

Fixed to zero

Fixed to zero

5

Temperature

In valid range

Too hot or too cold

6

Voltage

In valid range

Too high or too low

7

Not used

Fixed to zero

Fixed to 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 busy line and fault conditions in the real time commands section of this document for details about fault condition
reporting.
In LEGACY emulation, this command is ignored.

Advertising