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

Print OnClick event

New Here ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

How do I capture the print button OnClick event so I can see if an user has printed something?

TOPICS
Acrobat SDK and JavaScript

Views

371

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 Employee ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

Hello Chriss,

Greetings from Adobe.

For the Print on Click event and Custom Printing option, you can add scripts to PDFs. For this, you can contact our Acrobat JavaScript expert on Adobe forums and they will assist you further JavaScript

For more information about the scripts, you can refer to Adobe articles Applying actions and scripts to PDFs

Adobe - Acrobat Developer Center | Adobe Developer Connection

Acrobat DC SDK Documentation

Thanks,

Anand Sri.

[Moving from Acrobat Reader to 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
LEGEND ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

There is a WillPrint event. There's no click - print event and printing, after all, may not involve any kind of click.

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
LEGEND ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

I think there may be some privacy issues when a program notifies a different user of a given user's action. Acrobat does not allow silent printing without some approval by the user or IT admin by having to install a plain language text that has some special scripting code. This has been done because it is possible to print any document through a network or the internet to anywhere in the universe (note that satellites transmit and receive computer data from earth stations). I would expect that the sending of a notification would fall into the same control since this type of action falls into the communications monitoring technique of "Traffic Analysis". Traffic Analysis was a major contributor to the U.S. Navy's winning of the battle of Midway in World War II and the breaking of the German military Enigma Machine messages by the code breakers at Benchley Park.

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 ,
Aug 24, 2018 Aug 24, 2018

Copy link to clipboard

Copied

LATEST

There's no global listener in Acrobat that is triggered each time a file is printed, only a doc-level event.

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