john wrote:
> I will try that out -but will I not loose the HTML formatting on the
printed page?

Instead of this:

> >write %form.html reduce [
> >     <html><HEAD><STYLE>H1= {page-break-before:always}</STYLE></HEAD>
> >     <body><CENTER><H1>"K.B.I. Application"</H1></CENTER><H5>
> >SNIP!
> >     </body></html>
> >]

Do this:

Formatted_HTML_Block: rejoin [ ""
    <html> <HEAD> <STYLE> H1= {page-break-before:always} </STYLE> </HEAD>
    <body> <CENTER> <H1> "K.B.I. Application" </H1> </CENTER>
    ; SNIP!
    </body> </html>
    ]

write %form.html Formatted_HTML_Block
Printer/page Formatted_HTML_Block
print Formatted_HTML_Block    ; return CGI stuff.

Andrew Martin
ICQ: 26227169
http://members.xoom.com/AndrewMartin/
-><-

Reply via email to