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

SaveAs X3

Engaged ,
Oct 12, 2019 Oct 12, 2019

Hi,

I am trying to to save my document with JavaScript as PDF/X3

 

I tried the optional parameters for the saveAs

curDoc.saveAs(outputpath, "com.callas.preflight.pdfx");

 

but it will not save it as X3.

It there a way to go through the optimizer by script, change preferences ..

 

Thanks for any help.

Stefan

TOPICS
Acrobat SDK and JavaScript
626
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
Engaged ,
Oct 12, 2019 Oct 12, 2019

Execute the preflight? But how. Any examples. Thanks Stefan

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
Community Expert ,
Oct 13, 2019 Oct 13, 2019
For the use of preflight profiles in Javascript look at the Acrobat Javascript Reference.
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
Oct 13, 2019 Oct 13, 2019

I am assuming the JavaScript is within the PDF file you are trying to convert to PDF/X-3? If so, be aware that none of the ISO PDF/X specifications (including PDF/X-1a, PDF/X-3, PDF/X-4, and the upcoming PDF/X-6 specifications support Javascript within the PDF file. Thus, any attempt to use the Acrobat Pro functions to create a PDF/X file from a PDF file with embedded JavaScript will succeed.

 

              - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
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
Engaged ,
Oct 16, 2019 Oct 16, 2019
LATEST
Thanks, I now created a simple action to convert the document to X3. No need for JavaScript.
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