Printer template error can not print out

Hello ! I got error ticket printer template when i have bill discount !
i do not know why when change my setting Ticket Printer Method to Select Ticket.
well, when change ticket to Select Entity, it work well.
Please help me with this issue. Thanks

You have a mistake in your html somewhere. Show us your template please.

I see right off the bat you have a closing table tag but no opening table tag.

@Jesse here is my template error with {DISCOUNTS} PLEASE HELP TO CORRECT ERROR

[LAYOUT]
-- Bill 01
</div>
<div style="font-size:12px;font-family:Calibri;text-align: center;">
	<div style="font-size: 16px; font-weight: bold">PRODAL FIGHT & FITNESS</div>
	<div>#31B st. 598, Khan ToulKork</div>
	<div>Tel:095 280 078</div>
	<div style="font-size: 15px; font-weight: bold;margin-top: 10px">RECEIPT</div>
</div>
<div style="font-size:12px;font-family:Calibri;text-align: left;">
    <div>Ticket No: {TICKET NO}</div>
     <div>Table: {ENTITY NAME:Table}</div>
   <div>Operator: {USER NAME}</div>
   <div>Date: {TICKET DATE} {TICKET TIME}</div>
</table>
</div>
<div style="font-size:11px;font-family:Calibri;background: black">
<table>
	<tr>
 		<td width=140 align=center><div style="background-color: #000;color:#fff;font-size:14px;font-weight:bold">Description</div></td>
 		<td width=30 align=center><div style="background-color: #000;color:#fff;font-size:14px;font-weight:bold">Qty</div></td>
 		<td width=40 align=center><div style="background-color: #000;color:#fff;font-size:14px;font-weight:bold">Price</div></td>
 		<td width=40 align=center><div style="background-color: #000;color:#fff;font-size:14px;font-weight:bold">Amt</div></td>
 	</tr>
	{ORDERS}
</table>
<div style="font-size:13px;">
<table>
	<tbody>
		<tr>
			<td colspan="2">----------------------------------------------------------------------</td>
			<td></td>
		</tr>
		<tr>
			<td align=Left><span style="width:150px">Sub-Total              </span></td>
			<td align=Right><div style="padding-right: 5px;">$ {PLAIN TOTAL: }</div></td>
		</tr>
	{DISCOUNTS}
	{ORDER TAGS}
	
	<tr>
		<td align=Left>TOTAL(USD)</td>
		<td align=Right><div style="padding-right: 5px;">$ <span style="float:right; background-color: #000;color:#fff;font-weight:bold">{TICKET TOTAL}</span></div></td>
	</tr>
	<tr>
		<td align=Left>TOTAL (RIEL)</td>
		<td align=Right><div style="padding-right: 5px;"><span style="background-color: #000;color:#fff;font-weight:bold">R [=F(TN('{TICKET TOTAL}')*4100,'#,##0.##')] </span></div></td>
	</tr>
	<tr>
		<td align=Left>Recieved</td>
		<td align=Right><div style="padding-right: 5px;">{TENDERED TOTAL}</div></td>
	</tr>
	<tr>
		<td align=Left>Change</td>
		<td align=Right><div style="padding-right: 5px;">{CHANGE TOTAL}</div></td>
	</tr>
	</tbody>
</table>
     <div>----------------------------------------------------------------------</div>
</div>
<div style="font-size:12px;font-family:Calibri;text-align: center;">
    <div>Thank you!</div>
    <div>Please come again!!</div>

[ORDERS]
-- Default format for orders
    <tr>
        <td width=140 align=Left>{NAME}</td>
        <td width=30 align=center>{QUANTITY}</td>
        <td width=40 align=center>{PRICE}</td>
        <td width=50 align=center>{TOTAL PRICE}</td>
     </tr>
     <tr>
     	<td>{ITEM TAG:EN}</td>
     </tr>
     
[ORDERS:Void]
-- Nothing will print for void lines

[ENTITY NAME]
-- CUSTOMER entity format
<L00>Table: {ENTITY NAME:Table}

[PAYMENTS]
    <tr>
		<td align=Right>{PAYMENT NAME}: {PAYMENT AMOUNT}</td>
	</tr>
	
[DISCOUNTS]
<tr>
	<td width=200 align=Left>{CALCULATION NAME} ({CALCULATION AMOUNT}%)</td>
	<td align=Right width=50><div style="padding-right: 25px;">{CALCULATION TOTAL}</div></td>
</tr>

Still missing a chunk of the template from what you posted, repost in a code block

Just like me 👍

Your initial post appears to show a table bring closed but not being opened - thus your error.

Ok I see now. You have already posted before on this same error. We already told you what is wrong. Did you ignore that post?

Thanks all. it has fixed