Free Support Forum - groupdocs.com

Auditing of printing and saving events


#1

Hi,


From this page
http://groupdocs.com/docs/display/viewernet/Description+of+Groupdocs+Viewer+JavaScript+widget+events
I understand that we can only audit the save events.
Is there a workaround or do you plan to to audit the print events as well?


#2

Hello Nicolasi,


Thank you for you request. Unfortunately we don’t have such method. But you can use such workaround:

1. Disable common print button - .ShowPrint(false)
2. Create custom button which will trigger print event
3. Set “printDocument” method for this button - for more info check point 14 from this documentation
4. Add JavaScript code which will audit click on this button and do what you need before call printDocument method.


Best regards.