D4 - Subtotal/Total Transaction; Command Format; Subtotal/Total Transaction Calculations; Subtotal/Total Transaction Rules - IBM 4610 SureMark GR3 Programming Manual Supplement

Fiscal printer turkey
Table of Contents

Advertisement

5.5.4 D4 - SUBTOTAL/TOTAL TRANSACTION

This command is used to verify that the total amount accumulated by the fiscal unit matches the amount
accumulated by the application program.

5.5.4.1 Command Format

-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Cmd Prefix
2
D4 - Subtotal/Total Transaction
3
Cmd. Extension
7
Retry
0 = NO
1 = YES
Reserved (always = ' 0 ' )
6
5
Print Density
0 = Normal
1 = Emphasized
4-3 Character Hight
00 = Single
11 = Double
2-1 Reserved (always = ' 0 ' )
0
Character Width
0 = Single
1 = Double
4-15
D4_Amount
-----------------------------------------------------------------------
Notes:
1. Double-wide should be selected to use double-high.
2. The number of CPI and emphasized apply to both the total message and the D4_Amount.
Double-wide apply to D4_Amount only.

5.5.4.2 Subtotal/Total Transaction Calculations

Tra_Tot = ∑
Tra_Tot_v(vv)
vv
Tra_V A T _v(vv) = TRUNC(
Tra_V A T = ∑
Tra_V A T _v(vv)
vv
for values of vv ranging from 1 to the maximum value
Tra_Amt_Due = Tra_Tot

5.5.4.3 Subtotal/Total Transaction Rules

Calculates transaction total and amount due.
Page 82 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin
Tra_Tot_v(vv) × VAT _Rate_v(vv)
100 + VAT _Rate_v(vv)
TYPE
LENGTH
hex
2
hex
1
hex
1
(Note 1)
ASCII
12
+ 0.5)

Advertisement

Table of Contents
loading

This manual is also suitable for:

4610 suremark gb34610 suremark gr54610 suremark gb5

Table of Contents