Kirix Support Forums

Print Preview Available?

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

Print Preview Available?

Postby Doc on Tue Dec 21, 2010 12:05 am

I'm highly interested in using wxWebConnect, but I need the ability to do a "print preview". I did not see this in the control library - is there a way to do a print preview or add a print preview function to the WebControl?

Registered User
Posts: 5
Joined: Sun Oct 14, 2007 2:58 am

Re: Print Preview Available?

Postby jonmmorgan on Tue Dec 21, 2010 8:05 am

It doesn't seem to do it in wxWebConnect, but the functionality is definitely supported in XULRunner. If you are interested in looking, the function to call would seem to be printPreview() on the nsIWebBrowserPrint interface (the same interface as is used in the Print() method of the web control).
Registered User
Posts: 94
Joined: Fri May 14, 2010 9:48 am

Re: Print Preview Available?

Postby Ben on Sun Dec 26, 2010 11:15 pm

Shouldn't be too hard to implement. You are correct-- print preview is fully supported by XULRunner, and it is simply a matter of patching it through. Most of the necessary interfaces ready to go.
Ben Williams
Kirix Support Team
User avatar
Kirix Support Team
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Return to wxWebConnect Questions, Thoughts & Feedback