Monday, October 25, 2010

Print current Page Sharepoint



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>

No comments:

Post a Comment