I have tried javascript window.print()
It prints the full page content including the print button on the page.
thanks in advance for any solution and help
I have tried javascript window.print()
It prints the full page content including the print button on the page.
thanks in advance for any solution and help
You require to create new style sheet print.css and set CSS media=print
for example :
<style media="screen">
.noPrint{ display: block; }
.yesPrint{ display: block !important; }
</style>
<style media="print">
.noPrint{ display: none; }
.yesPrint{ display: block !important; }
</style>
for more detatil : http://www.codeproject.com/KB/HTML/Printing_with_CSS.aspx
Create an iframe and copy your text into it. then you can call the print-function of this, in the iframe embedded window