Microsoft XPS Document Writer (MXDW)

The Microsoft XPS Document Writer (MXDW) is a print-to-file driver that enables a Windows application to create XML Paper Specification (XPS) document files on versions of Windows starting with Windows XP with Service Pack 2 (SP2). Using the MXDW makes it possible for a Windows application to save its content as an XPS document without changing any of the application's program code.

If you create an XPS file, but don't have an app to save or store the contents, you can use the Microsoft XPS Document Writer printer to save all content of the XPS file. Microsoft XPS Document Writer comes pre-installed on Windows 10 and Windows 11, just press Ctrl + P to print/save an XPS file.

Note

You can repair the XPS Document Writer by removing and re-adding it via the Settings app.

  1. Launch 'Settings' -> 'System' -> 'Optional Features'
  2. Select 'More Windows features' under 'Related Settings'
  3. Uncheck 'Microsoft XPS Document Writer' to remove it
  4. Recheck 'Microsoft XPS Document Writer' to reinstall it

For more information about V4 print driver, see Exploring the Driver Options in the Wizard.

When to Use

As a user, you would select the MXDW when you want to create an XPS document from a Windows application that does not have the option to save its content as an XPS document.

As an application developer, you would recommend the MXDW to users who want to create XPS documents when your application does not offer the option to save as an XPS document. For more information on the XML Paper Specification and XPS documents, see XML Paper Specification and XPS Specification and License Downloads.

The MXDW is installed automatically on Windows Vista and later versions of Windows and can be downloaded and installed on Windows XP with SP2 and Windows Server 2003.

How to Use

When installed, the MXDW appears as an available print queue in the Print dialog box presented by an application. When the MXDW is selected as the printer, the user is prompted for the file name to create as the XPS Document that captures the print output of the application.

Application developers can customize the output of MXDW using the MXDW configuration settings.

An image of the print dialog box that shows the selection of the microsoft xps document writer (mxdw).

Where does Microsoft XPS Document Writer save to

The MXDW printer saves files in the Documents folder: C:\Users\user-name\Documents. (Remember to replace user-name with your original username.)