Good Morning, Eugene (Yeah, I know, it's not morning for you any more).
I don't think I have an answer, at least not yet, but I'm confused by the description. You have on PDF that contains 500 pages, and you have another with just 1, and you want to insert that same page after each of the 500 existing pages in the larger doc? Why?
500 page data merged file 4 up.
Same back from the all.
Supplied PDFs as 500 page PDF. With another PDF for the back which contains just 1 page.
Would like to have the back after each page in the 500 page doc, making a 1000 page doc that can be printed duplex straight off the printer without having to reload the paper.
There's quite a few of these jobs, some larger than others.
So each of the 4-up is a different record, so you can't use a two page master? Can you re-build the data file to have four sets of data per record?
Of course this is where I'm going to tell you how inefficient printing this as a straight-up duplex job is going to be. You have to process that same fixed content page 500 times instead of once. Turning over a stack of paper would probably allow you to print two or three jobs in the same time (I'd print the static side first, and print extra, in case of jams on the second run). Or send this out to a service that has VDP print capabilities.
Yeh there's various reasons why I can't work like that.
What I really need is a method to insert the 1 page pdf between all the pages of the other pdf in a quick and efficient way.
I don't know how quick and efficient this is (an acrobat script is probably the correct answer), but I'd do it in ID but making a two-page template the size of one set, put the static stuff on the master for one side, and the merge fields on the other, then do a single record merge.
To get the 4-up version I'd run the Zanelli multipage placer script 4 times.
Sorry for the confusion Peter, these files are coming in supplied this way.
If I could do the data merge here I'd have no issues at all with this.
The fact is there's a 591 page pdf with 1 back
There's a 1543 page pdf with 1 back (could be the same or could be different can't take a chance)
There's 854 page pdf with 1 back for it.
Everything I've tried takes an absolute age to complete and crashes and holds up the computer - so it's a non-runner.
there is a script for acrobat called collate. I touched on it in a colecandoo blog Adding pages features to Acrobat | Colecandoo! a while back, but the actual script does live in the adobe acrobat forum: Re: How can I merge even and odd pages of a PDF? (go to post 8). Beaut part is it also adds a "reverse" feature so if you wanted pages 1,2,3,4,5 to become 5,4,3,2,1, it'll do that too!
That's very complicated for me.
a solution that might seem bonkers at first: split the 500 page PDF using the split pages feature in acrobat to 1pp long and put in one folder. set aside.
next, in another folder, put the PDF that is the common back in there and make 499 duplicates (so that 500 backs are there) and don't worry about the filenames for now. set aside.
next, in bridge, go to the folder with the 500 newly split fronts and use batch rename to rename using sequence only.
then, again in bridge, go to the folder with the 500 copied back files and use batch rename to rename using sequence AND text at the end so it contains the letter a. Make sure the sequence number starts the same as the one in the front folder.
then in finder, combine the two contents together so you have something like this:
then, in Acrobat, go create, and go combine files into single PDF, and drag the whole lot into there.
I did a test as I was writing this and looked OK from here.
Sorry, had to do some stuff.
I've had two more thoughts. First, check on the scripting forum to see if anyone has a script to insert blank pages in ID. I think that's been done. You could do that and put the static stuff on the master for those after placing the multipage file.
Second, if you can get the other party to supply the files as 1-up instead of 4-up you could do run the Zanelli script twice (split the range int the two halves of the total page count), then add the back side to the master page in the other two positions and run as work and turn.
Many thanks for all the suggestions really appreciate all the help.
the script can be found here: Re: How can I merge even and odd pages of a PDF? (8th post down posted by jbaitis) - copy and paste the script into a text editor and call it "collate.js" (without the quote marks of course)
to install it, close acrobat, and then copy the script into this location (assuming you work on a mac using Acrobat XI)
restart acrobat and when a file is open, there should be two new options available under "undo" in the edit menu: collate and reverse. collate works by getting file A and interleaving it with file B, so both files need to be the same page length. In Eugene's case, this would have meant creating a common back file that was as many pages as the front, but that isn't too hard to do via the finder and the "combine files into a single PDF" function in Acrobat.
That said, my earlier "bonkers" approach using the split feature worked too, but the collate script is far, far easier.