@emre Hope u well. First of all i would like to thank you very much for your continues support.
I have an issue with Ticket template print. Basically my menu is in arabic. I have setup the character set and stuff. Arabic language does comes up while printing. However, the alignment is not right for the first line. What happens is with first line quantity and price come on one side and name on other, when it should be like quantity, name and price. The alignment is out for first line only, other lines are perfectly aligned. To make more sense i have am attaching print out of my receipt and also Ticket Template Script.
I would like to mention that i have already tried div and span tags, but unfortunately, still has no luck. Your help in this matter will be much appreciated.
Thanks in Advance.
,
Please find below Ticket Template:
<T>RECEIPT
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>RECEIPT #:{TICKET NO}
<L00>User:{USER NAME}
<L00>Note:{NOTE}
<F>-
<EB>
{ORDERS}
<F>=
{DISCOUNTS}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
{SERVICES}
<div style="font-weight:normal;text-align:left;font-family:Tahoma;font-size:10px">
<J10>{TICKET TOTAL}:Total
</div>
{PAYMENTS}
<DB>
<F>=
<div style="font-weight:normal;text-align:center;font-family:Tahoma;font-size:11px">
<C10>T H A N K Y O U
<L00>Please come Again !!!
</div>
[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}|{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:Type]
-- Type entity format
<L00>Type: {ENTITY NAME}
[ENTITIES:Customer]
-- Customer entity format
<J00>Delivery
<J00>Customer:{ENTITY NAME}
<J00>Phone no:{ENTITY DATA:Phone}
<J00>Address :{ENTITY DATA:Address}
[ENTITIES:Drivers]
-- Drivers entity format
<J00>Driver: {ENTITY NAME}
[ENTITIES:Safri]
-- Safri entity format
<L00>Safri
<L00>Customer: {ENTITY NAME}
[ENTITIES:Car Order]
-- Car Order entity format
<L00>Car Order
<L00>Car: {ENTITY NAME}