Printing Repots with script (Landscape & Portrait)
Posted:
Tue Apr 13, 2004 11:03 am
by Joseph
I need to be able to print different report that i have made by forcing a printing layout (landscape or Portrait). Is there any way i can make a script to tell the report to print in landscape or portrait?
Posted:
Tue Apr 13, 2004 4:08 pm
by John Sindelar
Sure. The Page Setup (Print Setup) script step allows you to save page orientation info in your script. For a solution that has a lot of reports you might want to create two general Page Setup scripts; one that sets up portrait, and one landscape. Then you can simply call the appropriate "orientation" script from within the print script for each of your reports.
The Page Setup (Print Setup) script step remembers the page orientation in effect at the time it was created, so you can easily have the script "remember" the orientation you wish to use.
HTH.