Enable Overprint Preview When PDF Opened?

Explorer ,
May 22, 2019 May 22, 2019

Copy link to clipboard

Copied

Hello,

I'd like to insert a document javascript that:

When the PDF is opened will:

1. Ascertain the current Overprint Preview setting and note it.

2. Set Overprint Preview to "Always" (if it's not already).

When the PDF is closed will:

1. Restore the previous Overprint Preview setting noted in #1 above.

Is this possible?

TIA,

Jon

TOPICS
Acrobat SDK and JavaScript, Macintosh, Windows

Views

120

Likes

translate

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 ,
May 23, 2019 May 23, 2019

Copy link to clipboard

Copied

No, this is not possible with JavaScript. The Print Production tools are mostly inaccessible from the JavaScript model. The only one I know of that can be used from JS is Preflight.

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

translate

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
Explorer ,
May 23, 2019 May 23, 2019

Copy link to clipboard

Copied

Hi ACP,

Apologies for the confusion but I was referring to the Acrobat Page Display preference setting called "Use Overprint Preview".

Thanks,

Jon

Likes

translate

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 ,
May 23, 2019 May 23, 2019

Copy link to clipboard

Copied

It's good to have specific information, you know, so we know what you're talking about.

But the answer is still No, Very few of the preference settings are available though the JS DOM.

The best place to look for this sort of thing is the Acrobat JavaScript reference:

Acrobat DC SDK Documentation

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Likes

translate

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 ,
May 26, 2019 May 26, 2019

Copy link to clipboard

Copied

Best option is to use a PDF/x standard like PDF/x-1a or PDF/x-4. But hard to get fool proof for customers.

An alternative is to give a screen version sRGB with simulated overprints… that will work on any device with any PDF viewer and what I used with non save clients.

Likes

translate

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