# .print index command (Output processor)

The .print index command prints the
index, changes the tab settings, and begins a new page. The index
is sorted in alphabetical order and printed in two columns per page.
After the index is printed, it is cleared. To save the index in an
item for editing, use the .save index command.

**Synonyms:** pi

## Syntax

```
.print index
```

## See also

- [.index command (Output processor)](https://d3codex.com/output-processor/dot-index-command-output-processor/)
- [.save index command (Output processor)](https://d3codex.com/output-processor/dot-save-index-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-print-index-command-output-processor/ - part of the D3Codex reference.
