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.
| Topic | Description |
|---|---|
|
An overview of the GDI printing functionality. | |
|
Information about using the GDI Print API in an application. | |
|
Detailed descriptions of the functions, structures, and other elements of the GDI Print API. | |
|
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. | |
|
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.

Related topics