Click to See Complete Forum and Search --> : clear print header


Finder
04-14-2003, 11:21 PM
Is it possible to clear the header and footer on a page that is printed when a user clicks the Print this Page button below??...


<FORM>
<input type=button name="cmdPrint" value="Print this Page" onClick="parent.print()">
</FORM>

Nevermore
04-15-2003, 03:06 AM
If you are using frames, you could put the header and footer in borderless, scrollbarless frames, and not print them.

Finder
04-15-2003, 03:28 AM
Sorry cijori... what I mean is is the header and footer you get at the top and bottom of the printed page when you print any web page, it contains URL, Page No. etc.

You can clear these headers and footers manually in the printers print setup. but what i wanted to know was If you could use Javascript to automatically clear them when the user clicks the print button on my web page, and this would print the page without the headers and footers.

Thanks

Nevermore
04-15-2003, 03:51 AM
I don't think you can.