I was wondering if anyone knows some way to detect the opening of that default print popup for running a javascript.
My problem: I needed to run a script when the user downloaded or printed a PDF that is being displayed to him as follows inside my page:
It would have to use these two standard options of the embedded viewer. Does anyone know how I would capture these events with javascript? (Remembering that the viewer code is external, I could not capture the button ids.)