How do I retrieve the selected paper source from print dialog box

printer dialog , papersource , Austria
  • 10 years ago
    Using Visual Studio 2005, VB I am displaying a standard printer dialog box and retrieving the printer name the user selects, to pass to Crystal Reports to print a report. I also need to retrieve the papersource to pass to Crystal, but there doesn't seem to be an obvious way of getting it. I can get all the paper sources for the printer selected, so I could put up my own dialog to get the papersource but this does seem a bit much double-handling. Am I just missing something in the Printer Dialog? Thanks in anticipation.

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” - Brian Kernighan