473,395 Members | 1,730 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,395 software developers and data experts.

How to change header/footer programmatically 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 2692
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**************@TK2MSFTNGP10.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
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...
0
by: ad | last post by:
How can I set the page's header, footer of IE when IE in preview or print mode?
2
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...
7
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
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...
5
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...
4
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...
4
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...
3
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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
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...
0
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...

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.