Fix Word PDF Export Showing Incorrect Background Color on Custom Page Sizes
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.

- 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.
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.
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.
In your Word document, click on 'File' in the top-left corner and select 'Print', or press Ctrl + P on your keyboard.
Click the 'Printer' drop-down menu and choose 'Microsoft XPS Document Writer' instead of 'Microsoft Print to PDF'.
Click the 'Print' button. A prompt will appear asking you to save the file. Choose a location, name the file, and save it.
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 Word's Built-in 'Save As' PDF Function
Instead of using the virtual printer (Print to PDF), use Word's native Save As feature to generate the PDF natively.
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. Open Document in WPS Writer: Launch WPS Office and open your .docx file containing the custom page size and background color.
- 2. Access PDF Export: Click on the 'Menu' button in the top left corner, hover over 'Export to PDF', and click it.
- 3. Configure Export Settings: In the export dialog, ensure your layout settings are correct. WPS Writer will automatically respect your custom page sizes.
- 4. Export and Save: Click 'Export to PDF', choose your save location, and enjoy a perfectly formatted PDF with intact backgrounds.

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'.




