Hi
I have an issue with checking page with specific ratio
I wanted to check the length-to-width ratio of a file, and if it was correct with a certain difference, continue the route...
I've always got a lot files that I want to first check out if they match the ratio of my output file.
For example
First, check the length-to-width ratio, and if it was incorrect, Reject it
But if it was correct
If it was smaller than a certain size, then can Reject
If it was bigger change it to Exact Size and continue the path
I can do all of this process but I could not do the first part any way, which is to measure the length-to-width ratio.
Please help me
I prefer all these things to be in a preflight, but if I need to use an action, I have no problem.
My Currently Action are:
Actions for
1-Change Page Orientation
2-Change Page Boxes Layout to Press
3-Check Page Size for bigger value
4- Change Width to my desire value
5- then check Height of file
6- if step 5 was correct Scale to fit page Size
I want to bypass steps 3,4,5
Thanks for helping
Pitstop Preflight for checking page with specific ratio
-
- Member
- Posts: 94
- Joined: Fri Jul 08, 2011 10:31 am
- Location: The Netherlands
Re: Pitstop Preflight for checking page with specific ratio
In Switch you could calculate the ratio without Pitstop by using:
[Switch.Calculation:Expression="[Stats.TrimBoxHeight:Type="Defined",Precision="1"] / [Stats.TrimBoxWidth:Type="Defined",Precision="1"]"]
If you use this calculation in a condition, you can quite easy filter wrong ratio's
[Switch.Calculation:Expression="[Stats.TrimBoxHeight:Type="Defined",Precision="1"] / [Stats.TrimBoxWidth:Type="Defined",Precision="1"]"]
If you use this calculation in a condition, you can quite easy filter wrong ratio's
Re: Pitstop Preflight for checking page with specific ratio
Thank You, But i need do it in pitstopr.zegwaard wrote: ↑Wed Jan 23, 2019 5:22 pm In Switch you could calculate the ratio without Pitstop by using:
[Switch.Calculation:Expression="[Stats.TrimBoxHeight:Type="Defined",Precision="1"] / [Stats.TrimBoxWidth:Type="Defined",Precision="1"]"]
If you use this calculation in a condition, you can quite easy filter wrong ratio's