commands.sh

ppmtolj

all

Convert a PPM file to an HP LaserJet PCL 5 Color file.

More info →

Options (2)

-gboolean

Apply a gamma correction using the specified gamma value

Example: ppmtolj {{[-g|-gamma]}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}
-rboolean

Specify the required resolution

Example: ppmtolj {{[-r|-resolution]}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}

Examples (3)

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
made by @shridhargupta | data from tldr-pages