How do I send a form feed from my perl script
Can anyone help?
My script prints a html table containing various bits of information - substitutes new values for the variable and prints out a further table - this loops several times.
What I want to do is send a form feed between each table so that when the print function on the browser is used the tables will each print out on a separate sheet of paper.
I have thought of counting lines on the page and then looping a print "<br />" to the total number of lines for a page but I'm sure there is a far more simple solution.
Any help would be greatly appreciated.
Insert this after each table:
<br style="page-break-after: always;">
Thank you Jofa - that does the job nicely.