File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
I agree. Here's the link:
subject: printing of html link
It's not a secret anymore!