Skip to main content
Inspiring
May 22, 2019
Question

Enable Overprint Preview When PDF Opened?

  • May 22, 2019
  • 2 replies
  • 947 views

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

This topic has been closed for replies.

2 replies

Lukas Engqvist
Community Expert
Community Expert
May 27, 2019

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.

Thom Parker
Community Expert
Community Expert
May 23, 2019

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 PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
May 23, 2019

Hi ACP,

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

Thanks,

Jon

Thom Parker
Community Expert
Community Expert
May 23, 2019

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 PDFScriptingUse the Acrobat JavaScript Reference early and often