title: How to remove url text from page printed using javascript's window.print() function
body: <p>Here is my code where I am opening a new window by clicking on a anchor tag.
  It navigates to try1.php and once clicking on it, it will go to try1.php. (The code is given in the second code.</p>
  
  <p>try.php</p>
  
  <pre><code>     &lt;script type="text/javascript"&gt;
       function newwin() 
       {
         myWindow=window.open('try1.php','myWin','width=400,height=650')
        }
     &lt;/script&gt;
     &lt;/head&gt;
     &lt;body&gt;
     &lt;a onclick="newwin()"&gt;click &lt;/a&gt;
     &lt;/body&gt;
  </code></pre>
  
  <p>The code for try1.php is given below</p>
  
  <pre><code>   &lt;body&gt;
     &lt;input type="submit" value="print Data"  onClick="window.print()"/&gt;
     &lt;/body&gt;
  </code></pre>
  
  <p>in try1.php, I am having a button on which I have apllied onclcck event.
  When I click on the button it prints the data but also prints the url text which I don't want.</p>
  
  <p>May I know the way to remove the url text from the printed page?</p>