just do a window.print() in the onclick event of the button if the document is already showing. if it is not then you might link to the VB libraries for Office.
-Tim -----Original Message----- From: Raghava Krishna (CTC) [mailto:[EMAIL PROTECTED]] Sent: Monday, June 10, 2002 5:35 AM To: [EMAIL PROTECTED] Subject: printing a document on click of button hi all i have a requirement: i want a document to be printed on click of a button in the web page.i.e.it should not open a word document.it should directly connect to printer and the document is to be printed. pls if anyone knows the logic or content present in any sites pls let me know thanks in advance raghava ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
