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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15357
    
    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: 15357
    
    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
 
Similar Threads
passed SCBCD with 96%
Regarding the percentage
JasperReport print upside-down
What is the best way for reporting in JavaSwing Application?
JasperReport print upside-down