Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Convert PS to PDF file in Adobe Distiller using javascript

Explorer ,
Aug 26, 2008 Aug 26, 2008
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
TOPICS
Scripting
745
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Aug 27, 2008 Aug 27, 2008
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 27, 2008 Aug 27, 2008
LATEST
Hi loic

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

thanks a lot again

regards
a r u l
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines