O'Reilly logo

Sams Teach Yourself Visual Basic® 6 in 24 Hours by Sanjaya Hettihewa, Greg Perry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 16. Printing with Visual Basic

This lesson describes how you can integrate the Windows printer driver into Visual Basic applications that you write. Visual Basic communicates with it so that you can send text and even graphics to the printer.

The highlights of this hour include

  • Where your application sends printed output

  • Which advantages spooled printing provides

  • How to use the Printer object

  • When to use Printer object methods

  • How the Print method routes details to your printer

Introducing Printing

Surprisingly, no Printer control exists. Unlike most things in Visual Basic, sending output to the printer can be a tedious process. Printing requires that you send a fairly long list of instructions to your printer that describe exactly the way the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required