I wanted to make part of the screen avaible to print. From my investigating in Mozilla i can only print document, so i can copy needed layout to hidden iframe, no problem.
But how to print it later?
The only part of code i found is here http://lxr.mozilla.org/seamonkey/source/xpfe/communicator/resources/content/printing.js#135
But it doesnt help me :/
When i tried it on my app, i setup window didn't appear after
gPrintSettings = GetPrintSettings();
(dont know why), and print() method returned exception :( I know why... Of course i didn't point what i want to print, but it's only because i totally dont know where and how to start. No word about it on xulplanet.com :/
Anyone could help me please?
Greetings Zbigniew Braniecki
