PDF Printing Issues

Fix Microsoft Print to PDF Creating Corrupted Files in Windows 11

Olivia MillerOlivia Miller Oct 28, 2026 869 views

Question details

Users are experiencing an issue where the Microsoft Print to PDF virtual printer generates corrupted files that cannot be opened.

How to Fix Microsoft Print to PDF Creating Corrupted Files in Windows 11
Product
Microsoft Print to PDF
Device & OS
Windows 11
Scenario
Generating PDF files using the native Microsoft Print to PDF driver from a print dialog.
Observed behavior
The resulting PDF files are corrupted and throw no error codes during creation. Reinstalling the driver may temporarily produce a single valid test file, but subsequent files generated after closing the print dialog are corrupted.
Before you start

Ensure your Windows 11 operating system has the latest updates installed and verify that the source document you are trying to print is not already corrupted.

Solution 1Recommended

Reinstall and Reconfigure Microsoft Print to PDF

Removing the corrupted virtual printer and manually re-adding it with adjusted spooling settings is the primary troubleshooting step.

Windows 11 virtual printer drivers can occasionally corrupt their spooling mechanism. Removing the device completely and assigning it strictly to the FILE: port can resolve internal driver conflicts.

1
Remove the existing virtual printer

Navigate to Windows Settings > Bluetooth & devices > Printers & scanners. Click on 'Microsoft Print to PDF' and select the 'Remove' button.

2
Restart your computer

Reboot Windows 11 to ensure all background print spooler services drop any lingering corrupted cache related to the PDF driver.

3
Re-add the printer manually

Go back to Printers & scanners and click 'Add device'. Choose to add the printer manually, select the 'FILE: (Print to File)' port, and install the Microsoft Print to PDF driver.

4
Adjust advanced spooling settings

Open the Printer Properties for the newly added Microsoft Print to PDF. Navigate to the 'Advanced' tab and select the option 'Start printing after the last page is spooled'. Click Apply and OK.

Reinstall and Reconfigure Microsoft Print to PDF
Temporary Resolution Note: If you find that only the first test file works and subsequent prints are still corrupted, the issue lies deeper within the Windows 11 system registry or core files.
Built-in PDF Export

Export to PDF Directly with WPS Office

Bypass frustrating Windows print driver issues entirely. WPS Office features a robust, built-in PDF converter that allows you to save any document, spreadsheet, or presentation as a high-quality PDF without relying on external virtual printers.

  1. 1. Open your document in WPS Office: Launch WPS Office and open the file you originally intended to print to PDF.
  2. 2. Access the Export function: Click on 'Menu' in the top-left corner of the application interface, then select 'Export to PDF'.
  3. 3. Customize and save: Adjust your desired export settings in the prompt window, choose your save destination, and click 'Export' to instantly generate a clean, uncorrupted PDF file.
Built-in PDF creation bypassing the Windows spoolerFully compatible with all Microsoft Office document formatsEliminates driver-related file corruption issuesFree to use, lightweight, and user-friendly
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Print to PDF generate corrupted or 0-byte files?

This generally happens due to conflicts with the Windows print spooler service, corrupted temporary files, or incorrect port assignments (such as not using the FILE: port).

Can I use an alternative to Microsoft Print to PDF in Windows 11?

Yes, many productivity suites, including WPS Office, feature native 'Export to PDF' capabilities that completely bypass the Windows virtual printer system, preventing these driver-based errors.

Where are files saved when using Microsoft Print to PDF?

By default, the print dialog prompts you to choose a save destination. If a destination is not explicitly chosen, Windows often defaults to your Documents folder.