IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#57620 - 08/18/20 10:15 AM Dynamically Add Blank Page to PDF Data
rdaneel72 Offline
OL Toddler

Registered: 02/25/08
Posts: 34
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.

Top
#57621 - 08/18/20 10:21 AM Re: Dynamically Add Blank Page to PDF Data [Re: rdaneel72]
Jean-Cédric Offline
OL Expert

Registered: 10/03/16
Posts: 681
Loc: Québec, Canada
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.
_________________________
♪♫♪♫
99 frigging bugs in my code
99 frigging bugs
Take one down
Code around
127 frigging bugs in my code
♪♫♪♫

Top
#57622 - 08/18/20 12:30 PM Re: Dynamically Add Blank Page to PDF Data [Re: rdaneel72]
rdaneel72 Offline
OL Toddler

Registered: 02/25/08
Posts: 34
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!

Top