Code to call to get the specific printer options/properties dialog box.
Posted on 2007-11-27
I'm making a custom page setup dialog box. One of the buttons I am going to add is an "Options..." button. This button should produce the same results as the Visual C# 2005 class PageSetupDialog/Printer.../Properties... button. All it seems to do is pull up the printer properties dialog box for the selected printer. However, the printer dialog box it pulls up is the one that comes with the installed printer. In other words, every dialog box is different based on the selected printer. What is the method to call to generate the specific printer's properties dialog? I'm using VS 2005 C#.