Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Change Print Page "To" and "From" in Print Dialog


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

Recommended Posts

Posted

I am attempting to print some pages from a preview where I have copied the page to be printed and pasted it into a container. (This way the page can be previewed in browse mode). When I attempt to print the page currently being viewed via a script, only the page selected when the script was created will print. Can I change the "From" and "To" page numbers in the print dialog via a script, or do I just need to make as many scripts as I need pages to print.

Thank You

Posted

I do something similar with a script like this:


Set field [gPageNo, gStartPage]

Loop

Exit Loop If [gPageNo>gEndPage]

Enter Preview Mode

Go to Layout [PreviewLayout]

Go to Record/Request/Page [gPageNo][by field value]

Copy

Enter Browse Mode

Go to Layout [PrintLayout]

Paste [gContainerField]

Print

Set Field [gPageNo, gPageNo+1]

End Loop


You are then doing a separate print for each page which is not the most efficient way of doing things, but it does allow the user to control the page range.

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