---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pbmpage

> Generate a test pattern for printing.
> More information: <https://netpbm.sourceforge.net/doc/pbmpage.html>.

- Generate a test pattern for printing onto US standard paper:

`pbmpage > {{path/to/file.pbm}}`

- Generate a test pattern for printing onto A4 paper:

`pbmpage -a4 > {{path/to/file.pbm}}`

- Specify the pattern to use:

`pbmpage {{1|2|3}} > {{path/to/file.pbm}}`
