Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing a Recordset

Status
Not open for further replies.

paragvshah

Programmer
Jan 11, 2001
109
IN
Friends,

I want a give an print option on Website from where a user can print data from a Recordset. we dont want to show the data on the page.

Please help me out.

Parag.
 
Hi There ...
you can open a new window and just write the data which
you want to print in it and then put a button for
printing in it.
by clicking that button, you can call a javascript that
prints the page.
also we have two events : window.beforeprint and
window.afterprint which may be useful for you.

TNX
E.T.
 
I remember another trick that should work if the data is not really confidential. Make the background black as well as text. Since default settings on browser won't print the backgrounds you won't see anything but print the page. But still you can select the text with mouse which makes it visible :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top