Welcome Guest Search | Active Topics | Sign In | Register

WebBrowser - Not printing when from script and using e.Continue(false) in BeforePrint Options
yvesm
Posted: Wednesday, January 25, 2017 9:22:47 AM
Rank: Advanced Member
Groups: Member

Joined: 12/1/2014
Posts: 57
I use e.Continue(false) in the BeforePrint event to bypass the print dialog.

It does not print if the printing comes from a script (window.print) - I use http://www.w3schools.com/jsref/met_win_print.asp

If I use e.Continue(true) instead then it displays the dialog and prints fine.

Is it possible to print from script without the dialog?

Thank you.

eo_support
Posted: Wednesday, January 25, 2017 2:33:06 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Can you try the latest build from our download page? We tested on this build and it seems to work fine.

Thanks
yvesm
Posted: Wednesday, January 25, 2017 3:36:44 PM
Rank: Advanced Member
Groups: Member

Joined: 12/1/2014
Posts: 57
It seems to work. Thank you.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.