Print to the Microsoft XPS Document Writer

The XPS Document Writer allows you to create .xps files using any program that you can print from in Windows. Print to the XPS Document Writer when you want to create, send, and share or publish documents that you do not want other people to modify, or when you want to print a document or display it online exactly as it appears on your screen. It's also a good idea to create an XPS document for files that contain graphics or illustrations that might otherwise display differently in print than online or on computers with different monitors.

XPS documents are easy to share because you can view them on any computer where an XPS viewer is installed, even if the computer doesn't have the same programs that you used to create the original documents. For more information about XPS documents, see XPS documents: frequently asked questions or go to the Microsoft XML Paper Specification website.

To print to the XPS Document Writer

  1. Open the document or file that you want to print to .xps format, and then click Print. In most programs, the print option is available from the File menu.

  2. In the Print dialog box, select Microsoft XPS Document Writer.

  3. To view the document using the XPS Viewer after you print it, click Preferences, click the XPS Documents tab, make sure that the Automatically open XPS documents using the XPS viewer check box is selected, and then click OK.

  4. Click Print to print the document or file.

  5. When prompted, enter a file name and browse to the location where you want to save the .xps file. Click Save. Windows will save .xps files in your Documents folder by default.

After printing to the .xps file format, you can view an XPS document by browsing to it and opening it. You can print a paper copy, share the XPS document, or send it to a commercial printer or to other people in any way that you prefer.


  • To help prevent security problems, you can attach a digital signature to an XPS document before you send or share it. The digital signature identifies the creator of the XPS document and helps warn anyone who views it if the document was modified after it was digitally signed. You can also determine who can view the document and for how long by applying permissions before sharing the document.

Need more help?