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

SaveAs X3

Engaged ,
Oct 12, 2019 Oct 12, 2019

Copy link to clipboard

Copied

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

Views

480

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

For the use of preflight profiles in Javascript look at the Acrobat Javascript Reference.

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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)

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST
Thanks, I now created a simple action to convert the document to X3. No need for JavaScript.

Votes

Translate

Translate

Report

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