SaveAs X3

Contributor ,
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

189

Likes

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
Contributor ,
Oct 12, 2019 Oct 12, 2019

Copy link to clipboard

Copied

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

Likes

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
Adobe Community Professional ,
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.

Likes

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)

Likes

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
Contributor ,
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.

Likes

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