1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-29 02:35:27 +02:00
tldr/pages/common/pbmtoepson.md

17 lines
575 B
Markdown

# 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}}`