prova così...
<input type="button" onclick="print();" value="stampa">