Excel doesn't print all active sheets to PDF

Last page of example file which doesn't get included in PDF

Update: added issue on Feedback Hub: https://aka.ms/AA65nqn When I select sheets (Shift+Click to multiselect) in a macro-free workbook that each may or may not span multiple printed pages, select File > Print (using Microsoft Print to PDF, selecting "Print Active Sheets"), all pages don't get included in the PDF. This happens when using File > Save As (PDF) as well. Specifically, the last couple of sheets/pages are omitted from the result, which is a huge issue, since it basically renders the file useless for its purpose (= PDF report generation). File has mixed orientation (Landscape/Portrait), many of the sheets span multiple printed pages, and the last two sheets are static one-pagers that are - even though I selected them - not included in the PDF. I can reproduce the issue consistently with this example file. Example PDF output also available (note the two last sheets are missing). The last page looks like this: Check the last page of the resulting PDF. It's not there!

Environment

Things I've checked for/tested:

Observations/clues:

I think this is mainly an issue with the print drivers (Microsoft Print to PDF or CutePDF) since printing to a professional printer works as intended, but I could be wrong.

What could be wrong, and how do you suggest I mitigate this? I need the PDF output; this is the primary purpose of the Excel file.