Best Format for Electronic and Print Consumption
Posted on 2001-08-18
I?m writing code that generates a summary report based on user input. I want this report to:
* Be viewable electronically without additional installation of software by a customer
* Provide, in printed format, a table of contents referencing page numbers
* Be based on an format whose specification I can reasonable have my code generate. For example, Microsoft Word format is probably out, since the 'source' format for writing code that generates Word documents is not readily available.
I seek feedback on the best format to choose for this report. HTML is an obvious and simple choice, and I can easily write code to produce attractive and readable markup in a browser. However, this wouldn?t seem to meet the printing requirements. Is there any way to get HTML to meet these requirements? Are there solutions to this dual need in XML?
Thanks in advance!