GDI Print API

The GDI Print API provides applications with a device-independent printing interface. Use this interface if the application uses GDI to render text and graphics.

If you write applications for Windows Vista or later versions of Windows, consider using the XPS Document API and the XPS Print API to use the higher-performance graphics interfaces that are supported by XPSDrv print drivers.

This section provides information about the following topics.

TopicDescription

About the GDI Print API

An overview of the GDI printing functionality.

Using the GDI Print API

Information about using the GDI Print API in an application.

GDI Print API Reference

Detailed descriptions of the functions, structures, and other elements of the GDI Print API.

Microsoft XPS Document Converter (MXDC)

The Microsoft XPS Document Converter (MXDC) is a component that enables applications to use the GDI Print API with printers that have an XPSDrv Print Driver.

Microsoft XPS Document Writer (MXDW)

The Microsoft XPS Document Writer (MXDW) provides applications with "save as XPS" or "export to XPS" functionality. Applications that do not natively create XPS document content can use the MXDW to create XPS document files without using the XPS Document API. The XPS Document API, however, provides an application with the ability to use the higher-performance graphics interfaces that are supported by XPSDrv print drivers.

 

The following diagram shows the relationship of the GDI Print API to the other print APIs that an application can use.

A diagram that shows the relationship of the GDI Print API to the other print APIs that a Win32 application can use

Related topics

AddJob
XPS Document API
XPS Print API
Print Spooler API
Print Ticket API

 

 

Community Additions

ADD
Show:
© 2014 Microsoft