From code behind and in button click event place this code,-
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "ff", "window.print();", true);
Or in case of html place this,-
<input id="btnPrint" type="button" value="Print" class="PrintButton" onclick="window.print(); "/>