Send Printer Software Version - CognitiveTPG A798 Programming Manual

Thermal receipt printer
Hide thumbs Also See for A798:
Table of Contents

Advertisement

70
Chapter 4: Programming Commands
Exceptions
Unlike the A793, that had a dedicated connector and resultant dedicated status reporting for each cash drawer, the A798
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.
Printer status (n = 1 or n = 49)
Bit Off/On Hex Decimal
0
Off
00
0
On
01
1
1
Off
00
0
On
02
2
2
Off
00
0
On
04
4
3
4
Off
00
0
5
6
7
Off
00
0
Cash drawer status (n = 2 or n = 50)
Bit Off/On Hex Decimal
0
Off
00
0
On
01
1
1
Off
00
0
On
02
2
2
3
4
Off
00
0
5
6
7
Off
00
0

Send printer software version

ASCII
US 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.
Status for transmit status
Paper present.
Paper exhausted.
Cover closed.
Cover open.
Paper present.
Paper exhausted.
Undefined.
Not used. Fixed to off.
Undefined.
Undefined.
Not used. Fixed to off.
Status for transmit status
One or both cash drawers
open.
Both cash drawers closed.
One or both cash drawers
open.
Both cash drawers closed.
Undefined
Undefined
Not used. Fixed to off.
Undefined.
Undefined.
Not used. Fixed to off.
A798-PG00001D
Flash memory user sector status (n = 4 or n = 52)
Bit Off/On Hex Decimal
0
1
2
Off
00
0
On
04
4
3
Off
00
0
On
08
8
4
Off
00
0
5
Off
00
00
On
20
32
6
Off
00
0
7
Exceptions
When n is out of the specified range, the command is
ignored.
Revision D 10/13
Status for transmit status
Undefined. Fixed to off.
Undefined. Fixed to off.
User data storage write
successful
User data storage write
failed, specified area not
erased.
Flash logo area adequate,
definition stored
Flash logo area not
adequate
Not used. Fixed to off.
No thermal user-defined
characters
written to flash.
Thermal user-defined
characters written to flash.
Not used. Fixed to off.
Undefined.

Advertisement

Table of Contents
loading

Table of Contents