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 2008 supports printing by offering the PrintDocument class and its many objects, methods, and properties, which 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, and add printing dialog ...

Get Microsoft® Visual Basic® 2008 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.