Windows provides applications with a complete set of functions that allow printing to various devices, such as laser printers, vector plotters, raster printers, and fax machines.
The Windows Store app Printing API is available with Windows 8 and later versions of Windows. It provides an interface that allows an application to access and manage the print document package. Additionally, Microsoft developed the Windows Store app Printing API to provide Windows Internet Explorer with an alternative way of printing. Internet Explorer currently uses Direct2D to print.
The Windows Store app Printing API topics in this section describe the print document package and print preview interfaces that you can use with Windows 8 and later versions of Windows.
Note See Win32 and COM for Windows Store apps (printing and documents) for the list of the Desktop App Printing APIs listed below can also be used in Windows Store apps.
Windows programmers can select from several different technologies to print from their application.
Provides an interface to the print spooler that applications can use to send XPS documents to a printer.
Native Windows applications that create XPS documents, such as by using the XPS Document API, can use the XPS Print API to send the XPS documents to a printer. Using the XPS Print API, applications can print to printers that use GDI printer drivers or XPSDrv printer drivers.
Provides an interface to the print spooler so that applications can manage printers and print jobs.
Provides applications with functions to manage and convert print tickets.
Provides applications with a device-independent printing interface.
The GDI Print API is suitable for applications that must run on Windows XP and earlier versions of Windows.
The following illustration provides a high-level view of how the different printing APIs are related.
Build date: 11/20/2012