2 Replies Latest reply on Aug 27, 2008 2:42 AM by hm_arul

    Convert PS to PDF file in Adobe Distiller using javascript

    hm_arul Level 1
      Hi scripters,

      I have created some PS files from Indesign using javascript. Files are d:\test\1.ps,2.ps

      Now I want to convert this ps files into pdf files uisng javascript?(I am not comfort to use export as PDF option for this job)

      how I can do this?

      Thanks in advance

      regards
      a r u l
        • 1. Re: Convert PS to PDF file in Adobe Distiller using javascript
          Loic.Aigon Adobe Community Professional
          Hi arul
          Firstable, you may not need to create PS files as Indesign is able to produce PDF files natively. I was told that it was more reliable to do so using a certification profile such as PDFX.
          You will find a lot of PDF export script everywhere.
          However, if you want to go that way (PS to PDF). I did that once.
          First you determine into distiller a hotfolder where you ps files wille be generated. Then in the hotfolder options, you precise the profile you want to use. Otherwise, distiller may be using low quality PDF as default and your PDF may not be as good as you want.
          var distiller = File("c:/xxx/yyy/zzz/distiller.exe"); //the path to your distiller app.
          distiller.execute();
          Here you are !
          Loic
          • 2. Re: Convert PS to PDF file in Adobe Distiller using javascript
            hm_arul Level 1
            Hi loic

            thank you so much for you idea, I will use hotfolder option.

            thanks a lot again

            regards
            a r u l