473,657 Members | 2,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to change header/footer programmaticall y for page print in IE

I was wondering if it is possible to change the header/footer (See menu
file -> Page setup in IE) by using meta tags. We have a module that uses the
ActivePDF Webgrabber component to generate PDF documents from ASP.NET
documents and we now need to add text to the header and footer for reach
report.

I was hoping for a quick solution using meta-tags or dhtml or whatever
instead of having to look for another PDF generator.

A search on google gave me no answer :s or maybe I am searching entering
wrong keywords (?)

Many thanks

Gabriel Lozano-Morán
MCAD .NET
Nov 19 '05 #1
1 2702
By the way I forgot to mention that I know about the registry hacks found at
http://support.microsoft.com/kb/q236777/ but this is no solution if you are
printing several documents simultaneously.

Gabriel
"Gabriel Lozano-Morán" <po******@gmail .com> wrote in message
news:uy******** ******@TK2MSFTN GP10.phx.gbl...
I was wondering if it is possible to change the header/footer (See menu
file -> Page setup in IE) by using meta tags. We have a module that uses
the ActivePDF Webgrabber component to generate PDF documents from ASP.NET
documents and we now need to add text to the header and footer for reach
report.

I was hoping for a quick solution using meta-tags or dhtml or whatever
instead of having to look for another PDF generator.

A search on google gave me no answer :s or maybe I am searching entering
wrong keywords (?)

Many thanks

Gabriel Lozano-Morán
MCAD .NET

Nov 19 '05 #2

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

Similar topics

1
2460
by: Greg | last post by:
I am only printing a page footer on page 1 and a page header after page 1. I have experimented heavily w/ placing a .Visible command in different locations and the best results have come with the code below. But while it looks perfect on the screen, The footer doesn't print at all. How can this be??? Private Sub PageHeaderSection_Format(Cancel As Integer... PageFooterSection.Visible = False PageFooterSection.Height = 0 End Sub
0
1245
by: ad | last post by:
How can I set the page's header, footer of IE when IE in preview or print mode?
2
2938
by: Jurjen de Groot | last post by:
When printing my webpage, IE inserts a header (name of the webform + pageNr ) and a footer (URL + date) Does anyone know of a way to supress this behaviour, I'd like to print a letter / invoice from IE but without this header/footer. TIA Jurjen de Groot
7
3287
by: JIM.H. | last post by:
Hello, Is it possible to change a datagrid Header and Footer text in code behind dynamically? Thanks, Jim.
4
1450
by: ruca | last post by:
Can I add dinamicaly (in my code) a header and a footer for each time I want to print a web page from my web application? NOTE: The print command made for my is a click in a button that I have in my web page, and not in browser menu File->Print -- Programming ASP.NET with VB.NET Thank's (if you try to help me)
5
7868
by: Elena | last post by:
I need the VB.NET code to change the header/footer of an Excel spread sheet, ASAP. I am doing it through a VB application. I can change the ranges/cell values using code, but I do not know how to change things outside of the cell ranges. I will try and post in an Excel group, but i do not need to change it in a worksheet, I need to change it through a VB application. For example, I am using this code to change values in certain cells: ...
4
4547
by: jmalvika | last post by:
Hi all, I'm trying to generate an excel report from an ASP web page using .. "response.ContentType = "application/vnd.ms-excel" .... I need to add a custom header & footer to the excel report on generation. Is there a way to do this from the web without installing Excel on the webserver? ..
4
2687
by: stevesj | last post by:
I have a web form that generates 4 or 5 printed pages of html and a few images. I know how to insert CSS page breaks. Is there a way to calculate on the server where the page will break - like an IE print preview on the server ? or Is there a way on the server to include a header/footer such that when the web form is printed from Internet Explorer, each printed page has a header
3
5905
by: HugeBob | last post by:
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!
0
8395
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6166
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4155
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4306
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.