How do I print the contents of a Window without the URL and Page number?

  • Thread starter Thread starter John Kotuby
  • Start date Start date
J

John Kotuby

Hi all,
I hope there is a simple way to do this, but I haven't come across it yet. I
have a page that loads and then uses JavaScript:
<body onload="setMyContent('<%=param %>'); window.print();">

This just formats the HTML according to user input on the calling page and
then prints the window.
However, the printed page always comes out with a page number at the top and
the URL at the bottom.
Is there any way to get just the HTML in the window to print?

Thanks for any answers...
 
Back
Top