Document action "will print". How to find out cancel printing because "did print" not executed?
Hello,
I use JS to set some fields, empty default values, check fields... when document action "will print" initiated. (hitting Print button)
After this i choose "print to PDF", so i have to select a file to save.
When saving of the file is finished, the document action "did print" executed as it should an call my js function => everything is ok.
My problem is: The document action "will print" allready executed, that is ok and should be. But if i cancel the printing (for example, if i abort saving print to PDF), the "did print" action not executed. So the form stock between "will print" and "did print". That is a problem.
In other PDF-viewer software, the action "did print" also executed, even if i cancle printing (saving to PDF file). Is this a bug or should it be, that "did print" not executed after abort saving file to pdf?
Thank you very much and best regards
vadaszaleb
