Adding Blanks to Odd Page Counts

Post Reply
MichaelG
Newbie
Posts: 10
Joined: Wed Nov 15, 2017 2:37 pm

Adding Blanks to Odd Page Counts

Post by MichaelG »

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?
User avatar
tdeschampsBluewest
Member
Posts: 127
Joined: Tue Jun 01, 2021 11:57 am

Re: Adding Blanks to Odd Page Counts

Post by tdeschampsBluewest »

You can detect the odd number of page by doing a check in an arrow connection, it will avoid opening pitstop for unecessary document.

Code: Select all

[Switch.Calculation:Expression="[Stats.NumberOfPages]%2"]
If equal to 0, it's an even number, otherwise it will be 1, so an odd number.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
MichaelG
Newbie
Posts: 10
Joined: Wed Nov 15, 2017 2:37 pm

Re: Adding Blanks to Odd Page Counts

Post by MichaelG »

Yes, That worked. Thank you.
r.zegwaard
Member
Posts: 102
Joined: Fri Jul 08, 2011 10:31 am
Location: The Netherlands

Re: Adding Blanks to Odd Page Counts

Post by r.zegwaard »

Hi,

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

Image
loicaigon
Advanced member
Posts: 631
Joined: Wed Jul 10, 2013 10:22 am

Re: Adding Blanks to Odd Page Counts

Post by loicaigon »

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.
Loïc Aigon
Enfocus PitStop Manager
Post Reply