aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes how to print specific report section Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to print specific report section" Watch "how to print specific report section" New topic
Author

how to print specific report section

Thanikachalam Jayaprakash
Greenhorn

Joined: Mar 22, 2006
Posts: 6
Hi All,
I need to print a particular section of my jsp report. If I use
window.print(), the entire webpage is getting printed which I dont want. Please give your kind suggestions

Thanks,
Prakash
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Search google for CSS print media.

Eric
Thanikachalam Jayaprakash
Greenhorn

Joined: Mar 22, 2006
Posts: 6
Hi Eric,
Thanks for your suggestion. I just got a doubt with it. I want to hide the images and menu only during printing. How to achieve that? Pls give me your suggestion.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
CSS Print Media allows you to do that.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to print specific report section