Currently my Ticket Printer Template resulting the following result :
[code]
░░░░░░░░░░░░░░░ T i c k e t ░░░░░░░░░░░░░░
Date: 14/12/2015
Time: 11:29
Server: Administrator
Table: B10
Ticket No:2
- 1 Blueberry Cheese Cake.Slice Rp 18.000,00
==========================================
Total: Rp 18.000,00
==========================================
GC201512141121841200000 Balance: Rp 182.000,00
GC201512141121841200000 18.000,00
==========================================
Thank You
Password WIFI : Testing[/code]
As you can see on the orders list it become out of print area, thus on the printed result word “- 1 Blueberry Cheese Cake.Slice Rp 18.000,00” being cutted as “- 1 Blueberry Chee Rp 18.000,00”, how to make the {orders} into 2 paragraph automatically ?. So the end result would be like these :
[code]
░░░░░░░░░░░░░░░ T i c k e t ░░░░░░░░░░░░░░
Date: 14/12/2015
Time: 11:29
Server: Administrator
Table: B10
Ticket No:2
- 1 Blueberry
Cheese Cake.Slice Rp 18.000,00
==========================================
Total: Rp 18.000,00
==========================================
GC201512141121841200000 Balance: Rp 182.000,00
GC201512141121841200000 18.000,00
==========================================
Thank You
Password WIFI : Testing[/code]
My current Ticket Printer Template :
[LAYOUT]
-- General layout
<ec>
<BMP>C:\Users\Este\Documents\SambaPOS5\Logo.bmp
<el>
<J00>
<T>Ticket
<L00>Date: {TICKET DATE}
<L00>Time: {TIME}
<L00>Server: {USER NAME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:| Rp {ORDER STATE TOTAL:Gift}]
{SERVICES}
<J10>Total:| Rp {TICKET TOTAL}
<F>=
<J00>{TICKET TAG:GCN}| Balance: Rp [=F(TN('{TICKET TAG:GCB}'))]
[<J00>Total FREE:| Rp {ORDER STATE TOTAL:Gift}]
[<J00>Discounts:| Rp [=F(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))]]
[<J00>TOTAL SAVINGS:| Rp [=F(-1*(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))+TN('{ORDER STATE TOTAL:Gift}'))]]
{PAYMENTS}
<DB>
<F>=
<C10>THANK YOU
<C00>Password WIFI : Testing
[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}
[SERVICES]
<J00>{CALCULATION NAME}|{CALCULATION TOTAL}
[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}
[ORDERS]
-- Default format for orders
<J00>- {QUANTITY} {NAME}|Rp {TOTAL PRICE}
{ORDER TAGS}
[ORDERS:Gift]
-- Format for gifted orders
<J00>- {QUANTITY} {NAME}|**GIFT**
{ORDER TAGS}
[ORDERS:Void]
-- Nothing will print for void lines
[ORDER TAGS]
-- Format for order tags
<J00> * {ORDER TAG NAME} | {ORDER TAG PRICE}
[ENTITIES:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}
[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | Phone : {ENTITY DATA:Phone}