PHP-打印没有网址和日期的页面

When I Use print option . The Date has been displayed Top left corner Like this 4/7/2015. And the URL has been displayed in bottom left corner like this
http://localhost/sam/abn/add_new_rec.php?type=1 . I need only my receipt. But not this date and url. Friends plz help me to Hide this..

function go1()
{
var w = window.open('', '', 'width=800,height=600,resizeable,scrollbars');
 w.document.write($("#printthis").html());
 w.document.close(); // needed for chrome and safari
 javascript:w.print();
 w.close();
 return false;
}

Oh This problem can fix at browser in the option -> headers and footers !

enter image description here

is this issue same here ? Remove header and footer from window.print()

or you just didn't uncheck to not include header and footer on your browser ?