I'm looking for the best approach to change the default printer within a WPF application. Here are the steps the we're hoping the application can do.
- Select a location from a drop down which is mapped to a printer name.
- Change the default printer to the mapped name.
- Launch IE and point to SSRS report.
- User will then print report from IE, which will use the new default printer
Step two is what I'm looking for assistance with.
Is this a use case for WMI? If so, any resources on the subject would be a huge help.
Thanks!
use this: