Kitchen printer error: calibrib.tff does not conform to the expected format

this morning when we opened we cannot print to kitchen printer.

this is the error that displays on screen. That font is included with windows.

samba version 5.7.26

windows 11 machine.

printer template:

[LAYOUT]

<div style="font-size:22px;text-align:center;font-weight:bold;font-family:'Calibri';background-color:black;color:white;border: 1px solid black">
<table>
<tr>
<J><F> 
<J><F> 
<td width=100*>{TICKET TYPE}  #  {TICKET NO}</td>
<tr>
</div>

<div style="font-size:22px;text-align:left;border: 1px solid black;font-family:'Calibri'">
{ENTITIES}
</div>

<div style="font-size:22px;text-align:left;border: 1px solid black;font-family:'Calibri'">
{ORDERS}
</div>
<J><F> 
<J><F> 
<J><F>




-- Ticket info




<div style="font-size:22px;text-align:left;border: 1px solid black;font-family:'Calibri'">
{ENTITIES}
</div>

<div style="font-size:15px;font-weight:bold;text-align:center;font-family:'Calibri'">
<table>
<tr>
<tr>
<td width=20*>DATE:</td>
<td width=20*>OPEN</td>
<td width=20*>PRINT</td>
<td width=35*>Server:</td>
<tr>
<td width=20*>{TICKET DATE:dd-MMM-yy}</td>
<td width=20*>{TICKET DATE:HH:mm}</td>
<td width=20*>{TIME}</td>
<td width=40*>{USER NAME}</td>
<tr>
</tr>
</table>
</div>

[ORDERS GROUP|ORDER STATE:Course:Appetizer,Main,Dessert]

<div style="font-size:22px;font-weight:bold;text-align:center;font-family:'Calibri';background-color:black;color:white;border: 1px solid black">
<table>
<tr>
<td width=100*>[='{GROUP KEY}' != '' ? '{GROUP KEY}' : '{GROUP CODE}']</td>
<tr>
</tr>
</table>
</div>

[ORDERS]

-- Default format for orders

<div style="font-size:20px;font-weight:bold;text-align:left;font-family:'Calibri'">
<table>
<tr>
<td width=30>□ </td>
<td width=30>{QUANTITY}</td>
<td width=225>{PRODUCT NAME}[='{PORTION}' == '' ? '' : '     {PORTION}']</td>
</table>
</div>
{ORDER TAGS}
{SORTED ORDER TAGS}

[ORDERS:Void]




-- Output format for Order Tags




[SORTED ORDER TAGS]

<div style="padding:0 0 0 80;font-size:20px;text-align:left;font-family:'Calibri'">
<table>
<tr>
<td width=10>[= F(TN('{ORDER TAG QUANTITY}'))	> 1 	? 	F({QUANTITY}*{ORDER TAG QUANTITY}, '#') : '‎•']</td>
<td width=180>   {ORDER TAG NAME}</td>
</tr>
</table>
</div>

[SORTED ORDER TAGS:Discount]

[SORTED ORDER TAGS:Promotion]




-- Output format for Tables




[ENTITIES:Table]
-- Table entity format

<div style="font-size:22px;text-align:center;font-family:'Calibri'">
<table>
<tr>
<td width=100* align=left>     👪 <b>Table :</b> {ENTITY NAME}</td>
<tr>
</table>
</div>




-- Output format for Customers




[ENTITIES:Customer]
-- Customer entity format

<div style="font-size:22px;text-align:center;font-family:'Calibri'">
<table>
<tr>
<td width=50* align=left>     🤵  <b>Customer :</b> {ENTITY NAME}</td>
<tr>
</table>
</div>




-- Output format for Delivery




[ENTITIES:Delivery]
-- Delivery entity format

<div style="font-size:22px;text-align:center;font-family:'Calibri'">
<table>
<tr>
<td width=50* align=left>    🛵  {ENTITY NAME}</td>
<td width=50* align=right>    <b>Code :</b> [= '{TICKET TAG:Code}' == '' ? '' : '#{TICKET TAG:Code}']    </td>
<tr>
</table>
</div>
<XCT>27,66,4,3


