Chapter 7. Printing

Usually, drawing to the screen is pretty 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. Also, 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 the settings are covered in this chapter.

Get Windows Forms Programming in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.