October 2003
Intermediate to advanced
736 pages
15h 25m
English
So far, all the printing in this chapter has been done to the default printer, as defined by Windows itself. The user can change the printer for a document via the Printer button on the PageSetupDialog. It's more common, however, to allow the user to choose the printer after choosing the Print item from the File menu. For this you use the PrintDialog component, as shown in Figure 7.9.

Using the PrintDialog component looks like this:
Dim printDialog1 As PrintDialog Sub InitializeComponent() ... Me.printDialog1 = New PrintDialog() ... ' Can set the PrintDialog's Document property ' in the Property ...