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

> Convert a PBM image to a ESC/P2 printer file.
> See also: `pbmtoescp2`.
> More information: <https://netpbm.sourceforge.net/doc/escp2topbm.html>.

- Convert a ESC/P2 printer file to a PBM image:

`escp2topbm {{path/to/image.escp2}} > {{path/to/output.pbm}}`
