Skip to main content
Participant
April 3, 2018
Answered

Export as seperate PDFs, BUT keep same last page

  • April 3, 2018
  • 3 replies
  • 472 views

Say I have an 8 page indd file. The first 7 are different versions of the same front. The 8th page is a common back to all 7 versions. Is there an easy way to export these into 7 different 2 page pdfs all containing the same back? I'm currently exporting as 1 pdf, then in Acrobat extracting page 1+8, renaming and saving, extracting 2+8, renaming and saving, and so on. It doesn't come up everyday, but often enough I'd like to streamline better if I could.

This topic has been closed for replies.
Correct answer Laubender

Hi Bill,

good idea.

One could also do:

1,8,2,8,3,8,4,8,5,8,6,8,7,8

and split the PDF later with Acrobat Pro DC.

Regards,
Uwe

3 replies

winterm
Legend
April 3, 2018

Well, if you do it quite often, you may consider a simple script. Here's a sample for first two pairs: 1 and 8, 2 and 8 pdfs:

app.pdfExportPreferences.pageRange = "1,8"

app.pdfExportPreferences.viewPDF = false;

app.activeDocument.exportFile(ExportFormat.pdfType, File("~/desktop/Test/1.pdf"), false, "Prepress");

app.pdfExportPreferences.pageRange = "2,8"

app.pdfExportPreferences.viewPDF = false;

app.activeDocument.exportFile(ExportFormat.pdfType, File("~/desktop/Test/2.pdf"), false, "Prepress");

        alert( "Pairs exported" )

Three lines for each PDF. You need to write in correct (existing) PDF Preset name (mine is Prepress), path for PDFs to save (mine is ~/desktop/Test). Duplicate lines as many times as you need, adjust pageRange and filename for each.

Yeah, this may look a bit cumbersome, if you're new to scripting. However, if you're going to save pdfs to the same place by the same scheme again and again... worth to bother, imho.

Participant
April 4, 2018

Unfortunately, I'll never be saving to the same folder and the number of versions is never the same. I guess I could export to a folder on the desktop and cut+paste to the correct location and just save new scripts as new version numbers come up, but that sounds clunky for my particular situation. I will keep those script lines in thought for some other purposes.

Bill Silbert
Community Expert
Community Expert
April 3, 2018

I would probably send the pdf 7 times changing the range each time. So the first one would have 1,8 as the range, the second 2,8, etc.

That way the pdfs are ready to go as soon as they're sent.

LaubenderCommunity ExpertCorrect answer
Community Expert
April 3, 2018

Hi Bill,

good idea.

One could also do:

1,8,2,8,3,8,4,8,5,8,6,8,7,8

and split the PDF later with Acrobat Pro DC.

Regards,
Uwe

Participant
April 4, 2018

I had no idea you could just put a page multiple times into the output range. That's going to be much quicker. Thanks!

macpawel
Participating Frequently
April 3, 2018

Maybe try to copy back and made:

fron + Back 1

fron2 + Back 2

ect.

Coping Pages is very easy

pawel