With a few minor adjustments to your code, you can send Windows GDI+ output to a printer rather than to a screen. To draw on a printer, obtain a device context handle for the printer and pass that handle to a Graphics constructor. Place your GDI+ drawing commands in between calls to StartDoc and EndDoc.

The following topics cover sending GDI+ output to printers in more detail:



Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions