This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSP and the fly likes printing of html link Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » JSP
Bookmark "printing of html link" Watch "printing of html link" New topic

printing of html link

mohana konakanchi
Ranch Hand

Joined: May 16, 2001
Posts: 67

I need to implement printing of a document( WORD or EXCEL document) on click of an html link.
Each html link will be related to one document.
Type of the document is not same for all the links.
If anybody have solution or implemented already.
Please let me know
Thanks in advance
George Pavamani
Ranch Hand

Joined: Jan 31, 2002
Posts: 31
I am sure how to print Word documents and excel files on the click of the html links. But you can print the html pages by using the java-script function windows.print(). Hope this helps
George Pavamani
Ranch Hand

Joined: Jan 31, 2002
Posts: 31
Sorry, I meant i am not sure about printing documents using html links
Don't get me started about those stupid light bulbs.
subject: printing of html link