|
 |
asp_web_howto thread: Printing Reports
Message #1 by "Fred" <fao@t...> on Tue, 24 Jul 2001 00:30:45
|
|
Hi.
Has anyone had any experience with printing data.
I have info stored in a Access Database which can be viewed by a user via
ASP pages.
What I wnat to do is to print report depending on what the user wants.
Using the Browser print feature, just prints a screen dump.
I want to format the print document without the headers, tables, dropdown
boxes etc ???
Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Tue, 24 Jul 2001 10:43:10 +0100
|
|
use the "onbeforeprint" event handler to hide what you don't want to
print
and make any other changes (e.g. replace drop-down with text), then use
the
"onafterprint" handler to put everything back again. These are very
quick,
so unless you have an alert or something to stop execution, the user
does
not see the changes happening on the screen, they just get a printed
page
thats different to whats on screen. I'm not sure if these work in
Netscape
and other browsers though.
-----Original Message-----
From: Fred [mailto:fao@t...]
Sent: 24 July 2001 10:27
To: ASP Web HowTo
Subject: [asp_web_howto] Printing Reports
Hi.
Has anyone had any experience with printing data.
I have info stored in a Access Database which can be viewed by a user
via
ASP pages.
What I wnat to do is to print report depending on what the user wants.
Using the Browser print feature, just prints a screen dump.
I want to format the print document without the headers, tables,
dropdown
boxes etc ???
Message #3 by "Coffey, Dana" <dcoffey@B...> on Tue, 24 Jul 2001 06:52:45 -0700
|
|
Fred,
You can use a VB Com object to call the report, and utilize the access snap
viewer to display the report in the browser and print it.
d
-----Original Message-----
From: Fred [mailto:fao@t...]
Sent: Tuesday, July 24, 2001 4:27 AM
To: ASP Web HowTo
Subject: [asp_web_howto] Printing Reports
Hi.
Has anyone had any experience with printing data.
I have info stored in a Access Database which can be viewed by a user via
ASP pages.
What I wnat to do is to print report depending on what the user wants.
Using the Browser print feature, just prints a screen dump.
I want to format the print document without the headers, tables, dropdown
boxes etc ???
|
|
 |