snippetbashTip
ppmtolj — Convert a PPM file to an HP LaserJet PCL 5 Color file. More information: <https://netpbm.sourceforge
Viewed 0 times
ppmtoljcommandconvertpclclifilelaserjetppm
Problem
How to use the
ppmtolj command: Convert a PPM file to an HP LaserJet PCL 5 Color file. More information: <https://netpbm.sourceforge.net/doc/ppmtolj.html>.Solution
ppmtolj — Convert a PPM file to an HP LaserJet PCL 5 Color file. More information: <https://netpbm.sourceforge.net/doc/ppmtolj.html>.Convert a PPM file to an HP LaserJet PCL 5 Color file:
ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}Apply a gamma correction using the specified gamma value:
ppmtolj {{[-g|-gamma]}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}Specify the required resolution:
ppmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}Code Snippets
Convert a PPM file to an HP LaserJet PCL 5 Color file
ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}Apply a gamma correction using the specified gamma value
ppmtolj {{[-g|-gamma]}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}Specify the required resolution
ppmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}Context
tldr-pages: common/ppmtolj
Revisions (0)
No revisions yet.