Jump to content

Printing orientation


smiller

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

Recommended Posts

  • Newbies

I want to create 2 different forms ..... one that prints using the portrait orientation, the other that prints using landscape orientation. Is there a way to make FileMaker Pro 5 remember the orientation of each form without changing the orientation on the Print Setup dialog box each time I print one of these forms? Is scripting the only way?

Link to comment
Share on other sites

FM remembers the page layout format with the "Page Setup (restore)" script step. This is why when you exit a script you are asked if you want to keep or update the page setup parameters. You can only have one saved page setup per script. We get around this limitation by using subscripts called from the main script. It is convenient to name these scripts something like:

Page Setup - Portrait

Page Setup - Landscape

These can then be called in any script with the "Perform Subscript" script step. This is another one of those "implied" FM setups, similar to "Perform Find (restore)" and "Sort", where the parameters are remembered from parameters in place when the script was created or modified (and the replace dialog selected).

-bd

Link to comment
Share on other sites

This topic is 8373 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.