By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,107 Members | 1,617 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,107 IT Pros & Developers. It's quick & easy.

adding my own header and footer when printing HTML file

P: n/a
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 and footers on every printed page.
How can I do it?
Some nice example would be reeeeally great!
In header I want to put a picture, some text, and in footer I would like
to have page counter and some small text displayed...

I've heard something about printing templates introduced in IE 5.5, but
I'm not sure how can I use it in my situation? How complicated it is?

Why there is no control which will take little HTML for header, little
HTML for footer, and HTML for main page? :(

Thanks in advance,

Dragan

P.S. I'm using C# and Visual Studio .NET 2003.

--
Some mistakes are too much fun to make them only once.
Jul 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hello Dragan,

Not sure what you specifically want. Are you using any specific controls. It
would probrbaly be easier to use a third party web reporting tool. Microsoft
provides a really neat resource kit called the VB.Net Resource Kit. In this
ComponentOne provide completely free the suite of controls they produce. In
this suite is a web reporting control which you can also use in C#. I feel
this will be able to prvide you with the greater amount of control you want.
Well worth investigating if you haven't already done so.

Je ste vi u Zagrebu? Ja sam u Perth Zapnoj Australiji.

Nick

"Dragan Kovac" <dr**********************@sportnet.hr> wrote in message
news:mm********************************@4ax.com...
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 and footers on every printed page.
How can I do it?
Some nice example would be reeeeally great!
In header I want to put a picture, some text, and in footer I would like
to have page counter and some small text displayed...

I've heard something about printing templates introduced in IE 5.5, but
I'm not sure how can I use it in my situation? How complicated it is?

Why there is no control which will take little HTML for header, little
HTML for footer, and HTML for main page? :(

Thanks in advance,

Dragan

P.S. I'm using C# and Visual Studio .NET 2003.

--
Some mistakes are too much fun to make them only once.

Jul 21 '05 #2

P: n/a
On Wed, 5 Nov 2003 18:56:49 +0800, "Nick Zdunic" <ni**@ss.com.au> wrote:
Not sure what you specifically want. Are you using any specific controls. It
would probrbaly be easier to use a third party web reporting tool. Microsoft
provides a really neat resource kit called the VB.Net Resource Kit. In this
ComponentOne provide completely free the suite of controls they produce. In
this suite is a web reporting control which you can also use in C#. I feel
this will be able to prvide you with the greater amount of control you want.
Well worth investigating if you haven't already done so.
I'll try ComponentOne, thanks for the advice. :)
Je ste vi u Zagrebu? Ja sam u Perth Zapnoj Australiji.


Yep, Zagreb... :)

--
Pif stiki, fif stiki.
Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.