# .page number command (Output processor)

The .page number command sets the default
page number to a specified integer number.

**Synonyms:** .pn

## Syntax

```
.page number page.number
```

## Parameter(s)

| page.number | Specifies the page number. |
| --- | --- |

## Example(s)

After printing text on page 5,
the page number changes to 10, and then prints more text.

```
.ft "Page ’p5’"
{text...
.page number 10
{more text...
```

## See also

- [.footing command (Output processor)](https://d3codex.com/output-processor/dot-footing-command-output-processor/)
- [.heading command (Output processor)](https://d3codex.com/output-processor/dot-heading-command-output-processor/)
- [Output processor commands](https://d3codex.com/output-processor/output-processor-commands/)
- [Output processor overview](https://d3codex.com/output-processor/output-processor-overview/)

---
Source: https://d3codex.com/output-processor/dot-page-number-command-output-processor/ - part of the D3Codex reference.
