Link to home
Start Free TrialLog in
Avatar of hollstar
hollstar

asked on

Printing Reports Help

Hey People - I have made the following which does work, but Im no expert and need a little bit of help - The following will print, but over two pages and what I want it to do is do it on one and then, if need be, go to a second page and so on.

I also need code to place a margin top and bottom - you will find the constants set in the program except Im not sure how to set them...

If you could put a few basic comments in as well, that would be great... Thanks :)

You can download the project here : http://www.hypermax.net.au/~user/hollstar/taxcalc.zip
Avatar of TomLaw1999
TomLaw1999
Flag of United Kingdom of Great Britain and Northern Ireland image

What size of paper are you using hollstar? and
what size of paper do you have in your printer settings?.
Avatar of hollstar
hollstar

ASKER

8 Wide, 11.5 Long...
Does your papersize match the size shown in the printer paper settings?
I am trying to determine whether this is a programming fault or simply a printer setup problem.
Just average letter size - In word it says, 21.59 , 27.94
Look as it stands now, the program prints fine, all I need is a margin at the top and bottom, and for it to use the 3rd & fth column before going to the next page...
ASKER CERTIFIED SOLUTION
Avatar of TomLaw1999
TomLaw1999
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The variable col2 may need to be ammended to give you the correct column shift however I think you will be able to follow the logic and make it suit your needs.

I have set up a top margin, you seem to have already set up a bottom margin.
Have not done a print test yet, but just reading the status from the system tray, I noticed it said 2 pages...

Will check in the morning...
Just checked then and it was a bottom margin issue - Needed to be changed to .05 It should now work...
Thanks for the 'A' hollstar.
Not a worry! I mean, it works, you came back with a working fast response, so I think it should be an A Plus !

Thanks Again - BTW : I did not change those columns, just the bottom margin...