On Fri, 26 Apr 2002 02:28:02 -0700, Ernesto Revilla <aerd@...> wrote:
>I'm thinking of using ReportLab PDF files, because I couldn't find how to
>print Header and Footers in HTML for a multi-page report.
If you are willing to flirt with the dark side and assume Internet Explorer,
you can get a large amount of print-only control using Microsoft stylesheet
extensions. The mso-header and mso-footer styles will give you headers and
footers, for example.
If you have Microsoft Word hanging around, open or create a document with
headers and footers, and save it as HTML. The HTML that Word generates will
print from Internet Explorer virtually identically to the way it prints from
inside Word. The HTML and CSS code is silly and complicated, but it does
provide an example.
On the other hand, the ReportLab PDF option is more flexible, more cross-
platform, and probably more useful in the long term.
- Tim Roberts, timr@...
Providenza & Boekelheide, Inc.