473,569 Members | 2,705 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accessing Browser's Print Header/Footer

Hi All,

Is it possible to access the browser's print header/footer. I want to
create a printable version of a page and alter the printout's header
and footer. Is this possible?

Thanks!

May 14 '07 #1
3 5903
HugeBob said the following on 5/14/2007 10:30 AM:
Hi All,

Is it possible to access the browser's print header/footer.
No.
I want to create a printable version of a page and alter the printout's header
and footer. Is this possible?
Are you referring to what the browser automatically adds to printouts?
If so, then no you can't change it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 14 '07 #2
On May 14, 12:47 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
HugeBob said the following on 5/14/2007 10:30 AM:
Are you referring to what the browser automatically adds to printouts?
If so, then no you can't change it.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptT oolbox.com/bestpractices/
Randy,

Yes. I wanted to add a bit more information to the header and footer
in the printout. Is there a way of getting this extra info closer to
the browser's automatic headers/footers?
May 15 '07 #3
HugeBob said the following on 5/15/2007 7:44 AM:
On May 14, 12:47 pm, Randy Webb <HikksNotAtH... @aol.comwrote:
>HugeBob said the following on 5/14/2007 10:30 AM:
Are you referring to what the browser automatically adds to printouts?
If so, then no you can't change it.

Randy,

Yes. I wanted to add a bit more information to the header and footer
in the printout. Is there a way of getting this extra info closer to
the browser's automatic headers/footers?
Use a media stylesheet to add them.
comp.infosystem s.www.authoring.stylesheets

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
May 15 '07 #4

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

Similar topics

2
15989
by: dan | last post by:
This works in mozilla but I can't figure out why this won't work in IE. Say I have this html <html> header goes here header goes here
1
7485
by: anonieko | last post by:
> Use x = window.Open(...) x.document.write( yourhtml) > How to print from javascript using .print > How to use ContentWindow > > How t use getElementById > How to get HTML of document using document.body.innerHTML // mail.js var viewMode = 1; // WYSIWYG
2
1345
by: Fred Nelson | last post by:
Hi: I have a VB.NET web application that generates several reports into the browser which the user can print on their local printer if they want to. By default the browser has a header and footer with the page name. Does anyone know if there is a way to turn this off - whether in my program or a setting in IE.
7
6862
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 only problem with doing this is that a header (name of the page and Page x of x) and footer (actual page filename the date) are included. I am...
2
1038
by: Mo | last post by:
Hi, I like to print a barcode gif image (no header, footer, etc) when the user click on a button. any ideas on how this can be done? Thanks, Mo
2
1923
by: William van Zwanenberg | last post by:
Hi there, I wonder if you guys can help. I'm currently experiencing some coding problems what with trying to use PHP and javascript in tandem. What I'm ultimately trying to achieve is use Javascript to access the DOM objects of any given page within the web site I'm building to dyanamically resize any and all text elements. I have...
1
1654
by: nrajeshatwork | last post by:
Hi I need to print a page without header and footer. Can it be done without changing the page settings in the browser. If so plz mail me. Regards,
12
3518
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to print the report three times, but do not know how
1
1548
by: runway27 | last post by:
i need help with accessing the value of a variable from a different page. i have an index.php file which has 2 files included to display header and footer and the center portion changes based on the link clicked on the footer. header.php <?php echo "<h2> Text from header.php file </h2>"; ?>
0
7698
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5513
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
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 we have to send another system

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.