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 ...

Get Sams Teach Yourself Visual Basic® 6 in 24 Hours 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.