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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing from an ASP.

Status
Not open for further replies.

tbrick18

Technical User
Jul 25, 2000
7
0
0
US
Hello All!<br><br>I am writing a banking type application where the user is given the option of viewing/printing a statement. The trouble is....how do I print from an ASP. The information will be displayed on the screen firstly and then the user will be given an option to print. I have no idea as to how to implement this so any suggestions would be greatly appreciated.<br><br>Thanks in advance,<br>tbrick18
 
You can use window.print() statement in your script.<br>I use this in my scripts in onLoad handler. You might want to call this function from onClick handler like this:<br>onClick = &quot;javascript:window.print();&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top