View Full Version : printing a page from a browser

06-08-2004, 12:10 PM
i there

i want to print a page from a browser with a function in javascript, but i don't want the header and the footer on the printed paper.

how can i make to desappear the header and the footer from the printed page?

to make disapper other items i put the visibility of them hidden with the following statment:


can i make the same to the header and footer? what is the property?


06-18-2004, 12:22 PM
What do you mean by "header" and "footer"?

06-21-2004, 06:50 AM
Use Print Templates (introduced in IE 5 onwards - lots of documentation on MSDN on how to use), or there are ActiveX objects available (scriptX by Mead).

If you are after a cross browser solution, and don't have access to the PCs (ie in an intranet environment), then I don't think there is a way.

06-21-2004, 10:58 AM
For cross-browser solution, just add an instruction in your page on how to remove the header and footer in the File -> Page Setup dialog box.