New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I get a feedback after click printButton or cancelButton? #7558
Comments
You should be able to listen for the Closing as answered. |
thanks for your kindly reply, I have tried to listen for the afterprint event but that is not I really want, since afterprint event is fired when the printing dialog closed no matter I click print button or cancel print button at last on the open window of printing dialog. what make me puzzled is that the event window.print() has no any return value to let me know whether it print successful or cancel or stop printing. so how I can confirm my printing task really success but not be cancel at last?
|
@xingxiaoyiyio Did you find a solution? |
Web browser: Chrome
I click printButton on
viwer.html
, then it triggers the browser method ofwindow.print()
,it open a preview page.
Here is the problem:
How can I get a feedback after click printButton or cancelButton on this preview page see blow?
because I need to execute a callback function after print success but not cancel printing.
The text was updated successfully, but these errors were encountered: