IBM 4610 SureMark GR3 Programming Manual Supplement page 90

Fiscal printer turkey
Table of Contents

Advertisement

I While Change_Due > 0
I {
I
If (Change_Due - Tra_Pay_Type_x >= 0
I
{
I
W_Chg_Payment_x = Tra_Pay_Type_x
I
}
I
else
I
{
I
W_Chg_Payment_x = Tra_Pay_Type_x - Change_Due
I
}
I
Tra_Pay_Type_x = Tra_Pay_Type_x - W_Chg_Payment_x
I
Tra_Payment = Tra_Payment - W_Chg_Payment_x
I
Change_Due = Change_Due - W_Chg_Payment_x
I }
I where the "x" sequence is the following:
I
x = 0 (Cash) or 1 (Credit Card) or 2 (Cheque) or 4 (Other)
Day_Payment = Day_Payment + Tra_Payment
Day_Pay_Type_0 = Day_Pay_Type_0 + Tra_Pay_Type_0
Day_Pay_Type_1 = Day_Pay_Type_1 + Tra_Pay_Type_1
Day_Pay_Type_4 = Day_Pay_Type_4 + Tra_Pay_Type_4
I
for values of vv ranging from 1 to the maximum values
Day_Void_v(vv) = Day_Void_v(vv) + Tra_Void_v(vv)
Day_Void = Day_Void + Tra_Void
Day_Bonu_v(vv) = Day_Bonu_v(vv) + Tra_Bonu_v(vv)
Day_Bonu = Day_Bonu + Tra_Bonu
Day_Disc_v(vv) = Day_Disc_v(vv) + Tra_Disc_v(vv)
Day_Disc = Day_Disc + Tra_Disc
Day_Empt_v(vv) = Day_Empt_v(vv) + Tra_Empt_v(vv)
Day_Empt = Day_Empt + Tra_Empt
Day_Tdsc = Day_Tdsc + Tra_Tdsc
Day_Tupl = Day_Tupl + Tra_Tupl
for values of vv ranging from 1 to the maximum values
Clearing Transaction Accumulators
Tra_Tot_v(vv) = 0
Tra_Tot = 0
Tra_Payment = 0
Tra_Pay_Type_0 = 0
Tra_Pay_Type_1 = 0
Tra_Pay_Type_4 = 0
Tra_Void_v(vv) = 0
Tra_Void = 0
Tra_Bonu_v(vv) = 0
Tra_Bonu = 0
Page 90 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin

Advertisement

Table of Contents
loading

This manual is also suitable for:

4610 suremark gb34610 suremark gr54610 suremark gb5

Table of Contents