5.6.3 0F - CANCEL FISCAL, RETURN AND DIPLOMATIC RECEIPT
This command is used to cancel fiscal, return and diplomatic receipts.
5.6.3.1 Command Format
-----------------------------------------------------------------------
BYTE BIT CONTENT
0-1
1B66 - Command Prefix
2
0F - Cancel Fiscal, Ret. & Diplom. Receipt
3
Cmd. Extension
7-3 Reserved (always = ' 0 ' )
2
Orientation Print and Direction
0 = Landscape - Forward
1 = Portrait - Forward
1-0 Receipt Type
00 = Fiscal
01 = Return
10 = Diplomatic
11 = Reserved
4-15
0F_Amount
-----------------------------------------------------------------------
5.6.3.2 Cancel Fiscal, Return and Diplomatic Receipt Calculations
•
If Fiscal Receipt
Day_N_FRec = Day_N_FRec + 1
Day_N_CFrc = Day_N_CFrc + 1
Day_FRec_CTot = Day_FRec_CTot + 0F_Amount
•
If Return Receipt
Day_N_RRec = Day_N_RRec + 1
Day_N_CRrc = Day_N_CRrc + 1
Day_RRec_CTot = Day_RRec_CTot + 0F_Amount
•
If Diplomatic Receipt
Day_N_DRec = Day_N_DRec + 1
Day_N_CDrc = Day_N_CDrc + 1
Day_DRec_CTot = Day_DRec_CTot + 0F_Amount
Page 98 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin
TYPE
LENGTH
hex
2
hex
1
hex
1
ASCII
12