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

Set report margins in code?

P: n/a
Ron
Hi All,

I'm using A2K and need to print a specific pre-printed form. I know that
once I have that report on a particular computer screen I can select "Page
Setup" and change the margins to get the different fields I'm printing where
I need them to print (fine tuning type of changes as all the controls are
basically printing where needed--say on a pre-printed check that's inserted
into the printer). However, if I then have another user try to print that
same check on THIER printer, the margins aren't set correctly and it prints
everything off either high/low and/or left/right by whatever.

I know that I could have a table on each users system with a record for
whatever margin settings would be needed (once set up by the user or me or
whatever). But can I get those margin settings to be used by a report?
Where do I stick them if that's possible.

Yeah, I know I can set it at the time of printing...but I don't want my
USERS to do that. Plus, I see down the road I'll want to compile all this
and use a runtime version...so the user wouldn't have access to that Page
Setup area anyway.

Possible?
ron
Nov 10 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Ron" <ro********************@verizon.netwrote in message
news:oMkZi.1342$VB6.1261@trnddc06...
Hi All,

I'm using A2K and need to print a specific pre-printed form. I know that
once I have that report on a particular computer screen I can select "Page
Setup" and change the margins to get the different fields I'm printing
where I need them to print (fine tuning type of changes as all the
controls are basically printing where needed--say on a pre-printed check
that's inserted into the printer). However, if I then have another user
try to print that same check on THIER printer, the margins aren't set
correctly and it prints everything off either high/low and/or left/right
by whatever.

I know that I could have a table on each users system with a record for
whatever margin settings would be needed (once set up by the user or me or
whatever). But can I get those margin settings to be used by a report?
Where do I stick them if that's possible.

Yeah, I know I can set it at the time of printing...but I don't want my
USERS to do that. Plus, I see down the road I'll want to compile all this
and use a runtime version...so the user wouldn't have access to that Page
Setup area anyway.

Possible?
ron
Take a look at the Printer object in help. Does exactly what you want.

You need to use the Printer property of your report.

Nov 10 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.