How can I invoke the dialog to set printer options manually?

Posted by FromTheMountain on Stack Overflow See other posts from Stack Overflow or by FromTheMountain
Published on 2009-04-07T19:52:20Z Indexed on 2010/04/26 7:03 UTC
Read the original article Hit count: 195

Filed under:
|
|

I'm using WPF and need to let users set some print related options like printer and printer properties (e.g. papertray, landscape/portrait, duplex, etc). I'm aware of the PrintDialog class to get a PrintQueue and PrintTicket object. However I need to create I custom solution and can not show the PrintDialog. I manage to get the available PrintQueue objects and let users select a printer. I'm struggling with the printer properties. My question is: how can I show the dialog in which a user can set the printer properties for the selected PrintQueue (the dialog that is shown when a user clicks on the Properties button in the WPF PrintDialog).

© Stack Overflow or respective owner

Related posts about wpf

Related posts about printing