The Microsoft® Windows® graphics device interface (GDI) enables applications to use graphics and formatted text on both the video display and the printer. Windows-based applications do not access the graphics hardware directly. Instead, GDI interacts with device drivers on behalf of applications.
GDI can be used in all Windows-based applications.
This API is designed for use by C/C++ programmers. Familiarity with the Windows graphical user interface and message-driven architecture is required.
For information on which operating systems are required to use a particular function, see the Requirements section of the documentation for the function.
The following elements are associated with printing and the print spooler:
Microsoft® Windows® provides a complete set of functions that allow applications to print on a variety of devices: laser printers, vector plotters, raster printers, and fax machines.
The examples in this section demonstrate how to print text and graphics:
with questions or comments about this web site.
|