Printing Template Clean

Hello Team,

I have the following printing template

 [LAYOUT]
-- General layout
<XCT>29,40,76,6,0,48,69,32,32,1,1 
<C10>CURRY VILLAGE
<C10>BANANA LEAF P/L
<C>8 LIM TECK KIM ROAD
<C>TEL : 6226 2562
<F>-
<C10>Receipt No: {TICKET NO}
<J00>Date: |{DATE} {TIME}
{ENTITIES}
<F>-
<J00> Qty Items|Price  Amount
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Total:|{TICKET TOTAL}
<J10>{TICKET TAG:PersonCount}
{PAYMENTS}
<DB>
<F>=
<C10>THANK YOU

[DISCOUNTS]
<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[PAYMENTS]
<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}

[ORDERS]
-- Default format for orders
<J00>   {QUANTITY} {NAME}|{PRICE}  {TOTAL AMOUNT}
{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}

When i use the print bill, it it is not formatting correctly, i am missing some tag here.

It prints like as one below:

I have One problem here

  1. The Prices are not formatted correctly.

@emre or @Jesse
Please help me solve the issue

They look fine to me… How do you want them formatted?

See the Price and total in last item is not formatted correctly

Do you mean aligned? If so try

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

play around with spaces until its aligned how you like.

The problem is not the price, its the quantity…
this is my order line and works fine, all ligned:

<J00>- {QUANTITY} x {PRODUCT NAME} {PORTION}|R${TOTAL AMOUNT}

The difference between mine an @kendash´s is that mine has not the first | (PIPE).

Hope this helps!!!

G.

The qty is fine. He has {PRICE} set and it needs to be lined up by pipe or it will not look right. What I showed you aligns {PRICE} and Total by pipe. He just needs to adjust spaces. What you showed is basically the same as he has now except you left out price.