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

pbmtoppa — Convert a PBM image to HP Printer Performance Architecture format. More information: <https://netpbm

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

Problem

How to use the pbmtoppa command: Convert a PBM image to HP Printer Performance Architecture format. More information: <https://netpbm.sourceforge.net/doc/pbmtoppa.html>.

Solution

pbmtoppa — Convert a PBM image to HP Printer Performance Architecture format. More information: <https://netpbm.sourceforge.net/doc/pbmtoppa.html>.

Convert a PBM image into a PPA file:
pbmtoppa {{path/to/image.pbm}} > {{path/to/output.ppa}}


Specify the desired dots-per-inch and paper size:
pbmtoppa -d {{300}} -s {{a4}} {{path/to/image.pbm}} > {{path/to/output.ppa}}

Code Snippets

Convert a PBM image into a PPA file

pbmtoppa {{path/to/image.pbm}} > {{path/to/output.ppa}}

Specify the desired dots-per-inch and paper size

pbmtoppa -d {{300}} -s {{a4}} {{path/to/image.pbm}} > {{path/to/output.ppa}}

Context

tldr-pages: common/pbmtoppa

Revisions (0)

No revisions yet.