LinuxCommandLibrary

ppmtolj

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

TLDR

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

$ ppmtolj [path/to/input.ppm] > [path/to/output.lj]
copy


Apply a gamma correction using the specified gamma value
$ ppmtolj -gamma [gamma] [path/to/input.ppm] > [path/to/output.lj]
copy


Specify the required resolution
$ ppmtolj -resolution [75|100|150|300|600] [path/to/input.ppm] > [path/to/output.lj]
copy

Copied to clipboard