Greetings,
Clicking on "File>>Document Properties..." will give me the Page Size for the current page (Under the "Description" category).
If a document has many pages, is there a place where I can see a listing of all the page sizes for the whole document?
In advance, Thanks
Document Properties - Page sizes for the whole document
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
-
- User
- Posts: 2347
- Joined: Wed Jan 18, 2006 12:10 pm
Re: Document Properties - Page sizes for the whole document
One of the toolbars in PDF-XChange Editor is called "Document Options".
If that toolbar is ON, it is located at the bottom left beneath the page display.
There you can normally see the Width and the Height of each page individually.
Best regards.
If that toolbar is ON, it is located at the bottom left beneath the page display.
There you can normally see the Width and the Height of each page individually.
Best regards.
Re: Document Properties - Page sizes for the whole document
Thanks Willy. Yes it is on, but when a document has a couple hundred pages, it is time consuming to check each page. I was hoping there was a way to display a pane that shows a summary of all the pages. Maybe under "View>>Other panes". A side pane with something like:
Page 1 - 8.500"x11.000"
Page 2 - 8.500"x11.000"
Page 3 - 8.500"x11.000"
.
.
.
Page 132 - 8.500"x11.000"
Page 133 - 8.392"x10.782"
Page 134 - 8.500"x11.000"
-OR-
133 pages - 8.500"x11.00"
1 page - 8.392"x10.782"
What I've been doing is using "Document>>Resize Pages..." to resize the pages to 8.5"x11". All the pages can be resized at once, but I have over 1200 separate documents to check. Having a way to quickly check would save time.
PDF-XChange has a lot of nice options. I was hoping this function was someplace I haven't looked yet.
David
Page 1 - 8.500"x11.000"
Page 2 - 8.500"x11.000"
Page 3 - 8.500"x11.000"
.
.
.
Page 132 - 8.500"x11.000"
Page 133 - 8.392"x10.782"
Page 134 - 8.500"x11.000"
-OR-
133 pages - 8.500"x11.00"
1 page - 8.392"x10.782"
What I've been doing is using "Document>>Resize Pages..." to resize the pages to 8.5"x11". All the pages can be resized at once, but I have over 1200 separate documents to check. Having a way to quickly check would save time.
PDF-XChange has a lot of nice options. I was hoping this function was someplace I haven't looked yet.
David
Re: Document Properties - Page sizes for the whole document
According to https://answers.acrobatusers.com/How-to ... 75456.aspx there are multiple boxes that define a page size. A script below (that I cobbled together using the aforementioned URL) will partially give you what you want, but the output will be in points, so you'll have to divide each number by 72 to get inches. Press Ctrl+J to open JavaScript Console, and paste the script there and click Run.
Code: Select all
for (var p=0; p<this.numPages; p++) {
console.println("Page #" + (p+1) + " Crop:" + this.getPageBox("Crop", p));
}
Last edited by lev on Sat Feb 11, 2017 10:28 pm, edited 1 time in total.
Re: Document Properties - Page sizes for the whole document
Another script, hopefully closer to what you want (it outputs page sizes in inches). Crop box seems to be the property you are seeking, but in case it is not, look over https://acrobatusers.com/tutorials/prin ... boundaries.
Code: Select all
for (var p=0; p<this.numPages; p++) {
var aRect = this.getPageBox("Crop");
var width = aRect[2] - aRect[0];
var height = aRect[1] - aRect[3];
console.println("Page # " + (p+1) + " Width " + width/72 + " Height " + height/72);
}
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Document Properties - Page sizes for the whole document
Hi guys,
Lev - That's a really cool script, thanks for that! I hope you don't mind if I steal it?
Lev - That's a really cool script, thanks for that! I hope you don't mind if I steal it?
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Re: Document Properties - Page sizes for the whole document
Yes indeed. Both are very nice and handy scripts to have. Both scripts worked like a charm
For our metric friends, for the script that shows results in points, divide points by 2.83465. I think that is the correct value. Round the 2.83465 if you want.
THANK YOU LEV !!
For our metric friends, for the script that shows results in points, divide points by 2.83465. I think that is the correct value. Round the 2.83465 if you want.
THANK YOU LEV !!
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Document Properties - Page sizes for the whole document
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com