Sandesh wrote:
Hello

I developed a standalone application for inventory
system using XUL and MySql.

All the stuff is working good except the printing.
Is anybody have a good idea how to generate reports
for mozilla printing?

Do you need to use XUL templates to generate your reports, or can you generate them from script using DOM methods? Basically, you want to create a hidden <html:iframe>, create a document to print in that iframe, and then call window.print on it. You have to create an HTML/XML document (blocks/inlines/tables), because the XUL box-model layout doesn't print.


--BDS
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to