rinoa04 2 Junior Poster in Training

Hello, I have a doubt to clarify. I have created a form for user to print label. There are two printers to be chosen which is using two different format. For example Printer A and Printer B.
In the form, user need to select the type of printer before clicking on the button "Print".
Is it possible to write a coding allowing the Printer in the PrintDialog to automatically set to the printer type chosen on the form? I understand it is possible if knowing the exact printer name of that printer type. What if the printer name of that printer type is not always the same depending on the settings? Eg. some printer name will be preceded with server name then the printer name itself. Is there any better way in handling user chosing the right printer to print the correct format?

Thank you :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.