if(window.print)

document.write('<a href="javascript:window.print();">Print in print-layout</a>&nbsp;|');