Ticket Templates

Hello
I use following template for ticket. It is working well, i would like to remove customer information in another place.
Actually customer name and Tel number are coming between Table Number and Ticket number. Street and House number and City aren’t coming at all. Can someone help me to put customer informaton just after Ticket Number? Like this format please? ( I use Version 4 1 82)
Thank you for Help
Celik


Mr. Hans Peter
Hauptstrasse 50
5000 Aaarau
Tel: 078 888 88 88


[LAYOUT]
-- General layout
<T10>MILANOS PIZZA
<T10>Restaurant & Kurier
<L>
<L00>Hauptstrasse 46 5212 Hausen
<L00>Tel: 056 534 44 44 
<L>
<L00>CHE 136.364.552 MWST
<L>
<T10>www.milanos.ch
<L>
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}
{ENTITIES}
<L00>Ticket No:{TICKET NO}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
{TAXES}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Sub Total:|[=F(TN('{TICKET TOTAL}')-TN('{TAX TOTAL}'))]
<J10>Tax:|{TAX TOTAL}
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>Herzlichen Dank für Ihren Besuch
<L>
<F>=
<L00>{NOTE}
<L>
[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:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
<L00>Tax Name: {TAX NAME}
<L00>Tax Amount: {TAX AMOUNT}
<L00>Taxable Amount: {TAXABLE AMOUNT}
<F>-
1 Like

Put {ENTITIES} after two like

Like this…

[LAYOUT]
-- General layout
<T10>MILANOS PIZZA
<T10>Restaurant & Kurier
<L>
<L00>Hauptstrasse 46 5212 Hausen
<L00>Tel: 056 534 44 44 
<L>
<L00>CHE 136.364.552 MWST
<L>
<T10>www.milanos.ch
<L>
<T>Ticket
<L00>Date:{TICKET DATE}
<L00>Time:{TIME}

<L00>Ticket No:{TICKET NO}
{ENTITIES}
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
{TAXES}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J10>Sub Total:|[=F(TN('{TICKET TOTAL}')-TN('{TAX TOTAL}'))]
<J10>Tax:|{TAX TOTAL}
<J10>Total:|{TICKET TOTAL}
{PAYMENTS}
<DB>
<F>=
<C10>Herzlichen Dank für Ihren Besuch
<L>
<F>=
<L00>{NOTE}
<L>
[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:Table]
-- Table entity format
<L00>Table: {ENTITY NAME}

[ENTITIES:Customer]
-- Customer entity format
<J00>Customer: {ENTITY NAME} | {ENTITY DATA:Phone}

[TAXES]
<L00>Tax Name: {TAX NAME}
<L00>Tax Amount: {TAX AMOUNT}
<L00>Taxable Amount: {TAXABLE AMOUNT}
<F>-

Hello Michel
thank you for Answer. I have used following code to show Customer informations on receipt Template.
Informations are coming correctly on paper, but my Printer starts to print my receipt with a foreign “B”.

From where is this “B” coming?

The result is like this:

BMilanos Pizza
Hauptstrasse 46
5212 Hausen

How can I remove this foreign “B” in my receipt?

Regards

[ENTITIES:Customer]
– Customer entity format
-
Kunden: {ENTITY NAME}
{ENTITY DATA:Strasse}
{ENTITY DATA:PLZ City}
Tel:{ENTITY DATA:Phone}
-

Look on the forum, is it on first line of every print?
If so you have similar cheap Chinese printer like I had, you should try and reinstalled printer using etc code before each print, I have a topic on forum discussing this issue.

2 Likes

as @JTRTech says, is a known problem with Chinese printers. search forum

Also you try to change from EcsPos emulation in text from printer and try to set the correct syntax

Here …

First Receipt is coming good, the next one is coming with “B”.Yes the printer is from China.