how to send table value to printer?
<p>I want to send table values to printer.That table contails more than 50 records.so there is scrollbar or pagination on that table.Below the printer there print button, if click the button those all values should go to printer.</p>

<pre><code>function print(){

window.print();
window.opener.document.location = window.opener.document.location.href;
window.close();

  }
</code></pre>

<p>I used to code for print value.but it shows only the page, not in all table values .I ma using jsp,javascript.</p>

<p>I am looking for directdownload without css and open popup window, i need to do this work.</p>

<p>Any idea????</p>
