Copy link to clipboard
Copied
Hi there,
I have a large .indd document which includes too many spreads. And every spread includes two pages.
I want to export my document as separated pdf files BUT every pdf file must include two pages.
I think you understand me more clearly if you look at attached files. (one is a sample of my indd document, others are pdf files i need and don't need)
Thank you all.
You could do it with my (not free) Extract Pages script:
https://www.id-extras.com/products/extract-pages/
Ariel
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Because I will send every pdf file to different clients.
I have an indesign file that has 250 spreads and 500 pages.
I want to export pages 1-2 as one pdf file; pages 3-4 as another pdf file, 5-6 as another and so on..
At the ehd, i must have 250 two paged pdf files.
I know i can do it manually but i'm trying to find a way to do it automatically to save my time.
Sorry for my bad English.
• Mac Os 10.13.6 High Sierra
• InDesign 2020 / v15.1.3
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Ok Bob, thanks a lot for your interest.
Copy link to clipboard
Copied
You could do it with my (not free) Extract Pages script:
https://www.id-extras.com/products/extract-pages/
Ariel
Copy link to clipboard
Copied
Seems like what i mean exactly! I will try it so thank you so much!
Copy link to clipboard
Copied
When you export the PDF.
Tick on Spreads
Directly under that is Create Separate PDF files.
Copy link to clipboard
Copied
Hi Eguene, ticking on spreads exports one paged pdf file which is not i mean. Thanks for your help.
Copy link to clipboard
Copied
Hello,
Here's a script that does what you're looking for.......the pdfs will be exported to the same location as the InDesign document in a folder named PDFs.
var doc = app.documents[0];
var fileName = doc.name.replace(/.indd$/i, "");
export_preset1 = app.pdfExportPresets.itemByName("[High Quality Print]");
if (!(export_preset1.isValid)){
alert("The pdf export preset does not exist.");
exit();
}
var myDocFolder = doc.filePath;
var myPDFFolder = Folder(myDocFolder.fsName + "/" + "PDFs");
if (!myPDFFolder.exists){
myPDFFolder.create();
}
for(var p = 0; p < doc.pages.length; p=p+2) {
var pdf_name = doc.pages[p].name + "-" + doc.pages[p+1].name;
app.pdfExportPreferences.pageRange = "+"+( doc.pages[p].documentOffset+1 ) + "," + "+"+( doc.pages[p+1].documentOffset+1 );
doc.exportFile(ExportFormat.PDF_TYPE, File(myPDFFolder + "/" + fileName + "_" + pdf_name+".pdf"), false, export_preset1);
}
alert("Done Exporting PDF's!");
Regards,
Mike
Copy link to clipboard
Copied
You can do this in Acrobat.
Export your entire file as one PDF. In Acrobat, go to Organize Pages, then select Split and specify how many pages/split you want to split it into... in your case 2. This will split the file into separate several PDFs of 2 pages each.