Hi
I use gtk_moz_embed_load_url() to load an HTML file and show content
of this HTML
and there is javascript print function HTML button in it:

<input value="Print This Page" onclick="window.print()" type="button">

In my test program, I click this HTML button, It always pop up a
Printer Error dialog and show
"An unknown error occurred while printing."

BUT in when I load this html file by firefox-3.0
It would pop up a regular Print dialog while I click print button

How to I execute javascript print function like firefox-3.0?

Thank you
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to