473,503 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to remove the header and footer from HTML/Javascript when printing with IE?

Is there a way to remove the default footer/header from the printed
page when printing a page from HTML/Javascript in IE 6? I want to use
letterhead paper and I have to remove manually the header/footer from
the default printer setting. I know that IE has lots of
options/features, I spent a good time on MSDN but could not find
anything.

TIA

Fred

Nov 23 '06 #1
5 14167
fjanon said the following on 11/23/2006 3:44 AM:
Is there a way to remove the default footer/header from the printed
page when printing a page from HTML/Javascript in IE 6? I want to use
letterhead paper and I have to remove manually the header/footer from
the default printer setting. I know that IE has lots of
options/features, I spent a good time on MSDN but could not find
anything.
Use CSS to control it.
comp.infosystems.www.authoring.stylesheets
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 23 '06 #2
ASM
fjanon a écrit :
Is there a way to remove the default footer/header from the printed
page when printing a page from HTML/Javascript in IE 6? I want to use
letterhead paper and I have to remove manually the header/footer from
the default printer setting. I know that IE has lots of
options/features, I spent a good time on MSDN but could not find
anything.
This features aren't in your menu: File / Print / Setting ?
IE Win doesn't remember your preferences ?

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Nov 23 '06 #3
I have checked CSS and I didn't see anyhting besides the "media=print"
that allows to select another stylesheet. Could you tell me more about
how you would do that with CSS?

Thanks

Randy Webb wrote:
fjanon said the following on 11/23/2006 3:44 AM:
Is there a way to remove the default footer/header from the printed
page when printing a page from HTML/Javascript in IE 6? I want to use
letterhead paper and I have to remove manually the header/footer from
the default printer setting. I know that IE has lots of
options/features, I spent a good time on MSDN but could not find
anything.

Use CSS to control it.
comp.infosystems.www.authoring.stylesheets
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 23 '06 #4
ASM
Randy Webb a écrit :
fjanon said the following on 11/23/2006 3:44 AM:
>Is there a way to remove the default footer/header from the printed
page when printing a page from HTML/Javascript in IE 6? I want to use
letterhead paper and I have to remove manually the header/footer from
the default printer setting.

Use CSS to control it.
news:comp.infosystems.www.authoring.stylesheets

You really think it is possible to fix soft's printing features via CSS?

For content of the page, I agree, but about header and footer added by
the navigator when you print ... ?

--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
Stephane Moriaux and his (less) old Mac already out of date
Nov 23 '06 #5
VK

fjanon wrote:
Is there a way to remove the default footer/header from the printed
page when printing a page from HTML/Javascript in IE 6?
No (unless some 3rd party software with scriptable interface is
installed).

Nov 23 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6860
by: will | last post by:
Dear All, can anyone help here? I need to use XML/XSLT to print out some documents which must all have the same letterhead and footer section on all pages. The section in between is dynamic XML,...
6
17393
by: Alec | last post by:
Hi, I am trying to print an HTML page from Internet Explorer and it always put the page title and page count at the top of the page. How can I disable printing page title and page count? Thanks.
2
2455
by: Dragan Kovac | last post by:
Hello everyone, I have a problem. I generated some kind of my own report (by building HTML file) and now I want to print it. Printing itself is not a problem, problem is with adding custom headers...
2
4490
by: neill dumont | last post by:
I've tried to be clear, but this still seems overly complex to me, but here goes: I have a report in front of an aggregate query. I have a single subreport based on the same query for both a...
11
8304
by: Peter Wu | last post by:
Hello, I want to create a Header and Footer for every ASPX page I build. I created 2 Web user controls respectively and placed them in an ASPX page. The problem is that I cannot position the...
7
6856
by: Robert Adkison | last post by:
I need to print a web page. It is my preference that my users just do a File/Print from explorer. That way my users will get the print dialog that will allow them to select the fax printer. The...
0
1887
by: LilBuh | last post by:
Hello :) this is a repost... i ve been looking for a way since last week ... i have a template html file that i modify from my code... i need to print this file without IE's Header and Footer or...
3
2195
by: C#_learner | last post by:
Hi!!, I have a table which i wanna print. what i wanted to do is, print the header and footer in every new page i am printing. The table which i am getting data is a dynamic table and with...
0
5462
by: dolittle | last post by:
Hi, I'm embedding a last.fm flash widget. I want to be able to remove it from the page using javascript. I've tried to delete the html element that contains the code but it keeps playing in...
0
7287
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7348
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7467
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5592
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5021
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3166
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1519
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
397
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.