[Mono-winforms-list] WebBrowser + Printing

Rocky1 rocky1 at netcourrier.com
Mon Dec 8 13:24:49 EST 2008


Thank you for the answer. I tried this :

webBrowser1.Document.InvokeScript("print");

or

webBrowser1.Document.InvokeScript("javascript:window.print");

In both cases, it shows the printing dialog, when I click "Ok", the page
changes to :

Title : <Page title>
Progress : preparing...

And it stands here, waiting for something... Maybe there are events to
catch?

I tried this on a WindowsXP SP3 computer, I haven't tested with Linux yet.
-- 
View this message in context: http://www.nabble.com/WebBrowser-%2B-Printing-tp20745942p20900813.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list