Cognitive Solutions A799 manual Send printer software version, Hexadecimal Decimal

Models: A799

1 142
Download 142 pages 30.19 Kb
Page 88
Image 88

88

Chapter 4: Programming Commands

Revision D 12/09

Cash drawer status (n = 2 or n = 50)

Bit

Off/On

Hex

Decimal

Status for transmit status

0

Off

00

0

One or both cash drawers

 

 

 

 

open.

 

On

01

1

Both cash drawers closed.

1

Off

00

0

One or both cash drawers

 

 

 

 

open.

 

On

02

2

Both cash drawers closed.

2

Undefined

3

Undefined

4

Off

00

0

Not used. Fixed to off.

5

Undefined.

6

Undefined.

7

Off

00

0

Not used. Fixed to off.

Flash memory user sector status (n = 4 or n = 52)

Bit

Off/On

Hex

Decimal

Status for transmit status

 

 

 

 

 

0

Undefined. Fixed to off.

1

Undefined. Fixed to off.

2

Off

00

0

User data storage write successful

 

On

04

4

User data storage write failed, specified area not erased.

3

Off

00

0

Flash logo area adequate, definition stored

 

On

08

8

Flash logo area not adequate

4

Off

00

0

Not used. Fixed to off.

5

Off

00

00

No thermal user-defined characters

 

 

 

 

written to flash.

 

On

20

32

Thermal user-defined characters written to flash.

6

Off

00

0

Not used. Fixed to off.

7

Undefined.

Exceptions

When n is out of the specified range, the command is ignored.

Send printer software version

ASCII

AX V

Hexadecimal

1F 56

Decimal

31 86

The printer returns 8 bytes containing the boot and flash software version. The first 4 bytes returned are an ASCII string for the boot version.

The second 4 bytes are an ASCII string for the flash version. Example: For 1.234.56 (8 bytes), the boot version is 1.23 and the flash version is 4.56.

A799-PG00001D

Page 88
Image 88
Cognitive Solutions A799 manual Send printer software version, Hexadecimal Decimal