Skip to main content
Sunny_artwork157F
Inspiring
August 15, 2018
Answered

How to center align all pages in a multiple page document

  • August 15, 2018
  • 5 replies
  • 16775 views

Hello,

I have used the PlaceMultipagePDF script to import a pdf into InDesign.

However, all the pdf pages have a bleed and trim marks included which means that when they have been imported in the actual content is off-center.

Is there a way to center-align to page ALL of the pdf pages in the document at once?

I have tried using the AligntoPage script but that still only seems to align one page at a time.

Many thanks in advance

Hanniel

Correct answer Colin Flashman

I would probably use a different script to place all PDFs in a page, namely: https://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-indd-files.php

It has a really good user interface and will allow you to align to a point on the nine point proxy, etc.

5 replies

Participant
November 13, 2024

So I discovered a little cheat method with importing multiple pages to the center at the same time. I noticed that they always align to the upper left corner. What you want to do is create the page in InDesign to docuemnt size. So if your finished size is 8.5x11 with 0.125" of bleed all around, then you will want to create the page at 8.75x11.25 in InDesign. You can set bleeds if you want because this will not affect positioning. Once you place the multi-page PDF, go to your document settings/setup and change the page size down to 8.5x11. All pages will be centered. You're welcome 😉

Colin Flashman
Community Expert
Colin FlashmanCommunity ExpertCorrect answer
Community Expert
August 15, 2018

I would probably use a different script to place all PDFs in a page, namely: https://indesignsecrets.com/zanelli-releases-multipageimporter-for-importing-both-pdf-and-indd-files.php

It has a really good user interface and will allow you to align to a point on the nine point proxy, etc.

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
Sunny_artwork157F
Inspiring
August 15, 2018

Thanks Colin, I knew there must be something out there, I just couldn't find it on searches!!

This worked perfectly and the user interface was exactly what I was hoping for!!

rob day
Community Expert
Community Expert
August 15, 2018

Sorry, I just tested the script and neither of my answers will work—the pages always get placed at the zero point. The script can be edited to change the place point to the bleed rather than 0,0.

I'll take a look and see if its an easy fix.

Sunny_artwork157F
Inspiring
August 15, 2018

Thanks! I just replied, wasn't sure if I was just doing something wrong (I don't use InDesign scripts that often!!). I sent some further detail including an example of the page I am trying to place.

rob day
Community Expert
Community Expert
August 15, 2018

Just to clarify the PDF pages you are placing are A4, and they are being placed on the smaller A5 document's pages?

I was assuming you were just trying to accommodate the incoming bleed, and we could just change the place point.

rob day
Community Expert
Community Expert
August 15, 2018

You could also edit the script, which is set to crop media. In the JavaScript version open the script in ExtendScript toolkit and look for line 102, and change it to

app.pdfPlacePreferences.pdfCrop = PDFCrop.cropBleed;

In the AppleScript version look for

set PDF crop of PDF place preferences to crop media

and change it to

set PDF crop of PDF place preferences to crop bleed

Sunny_artwork157F
Inspiring
August 15, 2018

Hi Rob thanks for the quick reply.

I have think the editing the script may be the way forward as I couldn't get the show import options to work, but wanted to check with you first.

I edited and imported the updated script but got an error msg when I tried to run it!

Basically, the client wants an A5 document and the pdf content is set for A5 but they saved the A5 page along with the trim marks all within an A4 document.

Ideally I would like to run an align script that aligns every pdf page to dead center of the document pages or if there is a way to fix the above error that would be great also.

Hopefully the above makes sense.

Many Thanks

Hanniel

rob day
Community Expert
Community Expert
August 15, 2018

The Place dialog's Show Import Options is sticky, so you could try manually placing a page with Show Import Options on, and the bleed included before running the script.