Connecting Tech Pros Worldwide Forums | Help | Site Map

Set report margins in code?

Ron
Guest
 
Posts: n/a
#1: Nov 10 '07
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



Stuart McCall
Guest
 
Posts: n/a
#2: Nov 10 '07

re: Set report margins in code?


"Ron" <ronSPAMBLOCKINGwest777@verizon.netwrote in message
news:oMkZi.1342$VB6.1261@trnddc06...
Quote:
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.





Closed Thread