If it is not necessary to do it in VBA code, you can go to the page setup on the report and set specfic printer there and it will save with the report.
If you need to do it in VBA, you will need to open the report in preview mode. Then the following command may work; but I haven't tried it. (Note: Reports(0) is the current report that is being previewed)
reports(0).Printer.devicename = "My Printer"
Last Wiki Answer Submitted: December 11, 2008 9:05 pm by Randym1,740 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Good information – I was not aware of this option. Just tried & it works fine.
One can always learn good tips from this type of forum.