The .test page command tests the number of lines left on the current page and determines whether 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 following text 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. |