Help ticket print template

Help me please…
I want to align, as the image in red text above.

below is my ticket template.

[LAYOUT]

<'BMP>c:\logo.bmp

<'div style=“font-weight:normal;text-align:left;font-size:12px”>

<'L00>Address: 72 Sukhumvit 63(Ekamai),Phrakhanong-Nuea,Watthana,Bangkok10110

<’/div>

<'F>

<'div style=“font-size:12px;text-align:left;font-family:‘Tahoma’”>

<'C>Golden Pionser Entertainment Co., Ltd.

<’/div>

<'div style=“font-weight:normal;text-align:left;font-size:12px”>

<'L00>TAX ID: 0105558039042

<'L00>TEL : 02-0200220

Date:{TICKET DATE} Time:{TIME}
<’/div>

– General layout

{'ENTITIES}

<'F>-

<'div style=“font-weight:normal;text-left:center;font-size:10px”>
{‘ORDERS}
<’/div>

<'F>=

{'DISCOUNTS}

{'TAXES}

-

[Total Gift:|{ORDER STATE TOTAL:Gift}]

<'EB>

<'J10>GRAND TOTAL:|{TICKET TOTAL}

<'DB>

{'PAYMENTS}

<'F>=

<'div style=“font-size:13px;text-align:center;font-family:‘Tahoma’”>Thank You

<’/div>

['DISCOUNTS]

<'J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

['PAYMENTS]

<'J00>PAID BY:{PAYMENT NAME}|KSh:{TENDERED TOTAL}

[<'J00>CHANGE:|{CHANGE TOTAL}]

[ORDERS]

– Default format for orders

{NAME}|-{QUANTITY}|{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} | {ENTITY DATA:Phone}

['TAXES]

<'J00>Vat: {TAX NAME}|{TAX AMOUNT}

You need to use the </> button on the toolbar when pasting code as forum will strip some of the code.

I dont think J (justified) would give columns like that.
There is posibility of using table with HTML if printer suports HTML or new document printer in v5.
I would reconmend keeping the quantity to the left like on default if you want to keep a column type layout, something like;

<J00> {QUANTITY} x {NAME} | {TOTAL PRICE}

1 Like