views:

4027

answers:

2

I got an HTML with the <body onload="window.print()">.

The question I'm trying to ask is:

  • Is there any way to remove the strings that the web browsers add to the printed page?
  • Such as:
    • Web site from where the page was printed
    • Page count
    • Title of the web page
    • Date of printing
+5  A: 

These a usually browser specific print settings.

In IE & FireFox for example you can go into page setup and change the header and footer details for printing.

I don't think this can be controlled by the web page itself.

Jarod Elliott
+2  A: 

You can employ an activeX-plugin if your users uses IE, an example is scriptX from Meadroid: http://www.meadroid.com/sx_intro.asp

roenving