D5 - Payment; Command Format; Payment Calculations - IBM 4610 SureMark GR3 Programming Manual Supplement

Fiscal printer turkey
Table of Contents

Advertisement

5.5.5 D5 - PAYMENT

This command is used to apply the paid amount.

5.5.5.1 Command Format

-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Cmd Prefix
2
D5 - Payment
3
Cmd. Extension
7
Retry
0 = NO
1 = YES
6
Rectify
0 = NO
1 = YES
5-3 Print Typeface
000 = 15 CPI
001 = 12 CPI
010 = Reserved
011 = Reserved
100 = 15 CPI Emphasized
101 = 12 CPI Emphasized
110 = Reserved
111 = Reserved
2-0 Payment Type
000 = Cash
001 = Credit Card
I
010 = Reserved
I
011 = Reserved
100 = Other
101 = Reserved
110 = Reserved
111 = Reserved
4-26
D5_Description
27-38
D5_Amount
-----------------------------------------------------------------------
Notes:
1. Print typeface is also applied to the change due line.

5.5.5.2 Payment Calculations

Rectify = NO
Tra_Pay_Type_0 = Tra_Pay_Type_0 + D5_Amount (if Payment Type = Cash)
I
Tra_Pay_Type_1 = Tra_Pay_Type_1 + D5_Amount (if Payment Type = Credit Card)
I
Tra_Pay_Type_4 = Tra_Pay_Type_4 + D5_Amount (if Payment Type = Other)
I
Tra_Payment = Tra_Payment + D5_Amount
Tra_Amt_Due = Tra_Amt_Due − D5_Amount
Rectify = YES
Tra_Pay_Type_0 = Tra_Pay_Type_0 − D5_Amount (if Payment Type = Cash)
I
TYPE
LENGTH
hex
2
hex
1
hex
1
(Note 1)
ASCII
23
ASCII
12
Command Set Reference — Page 83 of 183

Advertisement

Table of Contents
loading

This manual is also suitable for:

4610 suremark gb34610 suremark gr54610 suremark gb5

Table of Contents