PrintPreviewDialog1. Change printer option
Hello all. I use the following code activation code to print preview and then print text.
PrintPreviewDialog1.Document = PrnLetter 'LOAD DOCUMENT
PrintPreviewDialog1.ShowDialog() 'SHOW PREVIEW
The only problem with using the PrintPreviewDialog with a PrintDocument, is the fact that I can't seem select what printer to print too. It prints to the default Windows printer. Thus if I want to print to another printer, I first have to change the Windows default printer.
Is there a way to make the components I'm using bring up a printer dialog box just after I hit the print button on the PrintPreviewDialog1?
Thank you.
__________________
Simplicity is the key
|