Benjamin D. Smedberg wrote:
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

Yes, I done it in a iframe. My Data is coming in a XML stream and I
am rendering it with XSLT/Javascript dynamically in iframe. It's printing report now.


But it's printing the HTML table continusly. In my condition I want 'table headers' on every page. Also there might be static stuff like company logo, Title on every page. How can I do this?

Thanks


-- Sandesh Karalkar SEE my portfolio: http://in.geocities.com/skexz

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

Reply via email to