SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: ASP > Report Output
-
Feb 7, 2012, 12:45 #1
- Join Date
- Feb 2012
- Posts
- 5
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ASP > Report Output
Hi All
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?
Thanks Mojo
-
Feb 7, 2012, 19:53 #2
- Join Date
- Jun 2007
- Posts
- 691
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You can make it anything you like....
-
Feb 8, 2012, 02:58 #3
Hi Mojo
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 centsJoe
"All that is necessary for the triumph of evil
is that good men do nothing."
-
Feb 13, 2012, 00:27 #4
- Join Date
- Jan 2012
- Location
- Philippines
- Posts
- 19
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
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
Code:<script language="vbscript" for="btnPrint" event="onClick"> 'your printing code here </script>
Bookmarks