# .test page command (Runoff)

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.

**Synonyms:** .tp

## Syntax

```
.test page number.lines
```

## Parameter(s)

| 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. |
| --- | --- |

## See also

- [Runoff commands](https://d3codex.com/runoff/runoff-commands/)

---
Source: https://d3codex.com/runoff/dot-test-page-command-runoff/ - part of the D3Codex reference.
