These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Batch Process page resize

Rpeal
Registered: Sep 5 2006
Posts: 5
Answered

I frequently need to change PDF files from any given size (usually smaller) to 8.5" x 11" with crop marks. In Acrobat Pro 7 I had created a "Batch process" to achieve this using "Crop pages" to alter the crop and trim area. I have also done this in 8 manually via the pull down menus. The problem arises though when I try to recreate these steps as a "Batch process". In the first resize of the pages, crop to 58p0 x 73p0, I get the following error "Page size may not be reduced". Which is curious as I am not reducing but increasing the page size.

Any ideas?

Thank you

Richard

My Product Information:
Acrobat Pro 8.1.2, Macintosh
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You're problem may be with the particular Page Box you are trying to change. Or the order in which you are trying to change them. For example, the crop should always be inside the trim. Breaking this rule might cause Acrobat to choke.

You can use JavaScript to increase any of the Page Boxes. Look in the Acrobat JavaScript Reference at the "doc.setPageBoxes()" function. It's a bit more work, but it gives you better control over the process.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Rpeal
Registered: Sep 5 2006
Posts: 5
Thom,

Thank you for your suggestion. In further tinkering with "Batch process" and "crop page" I discovered that if I put a non-active "crop page" before the resizing "crop page" the process will accept and produce the desired results, a page resized to 8.5" x 11". I guess the "Batch process" needs to establish the initial document size before it can alter the page size.

Richard
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Hmm, strange but true. That's Acrobat for ya.

Sounds like a bug to me.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script