3 Replies Latest reply on Feb 26, 2013 7:47 AM by try67

    Export each page to EPS




      Is it possible to export each page of my PDF to an EPS?


      I have tried:


      this.saveAs("/c/test/myDoc.eps", "com.adobe.acrobat.eps");


      but nothing happens.



        • 1. Re: Export each page to EPS
          Dave Merchant MVP & Adobe Community Professional

          That function will save only the first page, as multi-page EPS files aren't supported and there's no page range parameter in the saveAs() method.


          It will save the EPS file, but it's subject to security restrictions on many levels - you can only run it in this mode as a batch/console script and the folder you're saving to must be allowed by the "safe path" rules. Run it in the JS console and you'll get an error if the path fails the sandbox test.

          1 person found this helpful
          • 2. Re: Export each page to EPS
            _S_KEMP_ Level 1

            Thanks Dave.


            I will try a different tactic. Am I likely to have more success using Acrobat's Split Document feature?




            • 3. Re: Export each page to EPS
              try67 MVP & Adobe Community Professional

              You can use a loop that extracts each page of the original file, saves it as an EPS file (of course, you'll need to use a dynamic file name), and then closes it.