I have a .r program sending an E-Mail with a HTML form (in responce to a HTML page) filled in by people on the net -and the message prints out on the my printer in the office.

The problem is that the header includes the E-Mail header which is quite anoying on the From.

I am trying to get the printer to make a page break, to print a fresh page without all the email garbage.

I am using this code: It ain't working yet.  I get

** Script Error: H1= has no value. ** Where: H1= "page-break-before:always"

This is the particular section, complete below:
<html><HEAD><STYLE>H1 {page-break-before:always}</STYLE></HEAD>
<body><CENTER><H1 STYLE="page-break-before:always">

example:

write %form.html reduce [
    <html><HEAD><STYLE>H1= {page-break-before:always}</STYLE></HEAD>
    <body><CENTER><H1>"K.B.I. Application"</H1></CENTER><H5>
    "Name:"   cgi/name
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SSN:"    cgi/ssn <P>
    "Address: "  cgi/address <BR>
    "City:    "    cgi/city
    "&nbsp;&nbsp;&nbsp;"    cgi/st
    "&nbsp;&nbsp;&nbsp;"    cgi/zip <BR>
    ""  cgi/phone    
    "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"  cgi/email <P><BR>
    "Salvation: "  cgi/sal <p>
    "Education: "  cgi/edu <BR><BR>
    "Ministry: "  cgi/min <P>
    "Goals: "  cgi/gol <P>
    "Other Remarks : "  cgi/rem <br>
    </H5>
    </body></html>
]

web-page: read %form.html




Reply via email to