5.5.2 D2 - ITEM SALE
This command is used to record the amount of an item and to print a line containing item description and
item amount.
5.5.2.1 Command Format
-----------------------------------------------------------------------
BYTE BIT
CONTENT
TYPE
LENGTH
0-1
1B66 - Cmd Prefix
hex
2
2
D2 - Item Sale
hex
1
3
Cmd. Extension
hex
1
7
Retry
1 = YES
0 = NO
6
Reserved (always =
′ 0 ′ )
5
Print Density
0 = Normal
1 = Emphasized
4
Reserved (always =
′ 0 ′ )
3
Print Typeface
0 = 15 CPI
1 = 12 CPI
2-0
Reserved (always =
′ 0 ′ )
4-20
D2_Description
ASCII
17 (Note 1)
21-27
Reserved
ASCII
7
28-39
D2_Amount
ASCII
12 (Note 2)
40-41
D2_TAX_Category
ASCII
2 (Note 3)
-----------------------------------------------------------------------
Notes:
1. D2_Description field is truncated as follows:
Document at 12 CPI to
9 characters.
Document at 15 CPI to 17 characters.
2. Max D2_Amount = 549 755 813 887
D2_Amount string can be blank, in this case the transaction counters are not affected.
3. Specify a valid D2_TAX_Category, ex. 01, 02,.... if D2_Amount string is not blank.
5.5.2.2 Item Sale Calculations
Tra_Tot_v
(
vv
) =
Tra_Tot_v
(
vv
) +
D2_Amount
Where: specific values of vv are determined from the item sale command.
vv = D2_TAX_Category, range 01 to 10.
Page 78 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...