473,324 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Remove HTML header when printing

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.
Jul 20 '05 #1
6 17384
> 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?


That is just a browser setup issue. On IE6 it is specified in
File|Page Setup so you can just delete it there.

Jul 20 '05 #2
> 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.


File > Page Setup > Header/Footers

--
David H
Jul 20 '05 #3
le*****@cs.utah.edu (Alec) wrote in message news:<57*************************@posting.google.c om>...
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?


Go into 'Page Setup...' ('File' menu) and delete the text '&w&bPage &p
of &P' in the 'Header' box. The help file lists the various
&somethings you can use.

--- Stephen Morley ---
http://www.safalra.com
Jul 20 '05 #4
Is it possible to disable printing HTML page title and page count
programmatically when printing an HTML page with the use of some
JavaScript or VB functions?
Thanks.

Alec
Jul 20 '05 #5
Alec wrote:
Is it possible to disable printing HTML page title and page count
programmatically when printing an HTML page with the use of some
JavaScript or VB functions?


Not really! There's some ActiveX components helping, but they also
cause trouble because the user might not allow them to change settings
(or never see them, depending on security options).

--
Google Blogoscoped
http://blog.outer-court.com
Jul 20 '05 #6
le*****@cs.utah.edu (Alec) wrote in message news:<57**************************@posting.google. com>...
Is it possible to disable printing HTML page title and page count
programmatically when printing an HTML page with the use of some
JavaScript or VB functions?


Others in this thread have given ways you can set the printing style
for *your* browser, but now it sounds like you're trying to get your
site to set the printing style for *others'* browsers, which is not
possible. You don't even know what browser or platform your users are
using; it may not even support VBScript, ActiveX, or whatever other
proprietary thing you're thinking of trying to use.

--
Dan
Jul 20 '05 #7

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

Similar topics

10
by: Andrew | last post by:
I am making a web site and I am using ASP because of its templating capabilities. My footer is an include file, for obvious reasons. I can't use an include file for the header, because, while the...
1
by: Jason | last post by:
I would like to include an html table as my header and footer. Does any one know how to use html as the header/footer? For example, every page would have the following header/footer: My...
2
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...
5
by: Niyazi | last post by:
Hi, I have an html page and I might be moving to asp.net page that contains a some kind of forum and string. It is kind of application form. User have to enter some (string) value into the...
7
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
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...
4
by: LuTHieR | last post by:
Hi, is there any way to write a header in each HTML page when printing them while leaving the header only on top of the file when viewing it? I mean, I have a file that looks like this: TITLE ...
5
by: fjanon | last post by:
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...
0
by: Andrew Meador | last post by:
I have implemented a printing scenario where an html file is printed using the the following code: public void PrintHtmlFile(string url) { RegistryKey IERegKey; string header = null; string...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.