HTML printing - Font and Size for different tags

LoL would you really prefer to discuss it with a support personnel instead of talking with pro’s here?

What all printers does at the end is the same. So your terminal problem probably does not relates HTML printer.

@JTRTech The support we’ll offer outside forum will be limited to first time setup, basic configuration and some common issues. Of course partners can prepare their own advanced setups and support their customers locally but we’ll never support advanced xyz setup published on forum :smile:

We may request local support for what we offer by default setup but by discussing with partners we’ll improve default configuration.

1 Like

But when I change from HTML to ESC/POS or Windows Printer, it prints right away. No log out no other setting change. It does this on all printers that is not local. I tried with TM-T88III (connect to another terminal, not server), same thing.

  1. Can you send printout from notepad for example?
  2. What it does when printer type is Windows Printer?

Windows Printer Works. Notepad works (hints Windows printer works)

Wait…suddenly working, just now. I tried last night every printer works except HTML.

EDIT: Ahh…The other terminal still not working. .

So ? is it working or not?

Last night, none working.
Tonight, works from my laptop but not other terminal. The other terminal still only work with ESC/POS and Windows Printer.

I will try reboot every machines tonight to see if it helps. Since it working from one machine, now I think it is network/permission issue thing. but again, why only HTML :frowning:

I don’t remember something special with HTML but it basically uses same printing mechanism with windows printer.

I don’t know if it matter but I don’t know why some terminal show printer name in capital letter and some in lower case in file exploror.

SOLVED Restart every machines works! Thank you @emre

1 Like

The network probably got confused about the mapped printer. Likely you made a change or something and it didnt get refreshed accurately on all of the computers hooked to the network.

PS: A dedicated Print Server might solve most of those problems from ever happening again.

I learn something today. I think if the printer name and printer share name different it could confuse HTML printer and maybe Windows Printer as well but not ESC/POS.

I think I know how to handle it now ;). I still using all hardwares I have from 5-10 years ago. :smiley:

1 Like

Ive not gone that far yet, still trying to get standard printing working properly.

Will bring it up once ive set up with another terminal.

Hi Mr Emre, Can you please help me to do items tag? I am using Englsih & Arabic But its not coming tow line which you upload this image perfectly coming .
What is the issue in my code ? This is my code

<XCT>27,112,0,25,250
[LAYOUT]
<div style="font-size:17px;font-family:MingLiu;text-align:Center">
<EB><DB>
<L00>       ........... KOT ...........
</div>
<L>        
<L00>Date:{TICKET DATE}              TABLE NO:|{ENTITY NAME:Table}
<J00>Time:{TIME}|Sales Rep:{USER NAME}
<L>
{ENTITIES}
<F>=
<div style="font-size:17px;font-family:MingLiu;text-align:Center">
<EB><DB>
<L00>         ORDER NO:{TICKET NO}
<L00>          {DEPARTMENT}    
</div>
{ENTITIES}
<F>*
<L00>    ITEMS         QUANTITY x     TOTAL
<F>-
<L>
<XTC>27,33,16
{ORDERS}
<XTC>27,33,0
[<L00>------------------ Notes -----------------
<L>
{NOTE}
<L>]
<L00>-------------------------------------------
<L>
<J00>Total Amount: |{PLAIN TOTAL}
<L>
<EB>
<EB>
{DISCOUNTS}
<L>
<DB>
<L00>---------------- Total --------------------
<EB>
<L>
<J00>Total | SR {TICKET TOTAL}
<L>
<DB>
<L00>---------------- Payment ------------------
<L>
<J00>Paid | SR{TENDERED TOTAL}
<J00>Change | SR{CHANGE TOTAL}
<L>
<L00>------------------------------------------
<C10>T H A N K   Y O U
<L>
<C00>fOLLOW US ON TWITTER @noufalvp
<C00>www.Mysodmain.com
<F>/

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

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

[ORDERS]
-- Default format for orders
<J00>{NAME} | {QUANTITY} x   {TOTAL PRICE}
<J00>{SORTED ORDER TAGS}
-- <J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
<L>

[ENTITIES:Customer]
-- Customer entity format
<C00>Customer: {ENTITY NAME}
-- <C00>Balance: $[=F(0-TN('{ENTITY BALANCE}'))]
<L>

You need to paste the template, select it all then click the </> button on the post toolbar.
You will see that the forum strips allot of the code if you dont.

Item tag is custom tag, available on product settings and in product tag editor.

The fields/columns are aded via the program settings section;

Once set they tag {ITEM TAG:X} in the orders section of a template (or order level event) will call the tag value where X is the tag name, for example in mt images {ITEMTAG:NewBook GLA} would return 21001.

1 Like

Thank you very much Dear, Now its working fine…
I just sharing my template

<XCT>27,112,0,25,250
[LAYOUT]
-- General layout
<EB>
<C00>My Resturant
<L>
<C00>Batha Brach
<C00>Phone: 0542651001
<DB>
<C00>Email: info@Mydomain.com
<L00>       ...........Bill...........
<L>        
<L00>Date:{TICKET DATE}              TABLE NO:|{ENTITY NAME:Table}
<J00>Time:{TIME}|Sales Rep:{USER NAME}
<L>
{ENTITIES}
<L00>                 {DEPARTMENT}
<F>=
<div style="font-size:17px;font-family:MingLiu;text-align:Center">
<EB><DB>
<L00>         ORDER NO
<L00>       {TICKET NO} 
</div>
<L>
{ENTITIES}
<F>*
<L00>    Items                QUANTITY x PRICE
<F>-
<L>
{ORDERS}
[<L00>------------------ Notes -----------------
<L>
{NOTE}
<L>]
<L00>-------------------------------------------
<L>
<J00>Total Amount: |{TICKET TOTAL}
<L>
<EB>
<J00>Total Discounts:|[=F(-1*(TN('{ORDER TAG TOTAL:Discount}')+TN('{ORDER TAG TOTAL:VIP Discount}')+TN('{ORDER TAG TOTAL:HH Discount}'))+TN('{ORDER STATE TOTAL:Gift}'))]
<L>
<DB>
<L00>---------------- Total --------------------
<EB>
<L>
<J00>Total | SR {TICKET TOTAL}
<L>
<DB>
<L00>---------------- Payment ------------------
<L>
<J00>Paid | SR{TENDERED TOTAL}
<J00>Change | SR{CHANGE TOTAL}
<L>
<L00>------------------------------------------
<C10>T H A N K   Y O U
<L>
<C00>fOLLOW US ON TWITTER @My Name
<C00>www.Mydomain.com
<F>/


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

[ORDERS]
-- Default format for orders
<J00>{NAME} | {QUANTITY} x {PRICE}
<J00>{ORDER TAGS} {ITEM TAG:Arabic}
-- <J00>- {QUANTITY} {NAME}|{TOTAL PRICE}
<L>

[ENTITIES:Customer]
-- Customer entity format
<C00>Customer: {ENTITY NAME}
-- <C00>Balance: $[=F(0-TN('{ENTITY BALANCE}'))]
<L>

This line above, you are using MingLiu font which is for Chinese characters. As you are printing Arabic, I think you should change this to a more suitable font. Try Arial Unicode if you have it installed, it works well for most languages.

3 Likes

Yes, That perfect , thank you very much dear.