cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member
Member

Split a thick book into 2 volumes

Our customers sometimes drop a file containing more than 300 pages in a hot folder and it needs to be tape bound, the first and last page of the file is used as front and back cover of the book, however our machine can only bind a book no more than 250 pages, in this case we need to split the file into 2 equal segments (150 pages each in this example) then using the first and last page of the original file as the front and back cover of each segment, is it possible to accomplish this in a single workflow?

 

0 Kudos
5 Replies
Highlighted
New Member
New Member

Re: Split a thick book into 2 volumes

That's perfectly possible:

First use a split module to split front and back page from the rest (split by pages -> 3 rules -> page 1/ page -1 / pages 2 through -2)

This results in 3 branches. For the front and back branch, simply save the PDF to a temporary location.

The body branch first needs a second split module to split the file in 2 equal parts (split by segments).

Then you need 2 insert pages modules, 1 to insert the front page from the temp location and 1 for the back page.

The result is 2 PDFs with the same front and back pages and an equal amount of pages.

0 Kudos
Member
Member

Re: Split a thick book into 2 volumes

Your suggestion works like a charm, our customers now want to print "Volume 1" on the cover of the first half segment and "Volume 2" on the second half.

To do this, I added a Route node after the split into 2 segment node, since I checked the Append Rule Name to Job Name in the split node, the number 1 and 2 was added to the end of the original job name of the 2 split segments, the Route node has a branch condition if the job name contains 1 it is routed to to a Watermarks1 to print "Volume 1", otherwise it is routed to a Watermarks2 to print "Volume 2", however when I run the workflows, both segments have the "Volume 2" printed. Did I miss something in the workflow?

Note - I tried to insert the image of my workflow in this post but I couldn't find a button to do this, I appreciate anyone who can help.

 

0 Kudos
Highlighted
Member
Member

Re: Split a thick book into 2 volumes

I figured out what I did wrong and after corrected that, the Watermarks were printed correctly on both books, however I have another issue: when I saved the front and back cover to the temp location, I used the variable $FFwfJob.jobName$ which saves the file using the name of the original file name and has the "Front" and "Back" added to the end respectively, which is what I expected, but when I insert these 2 files back to the split segment , how can I make the insert node pick the correct file for the front and back cover?

0 Kudos
Highlighted
New Member
New Member

Re: Split a thick book into 2 volumes

I used the job ID to do this. That's a unique name for sure. Job name can possibly be duplicated.

"$FFwfJob.Id$ - front" and "$FFwfJob.Id$ - back"

For the insert, use the full path to the temp location to which you saved the files. Something like:

"C:\Xerox\FreeFlow\.....\Save Destinations\myTempSaveDestination\$FFwfJob.Id$ - front.pdf"

Highlighted
Member
Member

Re: Split a thick book into 2 volumes

Its awesome! Using the variable $FFwfJob.Id$ works perfectly as what I expected.

Thanks a lot for your helps.

0 Kudos