I’m trying to use {ORDER INDEX}/{INDEX TOTAL} to show 1/2, 2/2 and so on. Unfortunately, I’m having problem when printing to kitchen label, they printed 1 of 1 order even with the same ticket number. Meanwhile the receipt is able to show 1 of 2 and 2 of 2.
Kitchen Label Print Jobs setup: Separated prints by quantity, Template (TSPL language):
SIZE 40 mm,30 mm
GAP 3 mm, 0 mm
DIRECTION 1
BEEP
CLS
[LAYOUT]
TEXT 15,10,"3",0,1,1,"ALOHA!"
{ORDERS}
PRINT 1
[ORDERS]
TEXT 15,45,"3",0,1,1,"{NAME}"
TEXT 170,10,"3",0,1,1,"{TICKET TAG:Order No}({ORDER INDEX}/{INDEX TOTAL})"
{ORDER TAGS}
[ORDERS:Gift]
TEXT 15,45,"3",0,1,1,"{NAME}"
TEXT 170,10,"3",0,1,1,"{TICKET TAG:Order No}({ORDER INDEX}/{INDEX TOTAL})"
{ORDER TAGS}
[ORDER TAGS]
TEXT 30,80,"2",0,1,1,"{ORDER TAG:Dine-in/Takeaway}"
TEXT 30,104,"2",0,1,1,"{ORDER TAG:Toppings (Free)}"
TEXT 30,128,"2",0,1,1,"{ORDER TAG:Additional Toppings (+10,000)}"
TEXT 30,152,"2",0,1,1,"{ORDER TAG:More Toppings (+7,000)}"
TEXT 30,176,"2",0,1,1,"{ORDER TAG:Note}"
Receipt Print Jobs setup: All lines, Receipt Template (POS):
<XCT>27,112,0,25,250
<BMP>C:\logo
[LAYOUT]
-- General layout
<CXY J10>{TICKET TAG:Order No}
<F>
<CXY J12>ALOHA
<CXY L00>SUMMARECON MALL SERPONG
<CXY L00>TEL: 032-39268440
<CXY L00>NPWP: 03.220.092.7-077.000
<CXY L00>HOTLINE: 08228358088
<F>
<T>RECEIPT
<L00>Date : {TICKET DATE}
<L00>Time : {TIME}
<L00>Clerk : {:CURRENTUSER}
<L00>Bill No : {DATE:ddMMyyyy}{TICKET TAG:Order No}
<F>-
{ORDERS}
<F>=
<EB>
[<J10>Total Gift:|[=FF('{ORDER STATE TOTAL:Gift}','#,##0')]]
<J00>Subotal:|[=FF('{PLAIN TOTAL}','#,##0')]
{DISCOUNTS}
{SERVICES}
{TAXES}
{PAYMENTS}
{ENTITIES}
<DB>
<F>-
<CXY L00>10% PPN Included
<CXY L00>WiFi Password: sayalupa
<CXY L00>Franchise Info: 0.8999.8999.55
<F>=
<C10>T H A N K Y O U
[DISCOUNTS]
<J00>{CALCULATION NAME} {CALCULATION AMOUNT}%:|[=FF('{CALCULATION
TOTAL}','#,##0')]
[SERVICES]
<J00>{CALCULATION NAME}|[=FF('{CALCULATION TOTAL}','#,##0')]
[PAYMENTS]
<J10>Grand Total:|[=FF('{TICKET TOTAL}','#,##0')]
<J00>{PAYMENT NAME}:|[=FF('{TENDERED TOTAL}','#,##0')]
<J00>Change Due:|[=FF('{CHANGE TOTAL}','#,##0')]
[TAXES]
<J00>{TAX NAME} {TAX RATE}%:|[=FF('{TAX AMOUNT}','#,##0')]
[ORDERS]
-- Default format for orders
<J00>{QUANTITY} {NAME} ([=FF('{PRICE}','#,##0')])|[=FF('{TOTAL PRICE}','#,##0')]
{SORTED ORDER TAGS}
{ORDER INDEX}/{INDEX TOTAL}
<F>
[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT** -[=FF('{TOTAL PRICE}','#,##0')]
{SORTED ORDER TAGS}
[ORDERS:Void]
-- Nothing will print for void lines
[SORTED ORDER TAGS]
-- Format for order tags
<J00> {QUANTITY} {ORDER TAG NAME} ([=FF('{ORDER TAG
PRICE}','#,##0')])|[=FF(TN(TN('{ORDER TAG
PRICE}')*(TN('{QUANTITY}'))),'#,##0')]
[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}
[ENTITIES:Customer]
-- Customer entity format
<F>-
<J00>{ENTITY NAME}|{ENTITY DATA:Phone}
<J00>Old Bal :|[=FF(TN(TN('{ENTITY BALANCE}')-(TN('{TICKET
TOTAL}')))*(-1),'#,##0')]
<J00>New Bal :|[=FF(TN('{ENTITY BALANCE}')*(-1),'#,##0')]