Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing Header and footer contents of Browser.

Status
Not open for further replies.

ashpassword

Programmer
Jun 19, 2002
19
IN
Hi,
I want to clear browser's pagesetup(header and footer) through javascript.
Actually I am generating report and giving user a click button to print it but by default it prints the document with header and footer along with Current date and Page Number which all I want to remove it.

And will it be possible to set standard page margin of the document which the printer is going to print and select paper size A4 automatically.

If any one got some idea please let me know.
 
not through scripting on the client, you would have to manually adjust the settings from the page setup dialog, why not give on page instructions on how to do it, may not be ideal but not sure there is another solution
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top