Sunday, May 11, 2008

Print current Page Sharepoint



You problably ask your self "where i can print the current page?", well arent direct button, so we have to create one simple button.
To create the button, add a Content Editor Web part, select the source editor and put the follow code:

<script>
function printWindow(){
bV = parseInt(navigator.appVersion)
if (bV >= 4) window.print()
}
</script>
<img src="/imagens/print_ico.jpg" alt="Print This Page">
<a href="javascript:printWindow()">Print This Page</a>
Post a Comment