Chapter 17. Working with Printers

After completing this chapter, you will be able to:

  • Print graphics from a Visual Basic program.

  • Print text from a Visual Basic program.

  • Print multipage documents.

  • Create Print, Page Setup, and Print Preview dialog boxes in your programs.

In the following sections, you’ll complete your survey of user interface design and components by learning how to add printer support to your Windows applications. Microsoft Visual Basic 2010 supports printing with the PrintDocument class. The PrintDocument class and its many methods, properties, and supporting classes handle sending text and graphics to printers.

In this chapter, you’ll learn how to print graphics and text from Visual Basic programs, manage multipage printing tasks, ...

Get Microsoft® Visual Basic® 2010 Step by Step 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.