A way to find a pdf page size from acrobat reader?

Started by Exploded, August 19, 2008, 05:00:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tracy


StudioMonkey

Have you tried printing the f*cker out and measuring it?  With a Ruler?

My old boss would have used a ruler on the monitor  :facepalm:
Time flies like an arrow - fruit flies like a banana

delooch

Quote from: StudioMonkey on December 11, 2018, 06:29:13 AMHave you tried printing the f*cker out and measuring it?  With a Ruler?

My old boss would have used a ruler on the monitor  :facepalm:

we have the same old boss?

swampymarsh

Sure there is, the script works in both Reader and Pro, however there are of course limitations such as one page at a time.

There are considerations such as inches or metric and rounding to how many decimal places etc.

Joe

Quote from: swampymarsh on December 21, 2018, 12:14:34 AMSure there is, the script works in both Reader and Pro, however there are of course limitations such as one page at a time.

There are considerations such as inches or metric and rounding to how many decimal places etc.

What script?
Mac OS Sonoma 14.2.1 (c) | (retired)

The seven ages of man: spills, drills, thrills, bills, ills, pills and wills.

swampymarsh

#20
Quote from: Joe on November 24, 1974, 09:48:22 AMWhat script?

The Acrobat Reader PageBox script that I am going to post  :cool:  It would be good to know what people want, but perhaps I'll just post different versions with instructions for altering the code.

swampymarsh

#21


Links to the original discussions below, where further info can be found regarding how to setup the script to work in inches or metric, or how to round etc:

https://forums.adobe.com/message/10351349#10351349
https://forums.adobe.com/message/10351351#10351351
https://forums.adobe.com/message/10351273#10351273

My contributions to the script were minor as I can't write scripts from scratch, however I can sometimes modify them. The original script started out as only for showing Trim Box info, so I added in the other page boxes. The original script only showed Page Box info for the first page and not subsequent pages, so I also added the ability to show the currently viewed page. This is a one page at a time script, so less useful for long documents that may have different sized pages (but that is what Acrobat Pro or PitStop is for anyway).

Copy the code linked above and paste it into a plain text editor such as NotePad, TextEdit etc. (not rich text mode). Save the file with a .js extension, not .jsx or .txt etc.

Common Win OS and Mac OS installation locations:

C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts\
/Applications/Adobe Acrobat Reader DC.app/Contents/Resources/JavaScripts/

(Mac users will need to right/contextual click on the .app and select "Show Package Contents" in order to find the folder)

Depending on the script in use, the new command may be found under the File or View menus.

I have uploaded/attached various versions of the scripts in a .zip archive, however they would most likely all be in metric so will need adapting for inches as per the links above (PDF uses PostScript Points [1/72 in] as the native unit of measure, so inches and metric need "translation").

Enjoy!

Diddler

Hey thanks for that Swampymarsh,
The best present to start off 2019 with!!!!!
You can't polish a Turd, but you can roll it in glitter!

swampymarsh

Although the attached screenshot is only for display of the media box or nominal crop box of a page, I think that it is worth enabling in preferences.