ARABIC TEMPLATES
Here are the steps or corrections to be done for Arabic Printout in DinePlan
STEP 1: Make Receipt Printer to HTML as below
STEP 2: Here is the template for Bill and Receipt and change it appropriate places
Bill Templates are
[LAYOUT]
<F>
<span style="font-size:12px;font-weight:bold;text-align:center;">
<C>مقهى نور
</span>
<span style="font-size:12px;">
<F>-
<J>Date :{TICKET DATE}|{TIME}
<L>Bill : {TICKET NO}
<L>User: {USER NAME}
{ENTITIES}
<F>-
<J>الكمية | نيم |السعر
<J>QTY| NAME| PRICE
<F>-
{ORDERS}
{ORDERS TAGS}
<LF>
<F>-
{DISCOUNTS}
{SERVICES}
{TAXES}
<J>Total:|{TICKET TOTAL}
<F>-
<div style="font-size:12px;font-weight:bold;text-align:center;">
<C>Thanks For Your Visit
<F>.
<F>
</div>
[DISCOUNTS]
[<J>{CALCULATION NAME} {CALCULATION AMOUNT}%|{CALCULATION TOTAL}]
[ORDERS:Gift]
<L>-Gift-
<J00>{QUANTITY} | {NAME} | {TOTAL AMOUNT}
[ORDERS:Comp]
<L>-Comp-
<J00>{QUANTITY} | {NAME} | {TOTAL AMOUNT}
[ORDERS:Void]
<L>-Void-
<J00> {QUANTITY} | {NAME} | {TOTAL AMOUNT}
[ORDERS]
-- Default format for orders
<J>{QUANTITY}| {NAME}| {TOTAL}
<L> {ALIASNAME}
<F>
{ORDER TAGS}
[ORDER TAGS]
-- Format for order tags
<J00>*{ORDER TAG QUANTITY} | {ORDER TAG NAME} | {ORDER TAG PRICE}
[PAYMENTS]
<J>{PAYMENT NAME}|{PAYMENT AMOUNT}
[ENTITIES:Table]
<L>TABLE: {ENTITY NAME}
The output is
The Receipt Template is
[LAYOUT]
<F>
<span style="font-size:12px;font-weight:bold;text-align:center;">
<C>مقهى نور
</span>
<span style="font-size:12px;">
<F>-
<J>Date :{TICKET DATE}|{TIME}
<L>Receipt : {TICKET NO}
<L>User: {USER NAME}
{ENTITIES}
<F>-
<J>الكمية | نيم |السعر
<J>QTY| NAME| PRICE
<F>-
{ORDERS}
{ORDERS TAGS}
<LF>
<F>-
{DISCOUNTS}
{SERVICES}
{TAXES}
<J>Total:|{TICKET TOTAL}
<F>-
{PAYMENTS}
<F>-
<J00>Paid : |{TICKET TAG:Tendered}
<J00>Change : |{TICKET TAG:ChangeDue}
<F>-
<div style="font-size:12px;font-weight:bold;text-align:center;">
<C>Thanks For Your Visit
<F>.
<F>
</div>
[DISCOUNTS]
[<J>{CALCULATION NAME} {CALCULATION AMOUNT}%|{CALCULATION TOTAL}]
[ORDERS:Gift]
<L>-Gift-
<J00>{QUANTITY} | {NAME} | {TOTAL AMOUNT}
[ORDERS:Comp]
<L>-Comp-
<J00>{QUANTITY} | {NAME} | {TOTAL AMOUNT}
[ORDERS:Void]
<L>-Void-
<J00> {QUANTITY} | {NAME} | {TOTAL AMOUNT}
[ORDERS]
-- Default format for orders
<J>{QUANTITY}| {NAME}| {TOTAL}
<L> {ALIASNAME}
<F>
{ORDER TAGS}
[ORDER TAGS]
-- Format for order tags
<J00>*{ORDER TAG QUANTITY} | {ORDER TAG NAME} | {ORDER TAG PRICE}
[PAYMENTS]
<J>{PAYMENT NAME}|{PAYMENT AMOUNT}
[ENTITIES:Table]
<L>TABLE: {ENTITY NAME}
The Output is
STEP 3: Changes in the Till Template and Printer
The TILL will be opening only via ESC/POS printer. Since we changed that into HTML Printer. We need to add the new printer for TILL and change the respective Print Jobs as below
and MODIFY THE PRINT JOB for OPEN TILL
and Make sure that the OPEN TILL Job is selected in the ACTION as well