Often times when a print project has been completed, everything has been printed and the client has received teh final product there is one last act to be completed. The client usually wants a high-resolution PDF of the final files with the final copy and retouched images. Typically this is not a problem and is easily accomplished. But when you’re dealing with a document that has wrap-around covers and gate folds and photo-illustrations and graphics that span multiple pages, it’s not always as simple. The easiest way to handle these pages is to create a PDF with spread, and then just duplicate the spread and crop those duplicates until you have each of the individual pages split up.
But in Adobe Acrobat 9, just cropping the pages isn’t enough. Because Acrobat doesn’t actually crop the page, it just masks out the unwanted portions of the page, but they still remain in the document and can unexpectedly reappear at inopportune times. I can see how this was done with good intentions by Adobe, but that doesn’t change the fact that it’s a huge pain in my arse.

The document may appear cropped, but a quick peek at the Crop Pages dialog window tells a different story.
There are numerous suggestions on the web and on Adobe’s support website, but none of them seemed to work. The Document > Examine Document menu option seemed the most promising, but even that failed. And it actually created more problems when it removed some transparency masks that were already in the layout.
Then, finally I came across an an actual solution on the site Mac Production Artist. Only problem is, it requires Applescript. Crap. Eventually I resigned to the fact that I had no apparent alternatives so decided to keep calm and carry on. I did a quick search on my machine for AppleScript and found the AppleScript Utility. Except that’s not what I wanted. Next I found the Script Editor application. Bingo. I already had my faux-cropped document open, so made a duplicate of the PDF (just in case) and then I copied the lines of AppleScript from the site and pasted it into the Script Editor.
tell application "Adobe Acrobat Pro"
tell active doc
repeat with i from 1 to count of pages
tell page i
set cbox to crop box
set media box to cbox
end tell
end repeat
end tell
end tell

AppleScript isn't as intimidating as I thought it would be. At least it's not when the script is provided to you.
I hit the Run button, and a few seconds later it was done. Aaaaaaand Boom! Just like that.

Once the script has been successfully run the Crop Pages dialog box is singing a different, happier tune.
It was so simple, that it’s ridiculous to me that Adobe could not include that function in Acrobat itself. Should they include just such a feature in Acrobat 10? Absolutely. Do I believe they will? Probably not. But a guy can dream.








April 1st, 2010 at 04:59 PM
You didn’t get rid of the data – you just hid it. Setting the media box just sets the physical page size – but it does NOT remove any data. It’s all in there!
There are tools in Acrobat 9, via preflight, that will let you do it, however.
Leonard Rosenthol
PDF Standards Architect
Adobe Systems
April 1st, 2010 at 06:20 PM
Thanks for your comment Leonard. It would make sense that the data is still there since the file size wasn’t reduced much, if at all. But it did get me a step closer to what I needed than the Document > Examine Documents options.
Additionally I went back and retried the “Remove page objects which are completely outside of page area” and “Remove page objects which are completely outside of trim area” options and neither one appeared to have the desired effect.
Maybe it’s a problem with something in the document. But for now the AppleScript is the best option I’ve got.
April 21st, 2010 at 11:18 AM
Hi Leonard,
Could you let me know which feature in Preflight lets me delete what I thought I deleted by cropping a page – that would be a great help :)
The Document > Examine Documents options didn’t do much for me (pretty hard to control I think?)
April 21st, 2010 at 12:26 PM
@Mikkel
Once you go to Advanced > Preflight you’ll want to click on the “Select single fixups” button. Then under the “Pages” heading you’ll see several options that begin with “Remove…” that will hopefully give you what you need. I’ve had no success with them.
June 26th, 2010 at 08:22 AM
Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!
November 10th, 2010 at 07:21 PM
I’ve had the same issues with getting built-in cropping tools to work reliably in Acrobat CS4, and this finally accomplishes what I need to do. This has been a huge help, thanks!