5.6.2 E3 - END FISCAL, RETURN AND DIPLOMATIC RECEIPT
This command is used to end fiscal, return and diplomatic receipts.
5.6.2.1 Command Format
-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Command Prefix
2
E3 - End Fiscal, Ret. & Diplom. Receipt
3
Cmd. Extension
7
Retry
0 = NO
1 = YES
Reserved (always = ' 0 ' )
6
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
Orientation Print and Direction
0 = Landscape - Forward
1 = Portrait - Forward
1-0 Receipt Type
00 = Fiscal
01 = Return
10 = Diplomatic
11 = Reserved
4-89
E3_Description
90-101
E3_Amount
102-113
E3_VAT_Amount
-----------------------------------------------------------------------
Notes:
1. E3_Description field is truncated as follows:
Portrait orientation at 15 CPI to 38 characters.
Portrait orientation at 12 CPI to 30 characters.
Landscape orientation at 15 CPI to 86 characters.
Landscape orientation at 12 CPI to 68 characters.
5.6.2.2 End Fiscal, Return and Diplomatic Receipt Calculations
•
If Fiscal Receipt
Day_N_FRec = Day_N_FRec + 1
Day_FRec_Tot = Day_FRec_Tot + E3_Amount
Day_FRec_VTot = Day_FRec_VTot + E3_V A T _Amount
•
If Return Receipt
Page 96 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin
TYPE
LENGTH
hex
2
hex
1
hex
1
ASCII
86 (Note 1)
ASCII
12
ASCII
12