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

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top