I have a problem when trying to print to shared printer from my VB.NET app. This is my code...
print1.PrinterSettings.PrinterName = "Printername"
print1.Print()
When I try to run it, I get this error:
Setting to access printer "printer Name " are not valid.
But, it is works fine if I set this printer to be the default printer.
How can I change the default using VB.NET?