Code to call to get the specific printer options/properties dialog box.

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#.
fly412sAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Gautham JanardhanConnect With a Mentor Commented:
0
 
Jaime OlivaresSoftware ArchitectCommented:
You can get some ideas from the source code of this article:
http://www.codeproject.com/vb/net/form_library.asp
0
 
fly412sAuthor Commented:
The codeproject does not have what I'm looking for.  I have a feeling it's a very simple method call, maybe using p/invoke or the win32 library.  Basically, any installed windows printer has its own set of properties and its own dialog box to display these properties.  Some are much more elaborate than others.  There should be a simple call to display these properties.
0
 
fly412sAuthor Commented:
Has anyone looked into PrinterProperties?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.