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

Enable Overprint Preview When PDF Opened?

Participant ,
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 , Windows

Views

423

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

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

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

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

Copy link to clipboard

Copied

LATEST

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.

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