Page 1 of 1

How to (automatically) handle documents larger than 200 inches

Posted: Thu May 30, 2024 10:34 pm
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.

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

Posted: Tue Jun 11, 2024 11:11 am
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.