File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Portals and Portlets and the fly likes Capturing the current window's cotents?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Capturing the current window Watch "Capturing the current window New topic

Capturing the current window's cotents??

Maria James

Joined: Jun 20, 2005
Posts: 8
I have a dynamic portlet page which contains a lot of data plus one "Printer friendly" Button. When i click on this button one jsp pop-up window will come with the print data and a "Print" button. When i click on Print button it will open print dialog box and i can print the data.

The problem is i want to print the jsp pop-up windows's contents directly in LANDSCAPE mode without changing the printer options.I am using java.awt.print API for this.

For Api i want to capture the the jsp pop-up windows's contents.Is thr any way to get the current window's(here jsp pop-up window) contents???

It would be great if you provide some sample codes..

Thanks in advance
I agree. Here's the link:
subject: Capturing the current window's cotents??