Export (0) Print
Expand All

Documents and Printing

These topics describe the documents and printing features of Windows that enable applications to save, view, and print.

In this section

TopicDescription

What's New for Printing

Windows 8 supports printing for Windows Store apps using JavaScript and HTML and printing for Windows Store apps using C#/VB/C++ and XAML.

Windows 8 also includes a new COM-based API that provides full support for Open XPS and access to portions of the new printer drivers that Windows 8 supports. For more information about the new API, see Print Document Package API.

The Windows Print Driver Inbox Program makes sure that Windows 8 includes support for a high percentage of the popular printers.

XPS Documents

Information about the XPS Document API an XPS Digital Signatures.

  • XPS Document API

    The XPS Document API is a native Windows 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.

  • XPS Digital Signature API

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

Printing

Information about the printing features supported by Windows. These features include:

  • Print Document Package API

    Provides apps with an interface that allows the management of the PrintDocument package.

  • Print Spooler API

    Provides an interface to the print spooler so that applications can manage printers and print jobs.

  • Print Ticket API

    Provides applications with functions to manage and convert print tickets.

  • GDI Print API

    Provides applications with a device-independent printing interface.

  • XPS Print API

    Provides an interface to the print spooler that applications can use to send XPS documents to a printer.

    Note  The XPS Print API is not supported and may be altered or unavailable in the future. Client applications should use the Print Document Package API instead.

Print Schema

The Print Schema and related technologies describe a printer's features and specify the printing preferences of a document to printers and viewing applications. The Print Schema Specification is a downloadable document that contains information about the Print Schema and how to use it in documents and printing. The online information that is found in this section is provided for your information only and might not accurately reflect the current version of the Print Schema Specification.

Refer to the Print Schema Specification for the most current design information.

 

Additional resources

The Print Sample sample app demonstrates how to print from a Windows Store app starting with Windows 8. The Print Sample Program illustrates how to print from a Windows program for Windows 7 and earlier versions of Windows.

The features described in this section are for native Windows programming. To use similar features in .NET (managed) programming, see Windows Presentation Foundation Documents.

XPS documents are built on the Packaging API. See the Packaging API, for lower level access to the contents of an XPS document.

 

 

Community Additions

ADD
Show:
© 2014 Microsoft