GregoryWest
Registered User.
- Local time
- Today, 15:37
- Joined
- Apr 13, 2014
- Messages
- 161
I need to write some code. What I need to do is detect which printer the user has as their default printer. The nice thing is I do not really need this information for any of my tasks, other than to put the default back later. Then I need to change the default printer to a specific printer, print a report, then put the default back to what it was before. I have tried using the report tied to a specific printer, for a multiple number of reasons not worth going into that solution is a dead end.
So, in brief what I need to do is:
1. Save what the default printer is now.
2. Change the default printer to a specific printer.
3. Print a report.
4. Put the default printer back to the original default.
Anyone have an idea how I can do this?:banghead:
So, in brief what I need to do is:
1. Save what the default printer is now.
2. Change the default printer to a specific printer.
3. Print a report.
4. Put the default printer back to the original default.
Anyone have an idea how I can do this?:banghead: