Printing (GDI+)
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:
- Sending GDI+ Output to a Printer
- Displaying a Print Dialog Box
- Optimizing Printing by Providing a Printer Handle
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for