Review the Printer object in the Object Browser to see all its functions and methods etc. You will see there are all kinds of thigs you can manipulate with it. To choose the printer it will be printed to you will need to add a commondialog control to your form and execute the .ShowPrinter method to present the user with a list of printers they can choose from. Then assign the selection to the Printer object relevant property.
You may have also wanted to choose a better thread title as you would have gotten more direct replies
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.
To choose the printer it will be printed to you will need to add a commondialog control to your form and execute the .ShowPrinter method to present the user with a list of printers they can choose from. Then assign the selection to the Printer object relevant property.
I use common dialog box. How I can execute the selected printer devices and assign the selected printer to print the paper?
Commondialog1.ShowPrinter.
Then after the selections have been made you can read what was selected and assign to the Printer object correcponding properties.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum.