Click to Rate and Give Feedback
MSDN
MSDN Library
Documents
Documents

This section describes the document technologies that are supported by Microsoft Windows.

The content in this section is intended for programmers. If you are not interested in programming, you can search for more information about documents.

Choosing a Document Technology

Microsoft provides several different document technologies to support a variety of document applications. The following table can help you select the best Microsoft document technology for your application.

 

Dd316975.ostable(en-us,VS.85).png

 

  • XPS Document API

    The XPS Document API is a Win32 API that supports the XPS OM. The XPS Document API was introduced in Windows 7 and can be used in user-mode programs and XPSDrv printer drivers.

    For more information about the XPS Document API, refer to XPS Document and XPS Digital Signatures.

    *The XPS Document API is also supported in Windows Vista with Service Pack 2 (SP2) with the Platform Update for Windows Vista and Windows Server 2008 with SP2 using the Platform Update for Windows Server 2008. For more information about the Platform Update for Windows Vista or the Platform Update for Windows Server 2008, refer to Platform Update for Windows Vista

  • .NET Framework

    .NET Framework provides XPS document support to user-mode, managed-code programs.

    .NET Framework 3.0 is supported on Windows XP with Service Pack 2 (SP2) and later versions of Windows client operating systems, and on Windows Server 2003 with Service Pack 2 (SP2) and later versions of Windows server operating systems.

    .NET Framework 3.5 is supported on Windows XP versions of Windows client operating systems, and on Windows Server 2003 and later versions of Windows server operating systems.

    Note  We recommend the use of .NET Framework for creating XPS documents in client applications only, not in server applications—unless the application exits periodically, as it would if it were a client application.

    For more information about document support in .NET Framework, refer to Windows Presentation Foundation Documents.

To learn about the XPS document options for document applications that are not supported by a Microsoft technology, refer to the XPS Document Technology Showcase.

Note  To work with XPS documents in a program, use either the Win32 XPS Document API or the .NET Framework; simultaneous use of both in the same program is not supported.

In This Section

This section describes the Win32 document technologies that are supported by Microsoft Windows.

Print Schema

Enables applications to configure printer settings in documents and printers.

Print Schema is described at a high level. For detailed information about using the Print Schema technologies, refer to the Print Schema Specification.

XPS Digital Signatures

Enables document signing, verification of the signer's identity, and indication of whether an XPS document has changed since it was signed.

XPS Document

Provides a trustworthy format for electronic paper.

The XPS Document API that is described in this section gives programs and XPSDrv print drivers access to the content and metadata of an XPS document.

XPS Document API Glossary

Definitions of terms used by the XPS Document API.

 

XPS Document Tools

The following tools are available to assist you with testing and troubleshooting of XPS document files.

  • IsXPS

    Tests a file's conformity to the XML Paper Specification (XPS) and the Open Packaging Conventions (OPC) Specification.

  • XpsAnalyzer

    A command-prompt tool that analyzes XPS document files for compatibility with the XPS 1.0 specification.

  • PTConform

    A tool that checks the validity of PrintTicket and PrintCapabilities documents.

See Also

XPS Print API
Packaging
Printing and Print Spooler (Windows GDI)
XML Paper Specification

Send comments about this topic to Microsoft

Build date: 11/17/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker