Since printing would be platform depending there seems to be no universal answer.
If you are programming for IE clients I would suggest use window.print or window.document.execCommand('Print', , ); Encapsule it in an own Javascript function (for how just google "javascrpt print" or refer to a JS board) perhaps with an id as param (so you can print just specific named parts of your page) And call your function in the onclick of a nice button... --- Kavita Mehta <[EMAIL PROTECTED]> schrieb: > how do u implement using js ..can u send me any link > having more info .. > > > > > "bhaarat Sharma" <[EMAIL PROTECTED]> > 02/05/2008 11:02 AM > Please respond to > "Struts Users Mailing List" <user@struts.apache.org> > > > To > "Struts Users Mailing List" <user@struts.apache.org> > cc > > Subject > Re: How to add prinr option ? > > > > > > > CSS and JS are best for this > > On Feb 5, 2008 12:21 AM, Kavita Mehta > <[EMAIL PROTECTED]> wrote: > > Hi , > > I have a web page implemented using Struts and I > want to add a Printer > > button to it so that user can take print out of > the same. Is there any > > option supported by struts to do this ? > > > > > > Thanks in advance , > > Kavita > > > > > > > > > > > *****************************************************DISCLAIMER***************************************************** > > > > This message and/or attachment(s) contained here > are confidential, > proprietary to HUGHES SYSTIQUE and its customers. > > Contents may be privileged or otherwise protected > by law. The > information is solely intended for the entity it is > > addressed to. If you are not the intended > recipient of this message, it > is strictly prohibited to read, forward, > > print, retain, copy or disseminate this message or > any part of it. If > you have received this e-mail in error, > > please notify the sender immediately and delete > the message. > > > > > ******************************************************************************************************************** > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > *****************************************************DISCLAIMER***************************************************** > > This message and/or attachment(s) contained here are > confidential, proprietary to HUGHES SYSTIQUE and its > customers. > Contents may be privileged or otherwise protected by > law. The information is solely intended for the > entity it is > addressed to. If you are not the intended recipient > of this message, it is strictly prohibited to read, > forward, > print, retain, copy or disseminate this message or > any part of it. If you have received this e-mail in > error, > please notify the sender immediately and delete the > message. > > ******************************************************************************************************************** > > Machen Sie Yahoo! zu Ihrer Startseite. Los geht's: http://de.yahoo.com/set --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]