title: Generate a report for screen view and for print view using css
body: <p>I have a webpage with a report that is paginated while displaying on the screen. This is done using displaytag. Only the number of records to be displayed on screen are queried. While printing, however, it should print the complete report.</p>
  
  <p>I wrote a javascript that is called on click of the print button. My idea was to regenerate the report without pagination parameters and then print it. Can this be done without displaying the complete content on the screen?</p>
  
  <p>Are there any other ways to do this?</p>
  
  <p>Thank you for your help.</p>