Jump to content

How can arrange printer setting for report ?


This topic is 967 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all,

As per mentioned on title ,I have two report in different layout in my database .I hope find script to solve my issue without change orientation every time manual. I have two type  setting to report print.
 - First report print need landscape.
 - second report print news portrait.


Link to comment
Share on other sites

Your script doesn't print.  

How do you determine which report is first or second.

-Get the right record.

-Print Setup //with correct parameters


-Go to other record

-Print Setup //change parameters


Something that may help as your solution grows, is you may want to make dedicated separate print scripts, one for each orientation, and one for current records, current found set, for each printer.  Because at some point, you're going to get a new printer, and then you'll have to hunt thru the entire solution looking for all your Print Setup and Print script steps to modify them.

Link to comment
Share on other sites

Thanks for reply but I will explain more my purpose cos your reply different what I need.

First report I will be landscape in visitor list layout:




Second report for Accident Layout:


Script :



I hope to be clear  now :)  


Edited by Msaeed
Link to comment
Share on other sites

I've found it generally useful to create a single-line script for each Print Setup that I might need -- landscape single, landscape all, portrait single, portrait all, etc. -- and then call those scripts as needed, such as within your If/Else steps. That way you only have to set them up once and never think about it again.

Link to comment
Share on other sites

This topic is 967 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.