Copy link to clipboard
Copied
How do I capture the print button OnClick event so I can see if an user has printed something?
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
Thanks,
Anand Sri.
[Moving from Acrobat Reader to JavaScript ]
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.
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.
Copy link to clipboard
Copied
There's no global listener in Acrobat that is triggered each time a file is printed, only a doc-level event.