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!

direct printing of document?

Status
Not open for further replies.

Rob7412

Technical User
Jan 26, 2006
31
US
I currently have links to documents on a asp page. I would like to give the user a print button so they can just press the button and print the document instead of having to download then print. Is there any way of doing this. All documents are microsoft word documents and they get links now that allow them to view it as html or download the document It would be nice to be able to give them a direct print button.

If Knowledge were power I would be a AAA Battery!
 
I think it's:

<input type="button" OnClick="document.print;">



Just my 2¢

"What the captain doesn't realize is that we've secretly exchanged his dilithium crystals for new Folger's Crystals." -- My Sister
--Greg
 
The document will still have to be downloaded to the client computer and be handled by the appropriate viewer/program to be able to print to the client printer.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top