5.5.3 D3 - NEGATIVE ITEM SALE
This command is usde to records the amount of a negative item and prints a line containing the item
description and item amount.
5.5.3.1 Command Format
-----------------------------------------------------------------------
BYTE BIT
CONTENT
TYPE
LENGTH
0-1
1B66 - Cmd Prefix
hex
2
2
D3 - Negative Item Sale
hex
1
3
Cmd. Extension
hex
1
7
Retry
1 = YES
0 = NO
6
Rectify
1 = YES
0 = NO
5
Print Density
0 = Normal
1 = Emphasized
4
Reserved (always =
′ 0 ′ )
3
Print Typeface
0 = 15 CPI
1 = 12 CPI
2-0
Negative Item Type
001 (1) = VOID
010 (2) = BONUS/COUPONS
011 (3) = DISCOUNT
100 (4) = EMPTY (as in empty bottles)
4-20
D3_Description
ASCII
17 (Note 1)
21-27
Reserved
ASCII
7
28-39
D3_Amount
ASCII
12 (Note 2)
40-41
D3_TAX_Category
ASCII
2 (Note 3)
-----------------------------------------------------------------------
Notes:
1. D3_Description field is truncated as follows:
Document at 12 CPI to
9 characters.
Document at 15 CPI to 17 characters.
2. D3_Amount string cannot be blank. Max D3_Amount = 549 755 813 887.
3. Specify a valid D3_TAX_Category, ex. 01, 02,...
5.5.3.2 Negative Item Sale Calculations
•
For Rectify = NO
Tra_Tot_v
(
vv
) =
Tra_Tot_v
(
vv
) −
D3_Amount
−
According to the negative item type:
Tra_N_Void
=
Tra_N_Void
+
1
Tra_Void_v
(
vv
) =
Tra_Void_v
(
vv
) +
D3_Amount
Tra_Void
=
Tra_Void
+
D3_Amount
Page 80 of 183 — IBM 4610 SureMark Fiscal Printer Turkey - Models GR3/GR5/GB3/GB5 Programmin
Содержание 4610 SureMark GR3
Страница 12: ...Page 12 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 14: ...Page 14 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 18: ...Page 18 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 26: ...Page 26 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 30: ...Page 30 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 44: ...Page 44 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmin...
Страница 129: ...b The maximum number of ordinary lines in DI station EB cmd are 255 Command Set Reference Page 129 of 183...
Страница 154: ...Page 154 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...
Страница 178: ...Page 178 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...
Страница 182: ...Page 182 of 183 IBM 4610 SureMark Fiscal Printer Turkey Models GR3 GR5 GB3 GB5 Programmi...