# man > ppmtolj(1)

> **TLDR:** Convert a PPM file to an HP LaserJet PCL 5 Color file.
>
- 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}}`

*Source: tldr-pages*

---

_Ppmtolj_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)                 General Commands Manual                _Ppmtolj_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)

## NAME
       ppmtolj - convert a PPM image to an HP LaserJet PCL 5 Color file


## SYNOPSIS
### ppmtolj

       [**-gamma _**val_]

       [**-resolution **{**75**|**100**|**150**|**300**|**600**}]

       [**-delta**]

       [**-float**]

       [**-noreset**]

       [_ppmfile_]


## DESCRIPTION
       This program is part of [**Netpbm**(1)](https://www.chedong.com/phpMan.php/man/Netpbm/1/markdown).

       **ppmtolj  **reads  a PPM image as input and converts it into a color file suitable to be printed
       by an HP color PCL 5 printer.


## OPTIONS
       In addition to the options common to all programs based on libnetpbm  (most  notably  **-quiet**,
       see ]8;;index.html#commonoptions\ Common Options]8;;\ ), **ppmtolj **recognizes the following command line options:



### -delta 

### -gamma _
              Gamma correct the image using the integer parameter as a gamma (default 0).


### -float 
              output.


### -noreset
              Don't write the reset sequence to the beginning and end of the output.


### -resolution
              Set the required output resolution 75|100|150|300|600




## SEE ALSO
       HP  PCL  5  & Color Reference Guide, [**pnmtopclxl**(1)](https://www.chedong.com/phpMan.php/man/pnmtopclxl/1/markdown), [**pbmtolj**(1)](https://www.chedong.com/phpMan.php/man/pbmtolj/1/markdown), [**ppmtopj**(1)](https://www.chedong.com/phpMan.php/man/ppmtopj/1/markdown), [**thinkjettopbm**(1)](https://www.chedong.com/phpMan.php/man/thinkjettopbm/1/markdown),
       [**ppm**(1)](https://www.chedong.com/phpMan.php/man/ppm/1/markdown)


## AUTHOR
       Copyright (C) 2000 by Jonathan Melvin.(<_jonathan.melvin@heywood.co.uk_>)

## DOCUMENT SOURCE
       This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master
       documentation is at

              **<http://netpbm.sourceforge.net/doc/ppmtolj.html>**

netpbm documentation                      04 September 2000                   _Ppmtolj_ _User_ [_Manual_(1)](https://www.chedong.com/phpMan.php/man/Manual/1/markdown)
