M-S Cash Drawer A794 User Manual

Page 122

Advertising
background image

A794 Owner’s Guide

Chapter 6: Programming Information

December 1999

117

Auto Status Back

Select or Cancel Automatic Status Back (ASB)

ASCII

GS a n

Hexadecimal

1D 61 n

Decimal

29 97 n

Value of n:

Status of ASB
Byte 1= printer information
Byte 2= error information
Byte 3= paper sensor information
Byte 4= paper sensor information

The bits of n are defined in the table.

Bit

Off/On

Hex

Decimal

Status for ASB

0

Off
On

00
01

0
1

Cash drawer status disabled.
Cash drawer status enabled.

1

Off
On

00
02

0
2

RS-232C Busy status disabled.
RS-232C Busy status enabled.

2

Off
On

00
04

0
4

Error status disabled.
Error status enabled.

3

Off
On

00
08

0
8

Receipt paper roll status disabled.
Receipt paper roll status enabled.

4

-

-

-

Undefined

5

-

-

-

Undefined.

6

-

-

-

Undefined

7

-

-

-

Undefined

Enables or disables Automatic Status Back (ASB) and specifies the status items. This
command is a Batch Mode command; that is, it is processed after all prior data in the
receive buffer has been processed. There may be a time lag between the printer
receiving this command and changing the ASB response, depending on the receive
buffer status.

If any of the status items listed above are selected, ASB is enabled and the printer
automatically transmits 4 status bytes whenever the selected status changes. If no status
is selected, ASB is disabled. All four status bytes are transmitted without checking DSR.

If the error status is enabled, a change in the following conditions will trigger the ASB:

Receipt Cover

Knife Error

Out-of-Range Printhead Temperature

Out-of-Range Voltage

Paper Exhaust

Default:

0 (ASB disabled)

Advertising