The .test page command tests the number of lines left on the current page and determines whether the text is output on the current or next page.
.test page {number.lines}
.tp
number.lines | If the number of lines specified is less than the count returned, the text following is output on the current page. Otherwise, a page is ejected and the text is output on the new page. This prevents blocks of text from being split across a page boundary. |
Tests to determine if there are at least 10 print lines remaining on the current output page. If there are, the text following is printed on the same page, otherwise, a form feed is issued and the text prints on the next page.
.test page 10