You can open the JSP file through a normal window open method. Set the height and widhth of the window according to your convenient size. On load of the JSP file you can call window.print() method.
If you want to open it through a modal window use showModalDialog method in Javascript and open the JSP file. TPS -----Original Message----- From: Vijayanand [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:24 AM To: [EMAIL PROTECTED] Subject: Reg Print in JSP. hi all, i have an urgent requirement.. Can any one suggest some idea on this. I have to popup an window, which has a JSP file. I need to print it, when it is opened. And also i need to minimize the popup window.. thanks, vijay ==========================================================================To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
