By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,969 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,969 IT Pros & Developers. It's quick & easy.

Reports and Printing

P: 1
I would like to have a button that automatically prints a report when clicked. When I create a button like that, it prints to the default printer.

Is there any code out there I could use to have it print to a nondefault printer?
Sep 28 '06 #1
Share this Question
Share on Google+
1 Reply


PEB
Expert 100+
P: 1,418
PEB
Hi,

U can set a macro that starts to print your report!

U can do it also by VB - docmd.openreport

But for the default printer... This gets the settings of your report... If in your report u have specified to be a custom priner the report will seek for this one...

In other case U need to open your report and to specify other settings programatically and then to close your report... If U have a mde file it's obviously impossible!

So take care my frien!

:)
Sep 30 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.