ASP > Report Output
I know this might sound strange, but I'm in the process of doing an ASP page that will output a report in a particular format. Think of it as an ASP form that generates a certificate or an invoice.
Now the quickest and cheapest option seems to be to output this to a HTML-created page, but is this the accepted norm to generate a new page/tab as a HTML-generated report? I just think it should be outputting to something like PDF or Word, but I think techie-peers are clouding my judgement when I should look to offer HTML, PDF or RTF(??) as an option.
Does anybody else generate a report as a new page/tab? Any probs with this?
You can make it anything you like....
I output heaps of reports as html but then they are primarily used for immediate use rather than for detailed interrogation. My reports are all tabular so that if the viewer wishes to they can copy and paste the results.
My 2 cents
If you wanted to print "selected contents" of the page into the printer... you could use these following techniques;
a. display a pop-up window and putting a PDF formatted report "as you formatted", then the PDF utility will allow print automatically
b. create your own ActiveX if it is in IE... and using client-side vbscript (as below) to extract the data one-by-one and printing it
<script language="vbscript" for="btnPrint" event="onClick">
'your printing code here