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

> Convert a PBM image to an Epson printer graphic.
> See also: `pbmtoescp2`.
> More information: <https://netpbm.sourceforge.net/doc/pbmtoepson.html>.

- Convert a PBM image to an Epson printer graphic:

`pbmtoepson {{path/to/image.pbm}} > {{path/to/output.epson}}`

- Specify the printer protocol of the output:

`pbmtoepson {{[-pr|-protocol]}} {{escp9|escp}} {{path/to/image.pbm}} > {{path/to/output.epson}}`

- Specify the horizontal DPI of the output:

`pbmtoepson {{[-d|-dpi]}} {{60|72|80|90|120|144|240}} {{path/to/image.pbm}} > {{path/to/output.epson}}`
