Author: rsunilsurender | Posted on: 3/2/2010 8:33:17 AM | Views : 451

Hello Friends,
I have a result webpage it should be taken printout.
I used below html code for test purpose,Its working fine but its print with the url of the page.
I dont want to show url of the page in the printing...

<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<style type="text/css" media="screen">
.PrintButton{
display:block;
}
</style>
<style type="text/css" media="print">
.PrintButton{
display:none;
}
</style>
</head>
<body>
<form id="PrintForm" action="Print.htm">
<h1>
Test printing with hiden button</h1>
This is just a test text for printing.<br />
<br />
<input id="btnPrint" type="button" value="Print page" onclick="window.print();" />
</fo ...

Go to the complete details ...