HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pbmtoepson — Convert a PBM image to an Epson printer graphic. See also: `pbmtoescp2`. More information: <https://

Submitted by: @import:tldr-pages··
0
Viewed 0 times
epsoncommandconvertcliimagepbmtoepsonprinterpbm

Problem

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

Solution

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

Code Snippets

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

Context

tldr-pages: common/pbmtoepson

Revisions (0)

No revisions yet.