Printing Problems

Fix Word PDF Export Showing Incorrect Background Color on Custom Page Sizes

Rana GarciaRana Garcia Oct 7, 2026 872 views

Question details

The user needs to successfully export a document with a background color to PDF using a custom page size without the color being cut off or partially rendered.

How to Fix Word PDF Export Showing Incorrect Background Color on Custom Page Sizes
Product
Microsoft Word
Device & OS
not provided
Scenario
Exporting a Word document to PDF using the Microsoft Print to PDF feature with custom paper dimensions.
Observed behavior
The background color appears on only a portion of the exported PDF page, even though standard page sizes export the background correctly.
Before you start

Verify that your Microsoft Office suite and Windows printer drivers are fully up to date, and check if standard page sizes (like Letter or A4) successfully export the background color to isolate the issue to custom dimensions.

Solution 1Recommended

Use Microsoft XPS Document Writer as an Intermediary

Bypass the Microsoft Print to PDF scaling bug by printing your document to an XPS file first, then converting it to a PDF.

This is a known compatibility issue between Microsoft Word and the Microsoft Print to PDF driver when handling custom paper sizes. Using the XPS Document Writer often processes document boundaries and background graphics more accurately.

1
Open Print Settings

In your Word document, click on 'File' in the top-left corner and select 'Print', or press Ctrl + P on your keyboard.

2
Select Microsoft XPS Document Writer

Click the 'Printer' drop-down menu and choose 'Microsoft XPS Document Writer' instead of 'Microsoft Print to PDF'.

3
Save the XPS File

Click the 'Print' button. A prompt will appear asking you to save the file. Choose a location, name the file, and save it.

4
Convert XPS to PDF

Open the saved XPS file using an XPS viewer or a supported browser, and use its print function to print to PDF, or use a secure online XPS-to-PDF converter to get your final PDF document.

Use Microsoft XPS Document Writer as an Intermediary
Report the Issue: Since this is a specific bug with the virtual printer driver, it is highly recommended to report this issue with your exact custom dimensions via Word Feedback or the Windows Feedback Hub.

Flawlessly Export Custom Size PDFs with WPS Office

Avoid frustrating driver limitations and layout bugs. WPS Office features a robust, built-in PDF exporter that seamlessly handles custom page dimensions and perfectly renders background colors without the need for virtual printers.

  1. 1. Open Document in WPS Writer: Launch WPS Office and open your .docx file containing the custom page size and background color.
  2. 2. Access PDF Export: Click on the 'Menu' button in the top left corner, hover over 'Export to PDF', and click it.
  3. 3. Configure Export Settings: In the export dialog, ensure your layout settings are correct. WPS Writer will automatically respect your custom page sizes.
  4. 4. Export and Save: Click 'Export to PDF', choose your save location, and enjoy a perfectly formatted PDF with intact backgrounds.
Built-in PDF conversion without relying on Windows virtual printer driversFully compatible with Microsoft Word formats (.docx, .doc)Accurately maintains custom page dimensions and full-page background colorsLightweight, fast, and completely free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Print to PDF cut off backgrounds on custom page sizes?

Microsoft Print to PDF is a virtual printer driver that relies on standard Windows print spooling formats. When dealing with custom page dimensions, the driver sometimes fails to scale vector graphics and background colors correctly, reverting its boundaries to a default standard size (like Letter or A4) in the background layer.

How do I make sure Word prints background colors at all?

By default, Word disables printing backgrounds to save ink. To enable it, navigate to File > Options > Display. Scroll down to 'Printing options' and check the box next to 'Print background colors and images', then click OK.

Can I permanently fix the Microsoft Print to PDF custom size bug?

Currently, there is no permanent registry or driver patch for this specific Windows 10/11 behavior. Users must rely on workarounds such as exporting natively via 'Save As', using the XPS Document Writer, or utilizing third-party PDF suites and alternative Office software.

Is XPS Document Writer still supported in modern Windows?

Yes, Microsoft XPS Document Writer is still available in Windows 10 and 11, though it may be turned off by default as an optional feature. You can enable it by searching for 'Turn Windows features on or off' in the Start menu and checking 'Microsoft XPS Document Writer'.