I use this function if I want to hide the print link:
function hide_lnk(){
var ref = document.getElementById('lnk1');
ref.style.visibility = "hidden";
window.print();
ref.style.visibility = "visible";
}
and thin call it the same way:
<a id="lnk1" href="javascript:hide_lnk();">print</a>