8. Printing
DRAWING TO THE SCREEN is usually easy because screen settings are generally constant during the run of the application. Drawing to a printer, on the other hand, is more complicated because users may change the printer or the printer settings many times, even for a single document. Similarly, paper costs money and can't be sent through the printer twice (unless you don't care what's on the back), so before users print their documents, they want to see what they will look like. The actual drawing is largely the same for a printer as it is for the screen, but the printer settings are the interesting part, and they are covered in this chapter.
Print Documents
The basic unit of printing in Windows Forms is the print document. A print ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access