大网数据广告活动
打印与设备

GDI Print API

· 52CE 我爱测

The GDI Print API provides applications with a device-independent printing interface.

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
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

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。