I'm trying to find a way to detect an odd page count, and then add a blank page so that every job sent through the Flow has an even page count.
I can do it with a Pitstop Server Preflight, but it gets time-consuming especially when we're doing this to 5,000 jobs.
Any ideas?
Adding Blanks to Odd Page Counts
- tdeschampsBluewest
- Member
- Posts: 127
- Joined: Tue Jun 01, 2021 11:57 am
Re: Adding Blanks to Odd Page Counts
You can detect the odd number of page by doing a check in an arrow connection, it will avoid opening pitstop for unecessary document.
If equal to 0, it's an even number, otherwise it will be 1, so an odd number.
Code: Select all
[Switch.Calculation:Expression="[Stats.NumberOfPages]%2"]
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Feel free to leave a comment on the Appstore!
Re: Adding Blanks to Odd Page Counts
Yes, That worked. Thank you.
-
- Member
- Posts: 102
- Joined: Fri Jul 08, 2011 10:31 am
- Location: The Netherlands
Re: Adding Blanks to Odd Page Counts
Hi,
I think there is an easier solution.
Set the action "Add pages" to add "Until a multiple of 2"

I think there is an easier solution.
Set the action "Add pages" to add "Until a multiple of 2"

Re: Adding Blanks to Odd Page Counts
I think our friend wanted to avoid running PS if not necessary. I.e. if the number of pages is already even.
Thomas' answer in that regard is indeed the best way to go. Fastlane could as well be used with mimimal performance impact.
But in that case, the condition with metadata simply makes sense.
Thomas' answer in that regard is indeed the best way to go. Fastlane could as well be used with mimimal performance impact.
But in that case, the condition with metadata simply makes sense.
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager