Filepro-list Digest, Vol 38, Issue 5

Tyler tyler.style at gmail.com
Fri Mar 2 09:25:39 PST 2007


You can keep a line count, and then insert a CSS page break command
that most modern browsers will respect.  So long as you explicitly set
the font and sizes in your HTML so that peoples' browsers will more or
less print the same, it should work OK.

Some sample HTML output:

My Header<br>
some junk<br>
buncha junk<br>
more junk<br>
<br style="page-break-before:always;">
My Header<br>
some other junk<br>
...

Bear in mind that printing reports consistently from HTML is the bane
of most web apps; the most common solution is usually to convert the
HTML into a PDF and then deliver that to the browser instead.  There's
lots of both free and commercial apps and plugins for doing that.

Tyler


From: Richard Hane <yoresoft at sbcglobal.net>
Subject: HTML output help

I have just started re-creating our company's outputs to be html (via
filepro).  Instead of designing a new report format for each output I
have created a general holding detail file that uses 80 character flds
which are uniquely filled by processing in the respective "feeder"
files. No problem with this.

 However an item that I need some help on is how to produce the web
output so pages come out correctly and have the header print properly.
My question is how are others determining end of page (ie. 60 lines)
for printing?  Are you using line count?  Does anyone have a sample
processing snipet they can post?

 Thank you in advance for any guidence,
 Rick Hane
 Controller, DeLuxe Stitcher Company


More information about the Filepro-list mailing list