You want to print only Gridview not entire page.
Solution is, put Gridview inside a Panel as below:
<asp: Panel runat="server" id="pnlToPrint" >
<asp:GridView ID="gvReport" runat="server"........>
............
..............
............
</asp:GridView>
</asp: Panel>
<input type="button" value="Print" onclick="CallPrint();" />
Now create a function as below:
function CallPrint()
{
var printContent = document.getElementById('<%= pnlToPrint.ClientID %>');
var printWindow = window.open("", "Print Panel", 'left=50000,top=50000,width=0,height=0');
printWindow.document.write(prtContent.innerHTML);
printWindow.document.close();
printWindow.focus();
printWindow.print();
printWindow.close();
}