How to (automatically) handle documents larger than 200 inches

Post Reply
KingSwitcher
Newbie
Posts: 19
Joined: Fri May 03, 2024 8:30 pm

How to (automatically) handle documents larger than 200 inches

Post by KingSwitcher »

Job variables (provided by a switch submit point) may specify a Width and Height for resizing but may also be expressed as a percentage.
I want to catch, fix, and set a page scaling factor.
Theory: If the final media box size calculates to being over 200 inches, scale it to 200 and add an output scaling factor to make up the difference.
freddyp
Advanced member
Posts: 1129
Joined: Thu Feb 09, 2012 3:53 pm

Re: How to (automatically) handle documents larger than 200 inches

Post by freddyp »

There is no need to scale to 200 inches and then set a page scaling factor, just set a page scaling factor. To calculate it go via [Switch.Calculation...] and divide the desired value in points by the Defined value of [Stats.Mediabox...] (Defined and not Effective, because Defined is the value without any possible page scaling factor. Define that value in private data and use it as a variable in PitStop to set the page scaling factor.
Post Reply