Dynamically Add Blank Page to PDF Data

Posted by: rdaneel72

Dynamically Add Blank Page to PDF Data - 08/18/20 10:15 AM

This is a long shot.

We currently receive a PDF file from a customer containing a mix of both 1 and 2 page letters. It makes printing and sorting these letters difficult.

Is there any way, using PP Design or Workflow, to dynamically add a blank page after a 1 page letter, and not a 2 page letter?

Output can be a PDF or Postscript file, and I have some limited experience with Metadata functionality in PP Design. I have identified a document separator, and conditionally check for page 1, but I have hit a wall.

Any insight would be greatly appreciated.
Posted by: Jean-C├ędric

Re: Dynamically Add Blank Page to PDF Data - 08/18/20 10:21 AM

There are many ways to do this but it all depends of what the PDF input looks like, how you can identify a single from a double page letters, etc...

Could be done in the form, from a script using the Alambic API in Workflow, etc...

I suggest you open a technical support ticket through our website. This way a technician will be able to look at it and propose/guide you toward a solution.
Posted by: rdaneel72

Re: Dynamically Add Blank Page to PDF Data - 08/18/20 12:30 PM

Figured it out.

If curious, I needed to create the metadata in the workflow process.

The condition for the blank page "=GetMeta('SelectedCount[0]', 1, 'Job.Group.Document')='1'" doesn't work without the metadata.

Rookie mistake!