大网数据广告活动
打印与设备

Microsoft XPS Document Writer (MXDW)

· 52CE 我爱测

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.

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. 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. Press Ctrl + P to print/save an XPS file.

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

Enable or re-enable XPS Document Writer

Microsoft XPS Document Writer comes pre-installed on Windows 11, but it may not always be enabled. You can enable or repair XPS Document Writer through Windows Settings:

  1. Go to Settings > System > Optional Features.
  2. Select More Windows features under Related Settings.
  3. Check Microsoft XPS Document Writer to enable it.
  4. To repair, uncheck and then recheck Microsoft XPS Document Writer.

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.

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.

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

Related topics

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/08/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。