A794 Owner’s Guide

Chapter 6: Programming Information

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

00

0

Cash drawer status disabled.

 

On

01

1

Cash drawer status enabled.

1

Off

00

0

RS-232C Busy status disabled.

 

On

02

2

RS-232C Busy status enabled.

2

Off

00

0

Error status disabled.

 

On

04

4

Error status enabled.

3

Off

00

0

Receipt paper roll status disabled.

 

On

08

8

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)

December 1999

117

Page 122
Image 122
M-S Cash Drawer A794 manual Auto Status Back, Select or Cancel Automatic Status Back ASB