How to implement print in Struts and servlet Application
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Abhishek_Singh
Posted On:   Thursday, October 20, 2005 03:19 AM

How to implement print command in the given page in struts1.1 and in servlets application with pixel and page type (landscape,A4)settings.

Re: How to implement print in Struts and servlet Application

Posted By:   alan_do  
Posted On:   Saturday, October 22, 2005 11:55 PM

not sure why make it so difficult, why not just use CSS? there may be some compatibility issues, but you should be covered for the most part, see http://www.westciv.com/style_master/academy/css_tutorial/advanced/printing.html.

Re: How to implement print in Struts and servlet Application

Posted By:   WarnerJan_Veldhuis  
Posted On:   Thursday, October 20, 2005 07:29 AM

You don't. window.print() in javascript is all you can do for your web-browser. That pops up the print-dialog. The user has to select the proper settings.
About | Sitemap | Contact