in reply to Firefox equivalent to Win32:OLE?

If the layout is important, you might want to rethink whether using HTML to generate your reports is a good idea.

I don't think you'll find a way to print a Gecko-rendered page without opening a browser window, for example through XPCOM, but let me know otherwise.