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

report object property 2C whether specific printer or default printer?

P: n/a
MLH
Access 97 Q:

Can I examine a report object property setting in VBA and tell whether
the report is setup to print to a specific printer or to the windows
default printer? You know, the setting you see in the little window
that appears when you open report in design view, click File, Page
Setup, the Page tab (middle one). There's a little 2-radio button
option group there allowing me to choose (1) default printer or
(2) user specific printer.

I'd like to cycle through all my printers and determine the setting
programatically. Ideas?
Sep 24 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Could you store the value in the Tag property of the report? Or in a
table and grab the value when you are going to print the report by
using a variation of D/TLookup?

Then if you leave the tag value blank, it'll use the default printer.

Sep 25 '06 #2

P: n/a
MLH
On 24 Sep 2006 20:57:50 -0700, pi********@hotmail.com wrote:
>Could you store the value in the Tag property of the report? Or in a
table and grab the value when you are going to print the report by
using a variation of D/TLookup?

Then if you leave the tag value blank, it'll use the default printer.
Thx.

That would work, sure enough, for future reports created. Of course,
so would making sure all reports created henceforth are done so with
the windows default printer selection set.

I'm in need of checking the setting on 50+ reports that have already
been created 'n saved. Done! Had ot use a windoze macro generator
to automate the process and had to watch it throughout the process.

Still wondering if any of you guru - types know how to read the
setting from VBA. I don't thnk it can be done. I've never seen it
done. But then, I've never seen the Q posted on this NG either.
Sep 25 '06 #3

P: n/a

MLH wrote:
On 24 Sep 2006 20:57:50 -0700, pi********@hotmail.com wrote:
Could you store the value in the Tag property of the report? Or in a
table and grab the value when you are going to print the report by
using a variation of D/TLookup?

Then if you leave the tag value blank, it'll use the default printer.
Thx.

That would work, sure enough, for future reports created. Of course,
so would making sure all reports created henceforth are done so with
the windows default printer selection set.

I'm in need of checking the setting on 50+ reports that have already
been created 'n saved. Done! Had ot use a windoze macro generator
to automate the process and had to watch it throughout the process.

Still wondering if any of you guru - types know how to read the
setting from VBA. I don't thnk it can be done. I've never seen it
done. But then, I've never seen the Q posted on this NG either.
Yes, we all do. But we're sick of your pathetic laziness and stubborn
refusal to take any advice whatever. So we're keeping quiet.

Sep 25 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.