Print Problem not align

not fix… same problem

Might be a printer setting then… Character width maybe

if take out the Div tags , then

<span style="font-family:Tahoma">

<J00>Date: {TICKET DATE} | Table No: {ENTITY NAME:Table}

<J00>Time: {TIME} | Ticket No: {TICKET NO}

</span>

<F>-

{ORDERS}

<F>=

<EB>

{DISCOUNTS}

{TAXES}

[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]

<J00>Total:|[=FF('{TICKET TOTAL}','#,##0')]

{PAYMENTS}

<DB>

<F>=

<C00>Thank you, please come again!



[DISCOUNTS]

<J00>{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}



[PAYMENTS]

<J00>{PAYMENT NAME}|{PAYMENT AMOUNT}



[ORDERS GROUP|PRODUCT GROUP]





[ORDERS]

-- Default format for orders

<J00>- {NAME} x{QUANTITY} | [=FF('{TOTAL PRICE}','#,##0')]

{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}

i use

<J00:2>- {NAME} x{QUANTITY} | [=FF('{TOTAL PRICE}','#,##0')]

also not fix

I think its a printer setting. What model printer? Maybe reduce your Line Character Count to 32

i setting Line Character Count between 42 to 58, not fix

Try setting it at 32 and use the <F>= instead of <J00>============= like mentioned earlier. Also take out the div tags again.

Also can try adding font-size:13px into your div and span tags adjust font size until it fits

This is Line Character Count 32 and no div tag, see

Set your Line Character Count back to 42 and try this template.

<span style="font-family:Tahoma;font-size:13px">
<J00>Date: {TICKET DATE} | Table No: {ENTITY NAME:Table}
<J00>Time: {TIME} | Ticket No: {TICKET NO}
</span>
<div style="font-family:Tahoma;font-size:13px">
<F>-
{ORDERS}
<F>=
<EB>
{DISCOUNTS}
{TAXES}
[<J10>Total Gift:|{ORDER STATE TOTAL:Gift}]
<J00>Total:|[=FF('{TICKET TOTAL}','#,##0')]
{PAYMENTS}
<DB>
<F>=
<C00>Thank you, please come again!
</div>

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

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

[ORDERS GROUP|PRODUCT GROUP]


[ORDERS]
-- Default format for orders
<span>
<J00>- {NAME} x{QUANTITY} | [=FF('{TOTAL PRICE}','#,##0')]
</span>
{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}

change font size , no fix too, i think it is about my country language

Its probably the font it is printing in. Try the above template and change font size a few times to see if different results occur.

Maybe try font-size:16px

NOTICE when you tried Line character Count 32 it printed the <F> tags correctly just did not justify.

Under [ORDERS]
try eliminating the <span> tag there too


Maybe try Line Character Count 30 Font size 13 Try adjusting both of those settings see if you can get it to align.

Notice Font size 10 was closer… at that line character count font size 8 might have worked

Definately should not be using <J00>======= for line break it should be <F>= Make sure you keep that set in your template.

Try eliminating span tag from your [ORDERS] definition as well. see if that makes difference

all are no fix, i think it is about my language character.

It might be. I tried everything in my knowledge maybe someone else will see this and have little more knowledge on it.

but anyway , thanks for ur answer…

You’ve probably already read this thread, but there is some help here regarding foreign fonts:


From what I’ve read, this isn’t a simple problem to define or fix, but let me give you these suggestions:

Start simple - remove all formatting tags.

Work from the inside to the outside - start with your [ORDERS] section, and once you get that printing properly, work your way outward.

Ensure you open and close your HTML tags in the proper places and in the proper sequence.

Adjusting the font-size will have an effect on the printer line character-count because you are altering the width of the characters.

Fixed-width fonts will always give you predictable results, while non-fixed-width fonts could result in issues.

Hello.

  1. Which language it is?
  2. Can you type the order lines content here? I want to see how character spacing works for your language.
  1. Myanmar Language
  2. U need to use window 8 to test it, only windows 8 support it, i type some word
    ထမင်းကြော်
    ခေါက်ဆွဲကြော်
    ချည်စပ်ဟင်းရည်