Print Page | Close Window

Automatic re-arranging pages

Printed From: Foxit's Planet PDF Forum
Category: Lets Talk PDF
Forum Name: Prepress and Print
Forum Description: This is for PDF users involved in prepress and printing. It is for topics like color management, font issues and digital printing.
URL: http://forums.planetpdf.com/forum_posts.asp?TID=2151
Printed Date: 25 Nov 2017 at 1:56am
Software Version: Web Wiz Forums 11.10 - http://www.webwizforums.com


Topic: Automatic re-arranging pages
Posted By: Elaol
Subject: Automatic re-arranging pages
Date Posted: 07 Apr 2017 at 10:15am
Hi,
I have two huge PDFs. I want to print them. But before I do that, I would like to re-arrange pages in the next pattern: from 1-2-3-4, I would like it to be 1-3-2-4, then 5-6-7-8 to become 5-7-6-8, etc.

Is there a way to do this automatically, because both are over 1000 pages long? I don't have a clue how to edit PDFs, and it is extremely difficult to find how to do it automatically in the pattern I want on Google. 

Thanks in advance!



Replies:
Posted By: BAlheit
Date Posted: 08 Apr 2017 at 9:24am
Possible with Adobe Acrobat and JavaScript.


Posted By: Elaol
Date Posted: 08 Apr 2017 at 12:59pm
Originally posted by BAlheit BAlheit wrote:

Possible with Adobe Acrobat and JavaScript.

I don't know anything about it, I only know what Java is. Is there some guide how to do that? Thanks for your reply :)


Posted By: gkaiseril
Date Posted: 08 Apr 2017 at 5:35pm
Acrobat uses JavaScript not the Java computer language.

Adobe make the Acrobat JavaScript documentation freely available.


http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJSPreface%2FJS_API_AcroJSPreface.htm - Acrobat JavaScript API Reference

http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJS%2FDoc_methods.htm - movePage

Pages are numbered using the zero base logic, so page number 1 I 0. It looks like you only need to move page3 after page 1.

this.movepPage({nPage:2, nAfter:0});



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.10 - http://www.webwizforums.com
Copyright ©2001-2017 Web Wiz Ltd. - https://www.webwiz.net