This is how to include page brakes into HTML documents. Here is a function where u can pass all the text or html you want to show. The main bit to include the page break is : "<h3 style='page-break-before:always'>" & "</h3>" that will make the printer jump to the next page.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
FullBody = FullBody & "<h3 style='page-break-before:always'>"
& "</h3>"+ plainText Call msgScreen (FullBody) Sub msgScreen(msg$, NP) Print "Content-Type:text/plain" Print "Content-Type:text/html" Print |<HTML><HEAD>| Print |</HEAD>| Print |<STYLE TYPE="text/css"> MEDIA ="Screen" </STYLE>| Print |<BODY>| Print |<DIV ID=Message>| Print |<FONT SIZE=1><RIGHT><TT><NOBR>| & msg$ & |</NOBR></TT><RIGHT></FONT>| Print |</DIV>| Print |<INPUT TYPE="Hidden" NAME="NPages" VALUE="| & NP & |">| Print |</BODY></HTML>| End Sub