mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 11:43:00 +00:00
23 lines
649 B
Plaintext
23 lines
649 B
Plaintext
---
|
|
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 -protocol {{escp9|escp}} {{path/to/image.pbm}} > {{path/to/output.epson}}`
|
|
|
|
- Specify the horizontal DPI of the output:
|
|
|
|
`pbmtoepson -dpi {{60|72|80|90|120|144|240}} {{path/to/image.pbm}} > {{path/to/output.epson}}`
|