I am working on a format with several sections in vertical A5 format (210x148mm) composed by imposition on an A4 (210x297mm). The last section (prints twice) contains a pivot table and normally overflows onto the next page, the problem is that I need it to print as:
Page 1: page1 - page1 and Page 2: page2 - page2
but the current result is:
Page 1: page1 - page2 and Page 2: page1-page2
I attach the files and a diagram to better describe what I need, considering that it is for section 3 that must be printed twice… thank you very much for your help !!!
It is hard to understand the resulting output you desired as your example doens’t take real output of what you have provided and your page # of # seems to be messed up
In short, the last section should be printed twice, but if it has overflow, it should go down instead of to the right. The copy on the left should be on the right.
What you want is for Sección 3a & Sección 3b to be side by side and there overflow to be side by side as well?
There is no impostion that will do that for you. Not unless the imposition is done manually or through a script.
Basically what you want is that the Template execute as follow:
Sección 1 and its overflow
Sección 2
Sección 4
Loop through the overflow section and their overflow:
a. Sección 3a
b. Sección 3b
c. Sección 3a overflow 1st page
d. Sección 3b overflow 1st page
e. Sección 3a overflow 2nd page
f. Sección 3b overflow 2nd page
g. etc…
The only way I can see this working would be to do your job in three different Templates (also assuming that you have only 1 record per data file as per your example).
First one with Sección 1 & Sección 2 & Sección 4,
a. no pagination at the bottom
b. Imposition method: Cut and Stack
c. Page Order (first one)
Second one with Sección 3a & Sección 3b
a. no pagination at the bottom
b. Imposition method: Cut and Stack
c. Page Order (third one)
Merge those PDF together so they become the input for the third Template
Simple Template that outputs the first one and add pagination (# of ##) manually using scripts.
Your Workflow process would be like this:
Input file reception
Execute Datamapping
Branch to right
Execute 1st Template
Output Preset to a folder with specific filename,
a. Output Preset must not be the last step (need be added as an Action to keep synchronycity)
b. Output Management set to As defined by Output Preset
Go back to Main branch
Branch to right
Execute 2nd Template
Output to a folder with specific filename (same as main one)
a. Output Preset must not be the last step (need be added as an Action to keep synchronycity)
b. Output Management set to Through Workflow
Send to Folder plugin, as an Output
a. same folder as 1st Template resulting PDF
b. same name as ast Template resulting PDF
c. Tick check box Concatenate files
Go back to Main Branch
Folder Capture plugin that grabs the newly concatented PDF
Read this article to know how to get the number of record (PDF pages) of the PDF as well as using the Datamapper to check if there is 1 or 2 printed pages per record (left and right). The best way to do that would be to try to extract something on the right side of the page where you know there is usually something. if there is, then you have 2 printed pages on that record (PDF page).
Now that you have that information, you can use the PDF pages as the background of your 3rd Template and can manually add the pagination at the bottom of every printed pages.
Maybe there are other way to approach this but that is the one that came to mind.
Hope that helps.