Skip to main content
11-Garnet
August 13, 2026
Solved

Save as PDF or Print to PDF causing "Unexpected error" Mathcad Prime 12

  • August 13, 2026
  • 31 replies
  • 2057 views

Hello!
We have 2 users with 2 different computers reporting the same issue with their prime files.
I don’t know if it has something to do with the latest august Windows 11 Cumulative update (KB5121003)?
The issue started happening yesterday after the users updated their Windows 11.

When we try to Save as PDF or use the Print function we get the same errors. And we have tried several PDF printers. It only creates a .PDF file with 0kb in size. 

I uploaded 2 files that we are experiencing this issue with.

Best answer by ptc-791056

I would like to inform you that we have identified a workaround for the Print to PDF issue. Please find the workaround below. 

  • Go to >> “C:\Program Files\PTC\Mathcad Prime 12.0.1.0\MathcadPrime.runtimeconfig.json”
  • Open MathcadPrime.runtimeconfig.json file in Notepad/Notepad ++, under the configProperties section, add the following entries:

"Switch.MS.Internal.TtfDelta.DisableCmapAndSbitOverflowProtection": true,

"Switch.MS.Internal.TtfDelta.DisableDirectWriteForwarderBoundsCheckProtection": true

After the change, the configuration should look like this: 

 

 

Note: Ensure that a comma (,) is added at the end of the previous line (line 16 in the image) to maintain valid JSON syntax.

31 replies

15-Moonstone
August 13, 2026

Seems OK for me here in USA. My latest Windows 11 Pro updates are: 

Attached files generated with Prime 12.0.0.0. PrintPDF generated using “Microsoft Print to PDF”.

 

5-Regular Member
August 13, 2026

Same issue here at all licensed stations (Mcad version 11, 11-01 and 12.0) with Windows 11 Pro (USA); printing to local printers not working at all and printing nor save as PDF (results in an error message). Security updates were installed on 8/12. Any other suggestions?

 

23-Emerald IV
August 13, 2026

I can confirm.

With Prime 11 and 12.0.0.1, both express edition, before and after updating windows with the following set:

There is no error message, but the resulting file sizes (printing to “Microsoft print to pdf”) speak for themselves:

Success!
Luc

Tomm111-GarnetAuthor
11-Garnet
August 14, 2026

Okay!
So there either is something wrong with the MathCad files or something connected to the latest MathCad Prime/Windows updates?

3-Newcomer
August 14, 2026

We have the same problem after the latest Windows update. Our workaround is saving the file as an rtf-file, then open that in word to eksport to pdf.

Tomm111-GarnetAuthor
11-Garnet
August 14, 2026

Yeah, we are also using that workaround.
But it’s some extra steps that should not be needed in my opinion.

Tomm111-GarnetAuthor
11-Garnet
August 14, 2026

Also noted that the Header is not included when using “RTF” format.. we also want to include that in our PDFs!

5-Regular Member
August 14, 2026

By uninstalling the windows updates (dated 8/12) listed on my previous reply, the issue was resolved. I have a ticket with technical support. I’ll follow-up once we have their response. 

Tomm111-GarnetAuthor
11-Garnet
August 17, 2026

Perfect, hopefully they will resolve the issue soon.

5-Regular Member
August 17, 2026

After contacting our local tech support representative, the issue was diagnosed as a conflict with the font (we use Calibri), due to the windows system updates (unknow which one specifically) when printing and//or PDF creation. By changing the font to Arial; for instance, Times New roman was also suggested to use), the issue is resolved for both printing and pdf creation, with the system updates in place. Problem was escalated to PTC, hopefully a resolution will be provided shortly. We do not want to have to spend the time to change the font on our Mcad sheets (way too many). I’ll follow up once we have the final word from PTC.

3-Newcomer
August 18, 2026

Hi Oscar,
Changing the font to Arial from Calibri fixed this issue for me. Make sure any text as part of your footers and headers is also changed, including page numbers. 
Thanks.

3-Newcomer
August 18, 2026

Changing the font worked for me as well! However, all our templates are in Calibri and its a hassle to change

4-Participant
August 25, 2026

Same problem here, rather anoying, it would be indeed quite a burden to change all the fonts… I hope they fix it soon 

DJNewman
19-Tanzanite
August 25, 2026

From what I’ve been told, this isn’t a problem PTC can fix at this time; but PTC is actively engaging for Microsoft to fix it since they caused the issue. We’re also working to establish closer collaboration with Microsoft so their future updates don’t break things like this.

In the meantime, try to either rollback the Windows update, or change your worksheet fonts.

There is also a CS article opened on the topic: https://www.ptc.com/en/support/article/CS477840

PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
5-Regular Member
August 25, 2026

I would like to inform you that we have identified a workaround for the Print to PDF issue. Please find the workaround below. 

  • Go to >> “C:\Program Files\PTC\Mathcad Prime 12.0.1.0\MathcadPrime.runtimeconfig.json”
  • Open MathcadPrime.runtimeconfig.json file in Notepad/Notepad ++, under the configProperties section, add the following entries:

"Switch.MS.Internal.TtfDelta.DisableCmapAndSbitOverflowProtection": true,

"Switch.MS.Internal.TtfDelta.DisableDirectWriteForwarderBoundsCheckProtection": true

After the change, the configuration should look like this: 

 

 

Note: Ensure that a comma (,) is added at the end of the previous line (line 16 in the image) to maintain valid JSON syntax.

DJNewman
19-Tanzanite
August 25, 2026

I believe you’re missing the image in your post.

PTC Marketer for Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
5-Regular Member
August 25, 2026