DaveTappenden
Programmer
- Jan 16, 2002
- 21
I am using Access 2000 and need a dialog box to allow users to redirect reports to a specific printer.
I have had a look at using the prtdevnames/prtdevmode property, but I think I'm right in saying that these won't work with my MDE application, as the report has to be opened in design mode to make any changes to the prtdevmode property of the report.
I guess I am looking for a way to remember the user's default printer, then change it based on a selection (eg from a combo box), print report to the (new) default printer and finally reset the default printer back to the original settings.
Any help or useful pointers most appreciated.
I have had a look at using the prtdevnames/prtdevmode property, but I think I'm right in saying that these won't work with my MDE application, as the report has to be opened in design mode to make any changes to the prtdevmode property of the report.
I guess I am looking for a way to remember the user's default printer, then change it based on a selection (eg from a combo box), print report to the (new) default printer and finally reset the default printer back to the original settings.
Any help or useful pointers most appreciated.