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

use html for headers and footers

P: n/a
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 Company A Graphic A Variable The DATE

I figured one way to do this would be to use a com object using the
following functions
RegOpenKeyEx Lib "advapi32.dll"
RegQueryValueEx Lib "advapi32.dll"
RegSetValueEx Lib "advapi32.dll".

Then I could pass html to the registry via
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup].
This works!! However, it passes a string and not html.

The next thing I am going to try is simply printing via a com object
and the printdlg api. However, isn't there a simpler way to use html
as headers for printing purposes with javascript? Any help would be
greatly appreciated.
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On 14 Jul 2003 15:47:52 -0700, jf******@yahoo.com (Jason) wrote:
Then I could pass html to the registry via
[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup].
This works!! However, it passes a string and not html.

The next thing I am going to try is simply printing via a com object
and the printdlg api. However, isn't there a simpler way to use html
as headers for printing purposes with javascript? Any help would be
greatly appreciated.


http://www.meadroid.com/scriptx/

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.