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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing print headers and footers?

Status
Not open for further replies.

styleBunny

Technical User
Jun 20, 2002
133
AU
Hi yall,

I have a printer friendly page (a word document exported to html, e That a side, is there any kind of code i can put in the page that will over ride the users local print settings? The settings which print the title of the web page and the url at the top and bottom of the printed page. These headers and footers are throwing the flow of my pages content all outta wack when its printed.

You can remove the locally / manually by going file > Page Setup > headers and footers. I am interested to hear if anyone know how to block them using asp or even dhtml?

Cheers
SB
 
go to File->Page Setup-> under header and footer sections you will see something like this:

header:
&w&bPage &p of &P
footer:
&u&b&d

just delete these contents...

-L
 
go to File->Page Setup-> under header and footer sections you will see something like this:

header:
&w&bPage &p of &P
footer:
&u&b&d

just delete them...

-L


 
As far as I know, there is no way to remove these via ASP/DHTML/CSS/etc since these are an application setting. Since these aren't ven remotely part of a web standard (the settings in Firefox are drastically differant frmo IE are differant from Netscape, etc) then there is no standard way to set/remove/etc them. In fact I think that those settings may be outside the sandbox of the browser window, so that if theer were any way to modify them it would require an ActiveX object, and even then you probably couldn't get consistent results across all browsers.

-T

barcode_1.gif
 
rad thanks guys. Further reading has lead me to give up on this idea, i think a re-format of the printable page is in order.

sb.
 
Well ill be - ive been trying to get rid of them for bloomin ages - cheers all

;0)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top