Summary

Printing functionality in the .NET Framework library is defined in the System.Drawing.Printing namespace. In this chapter we discussed almost every possible aspect of printing. We began by discussing the history of printing in Microsoft Windows. Then we discussed printing-related functionality in the Microsoft .NET Framework.

After a basic introduction to printing in .NET, you learned the basic steps required to write a printing application and how printing differs from on-screen drawing. You also learned how to print simple text; graphics objects such as lines, rectangles, and circles; images; text files; and other documents.

The PrinterSettings class provides members to get and set printer settings. We discussed how to use this class ...

Get Graphics Programming with GDI+ 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.