473,395 Members | 1,720 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.

HTML Reports, want to print the report heading on each page...

Hello,

I have generated an HTML version of a previously text report in our
application. Looks great everything fine for viewing.

Currently the heading of the report is at the top of the HTML report. Would
like for the contents of this header to automatically print at the top of
each page if the user prints it. Is there anyway to do this within HTML?

I know this is a simple request but did not se it in the FAQ.
Thanks in advance,

James
Jul 23 '05 #1
2 4977
On Sun, 14 Nov 2004 23:01:18 GMT, <JF********@houston.rr.com> wrote:
I have generated an HTML version of a previously text report in our
application. Looks great everything fine for viewing.

Currently the heading of the report is at the top of the HTML report. Would
like for the contents of this header to automatically print at the top of
each page if the user prints it. Is there anyway to do this within HTML?


Not directly, no. But if you place it in the Title element, I think
you'll find many/most browsers will put it at the top of the page.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 23 '05 #2
In article <2t*******************@fe2.texas.rr.com>,
<JF********@houston.rr.com> wrote:
Hello,

I have generated an HTML version of a previously text report in our
application. Looks great everything fine for viewing.

Currently the heading of the report is at the top of the HTML report. Would
like for the contents of this header to automatically print at the top of
each page if the user prints it. Is there anyway to do this within HTML?

I know this is a simple request but did not se it in the FAQ.


If your report is a <table>, you can enclose the header portion in
<thead></thead> tags, the rest in <tbody></tbody> tags. Then *some*
browsers will print the header at the top of each page.

--
= Eric Bustad, Norwegian bachelor programmer
Jul 23 '05 #3

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

Similar topics

14
by: Philippe C. Martin | last post by:
Hi, I wish to use an easy way to generate reports from wxPython and feel wxHtmlEasyPrinting could be a good solution. I now need to generate the HTML wxHtmlEasyPrinting can print: I need to...
2
by: Luis Serrano | last post by:
Hi all, I'm trying to generate labels to print in several different formats, all of them with their own height,width and page margins. We've got this done in MS Access 2000, using a designed...
1
by: James Fortune | last post by:
Flexible Reports I only did this because a client required this functionality. No guarantees or rights are implied by the code shown here. It is provided mostly for those with extra time on...
6
by: Melissa | last post by:
Does anyone have a generic procedure for adding blank lines to reports like Sales details, PO details and/or Orders details. The procedure would need to count the number of line items, determine...
8
by: RC | last post by:
The following code works well to create an html file that has a row for each row in my table. My Access 2002 database has a tabel with 3 columns labeled, Model, CD and Hard Drive (HD). Any...
1
by: ChadDiesel | last post by:
Hello, I have 2 reports that I want to collate (Report 1-Page 1, Report 2-Page 1, Report 1-Page 2, Report 2-Page 2). I used the following code in a module I found in Microsoft support article...
3
by: bob | last post by:
Hello, I'm trying to create reports in my application using HTML. I don't want to mess around typing in stuff like html = "<Table>blah</Table>" I want something like row = new HTMLRow("Some...
3
by: joelpollock | last post by:
I'm having trouble continuously page numbering a large report in MS Access. The report is made up of three separate Access reports which I join together at the end. In the past I have opened the...
2
by: kabradley | last post by:
Hello everyone. I have three reports that I would like to put into one main report. I tried creating the main report and then putting three seperate subreports in the detail section of the parent...
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: 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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
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.