in reply to (ab)using mozilla's printing subsystem
You can also try the ghostscript library, possibly in conjunction with the Printer module, and of course some module to convert your data into postscript/pdf. If you could put up with simpler formatting, you can create it as pod and then use Pod::PDF. With ghostscript you can also generate output in jpeg/png, which allows you to create a "Print preview" GUI tool with Tk or any toolkity you like. On Win32 I guess you could install a postscript printer dirver and then I guess you coule use OLE to print to postscript with any app. Obviously, for mozilla stuff you'd better ask the mozilla people, but could you pls post here any response you get.