CognitiveTPG A798 Programming Manual page 73

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

Advertisement

Revision D 10/13
An application using DLE (0x10) sequence must send EOT within 100 milliseconds of DLE or the printer will misinterpret
the DLE and execute a clear printer command. Avoid this possibility by using the ID 04 n sequence, which is handled
exactly the same as 10 04 n.
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.
Related information
1 = Transmit printer status
Bit Status Hex Decimal Function
0
Off
00
0
Fixed to Off.
1
On
02
2
Fixed to On.
2
Off
00
0
One or both cash drawers
On
04
4
Both cash drawers closed.
3
Off
00
0
Not busy at the RS-232C
interface.
On
08
8
Printer is busy at the RS-232C
interface.
4
On
10
16
Fixed to on.
5
Undefined.
6
Undefined.
7
Off
00
0
Fixed to off.
2 = Transmit RS-232C Busy Status
Bit Status Hex Decimal Function
0
Off
00
0
1
On
02
2
2
Off
00
0
On
04
4
3
Off
00
0
On
08
8
4
On
10
16
5
Off
00
0
On
20
32
6
Off
00
0
On
40
64
7
Off
00
0
open.
Fixed to off.
Fixed to on.
Cover closed.
Cover open.
Paper feed button is not
pressed.
Paper feed button is pressed.
Fixed to on.
Printing not stopped due to
paper condition.
Printing stopped due to paper
condition.
No error condition.
Error condition exists in the
printer.
Fixed to off.
A798-PG00001D
Chapter 4: Programming Commands
3 = Transmit error status
Bit Status Hex Decimal Function
0
Off
00
0
1
On
02
2
2
Off
00
0
3
Off
00
0
On
08
8
4
On
10
16
5
Off
00
0
On
20
32
6
Off
00
0
On
40
64
7
Off
00
0
4 = Transmit receipt paper status
Bit Status Hex Decimal Function
0
Off
00
0
Fixed to off
1
On
02
2
Fixed to on
2
Off
00
0
Paper adequate
On
04
4
Paper low (if paper low sensor
enabled)
3
Off
00
0
Paper adequate
On
08
8
Paper low (if paper low sensor
enabled)
4
On
10
16
Fixed to on
5
Off
00
0
Paper present
On
20
32
Paper exhausted
6
Off
00
0
Paper present
On
40
64
Paper exhausted
7
Off
00
0
Fixed to off
73
Fixed to off.
Fixed to on.
Fixed to off.
No knife error.
Knife error occurred.
Fixed to on.
No unrecoverable error.
Unrecoverable error occurred.
Thermal printhead temp. and
power supply voltage are in
range.
Thermal print head temp. or
power supply voltage are out
of range.
Fixed to off

Advertisement

Table of Contents
loading

Table of Contents