Skip to main content
Participant
October 3, 2013
Question

Need help exporting multiple individual PDF files out of Indesign CC

  • October 3, 2013
  • 2 replies
  • 3198 views

I work for a monthly publication and we send our files to the press at the end of the month. There are around 190+ pages that need to be exported as individual PDF's and each PDF needs to be labled as their correct page number. Since we often are backed up against the wall at our deadline, we really need a way to export all these files at one time. Is there a way to export multiple PDF files at one time in Indesign CC?

This topic has been closed for replies.

2 replies

Community Expert
October 4, 2013

A sample script to achieve what you desire

var doc = app.activeDocument;

var pageCount = doc.pages.length;

var exportPath = "c:\\abc\\";   //Replace with the output folder path

var pdfPreset = app.pdfExportPresets.itemByName ("[Smallest File Size]") //Use the name pf pdf preset you want

var pr = app.pdfExportPreferences.pageRange

for(var i = 1; i <= pageCount; i ++)

{

    app.pdfExportPreferences.pageRange = i.toString();

    doc.exportFile(ExportFormat.PDF_TYPE, exportPath + i + ".pdf", false, pdfPreset)

}

app.pdfExportPreferences.pageRange = pr; //Restore the preferences

-Manan
Inspiring
October 4, 2013

You could script InDesign to export each page as individual PDF with specific export presets and labeled with correct page number.

But you could also use Acrobat Pro for this task (sorry for the certainly wrong translation of the Acrobat UI – I use a german version ...):

  1. Export the whole publication as 1 PDF file (pp. 1-190).
  2. Open it in Acrobat Pro and choose »Tools › Extract Pages«.
  3. Type 1 to 190 and check the box »extract pages as single pages«, choose the location where to extract to and acrobat automatically numbers your new PDFs sequentially from 1 to x. (Caution: it doesn’t take the correct page number, but numbers sequentially, so it is important to have a PDF from pp. 1-190 in the correct order.)

So with this (as mentioned – sorry for German ):

You’ll get this:

Tobias