preview view looks fine. but error happens when you go to print.

Seems changing to Arial fixes the issue. apparently microsoft in their infinite wisdom changed a system font in an update…

I was just solving that yesterday. You can run a command to add these fonts for deletion on boot and then reinstall calibri font from a device where they arent corrupted

i tried deleting them, but they are system files and could not. it was easier and faster to just change to a different font. or in the reciept template i just removed font-family reference.

but thanks for the heads up!

Got many customers with this issue yesterday and today. Yesterday restarting system 2x resolved it, but today doesn’t. Also uninstalling the 1-2 security updates that were released on 11 August (related to .NET Framework 3.5, 4.8) also usually resolved it, but I had some systems it doesn’t fix also. Also tried deleting FontCache then restarting, also doesn’t work.

Can you tell me what worked for you? it seems to be such a strange issue that one thing works for one system and not another!

I had the commands stored in an order but deleted that file since it was the same hassle, for some it worked and for some it didn’t.

Took his advice and we just update all templates to use Segoe font family instead.
UPDATE PrinterTemplates SET Template = REPLACE(Template, 'Calibri', 'Segoe')

Run it on all your clients, have them logout/login and forget about it ever bothering you.

I had exactly the same issue on one of my Windows 11 PCs running SambaPOS.

In my case, the problem was caused by the August 11, 2026 .NET Framework update KB5120708. Microsoft has now listed this as a known issue affecting WPF applications when printing with certain fonts, including Calibri.

I tested it by uninstalling KB5120708, rebooted the PC, and printing immediately started working normally again. So in my case the Calibri font itself wasn’t corrupted.

For anyone experiencing this, I would first check:

Settings → Windows Update → Update history → Quality Updates

and see if KB5120708 is installed.

As a temporary workaround, either uninstalling KB5120708 or changing the SambaPOS printer template from Calibri to Arial/Segoe UI worked for me.

Microsoft currently lists the issue as “Investigating.”

Official Microsoft information:
KB5120708 – August 2026 .NET Framework update

My own test: uninstalling KB5120708 fixed the printing problem completely.

I would not recommend removing a Windows security update to resolve this, as there are critical security fixes combined in the update that protect your internet connected computer.

The temporary fix of swapping Calibri → Arial is the best solution for the moment, until Microsoft has a patch to fix Calibri font.

If it is helpful to anyone, our company created an automated fix for our customers and anyone is welcome to use or share this with their customers if they wish. Sorry, it is branded with our company since it was created for our own customers’ use!


Download the StoreSeen Printing Fix on your main POS terminal from the link below:

https://storeseen.com/printfix

Once downloaded:

  1. Double-click or Run StoreSeen Printing Fix.
  2. Windows may ask for administrator permission or an administrator password.
  3. Click Fix Printing Now and wait for the confirmation that the fix has completed.
  4. Close SambaPOS completely and open it again, then try printing.

The fix automatically checks your SambaPOS printer templates and corrects the font affected by the Windows update. It does not change your menu, products, prices or sales data, and it creates a backup before making any changes.

If you have more than one POS terminal and another terminal is still showing the printing error afterwards, please close and reopen SambaPOS on that terminal as well.

:information_source: Please Note: the fix changes the receipt font from Calibri to Arial, so the printed receipt may look very slightly different, but it should remain clear and perfectly usable.

:warning: Please Note: Chrome may show a warning saying the file isn’t commonly downloaded and may be dangerous (like the example shown below). This is because the StoreSeen Printing Fix is a new utility and has not yet been downloaded often enough to build a download reputation with Google. The file is digitally signed by StoreSeen (UK) Limited and is safe to use. If you see this message, choose Download suspicious file to continue.

We have created a quick video showing how to download and run the fix on your POS terminal: