{
    "mode": "man",
    "parameter": "ppmtolj",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/ppmtolj/1/json",
    "generated": "2026-06-15T13:30:25Z",
    "synopsis": "ppmtolj [-gamma val] [-resolution 75|100|150|300|600] [-delta] [-float] [-noreset] [ppmfile]",
    "sections": {
        "NAME": {
            "content": "ppmtolj - convert a portable pixmap to an HP LaserJet PCL 5 Color file\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ppmtolj [-gamma val] [-resolution 75|100|150|300|600] [-delta] [-float] [-noreset] [ppmfile]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Reads  a portable pixmap as input and converts it into a color file suitable to be printed by\nan HP color PCL 5 printer.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-delta",
                    "content": ""
                },
                {
                    "name": "-gamma",
                    "content": ""
                },
                {
                    "name": "-float",
                    "content": "ESC&l0E to the output.\n"
                },
                {
                    "name": "-noreset",
                    "content": ""
                },
                {
                    "name": "-resolution",
                    "content": ""
                }
            ]
        },
        "REFERENCES": {
            "content": "HP PCL 5 & Color Reference Guide\n",
            "subsections": []
        },
        "BUGS": {
            "content": "None known.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Copyright (C) 2000 by Jonathan Melvin.(jonathan.melvin@heywood.co.uk)\n\n\n\n4 Sept 2000                                  ppmtolj(1)",
            "subsections": []
        }
    },
    "summary": "ppmtolj - convert a portable pixmap to an HP LaserJet PCL 5 Color file",
    "flags": [
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": "ESC&l0E to the output."
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": null,
            "arg": null,
            "description": ""
        }
    ],
    "examples": [],
    "see_also": [],
    "tldr": {
        "source": "official",
        "description": "Convert a PPM file to an HP LaserJet PCL 5 Color file.",
        "examples": [
            {
                "description": "Convert a PPM file to an HP LaserJet PCL 5 Color file",
                "command": "ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}"
            },
            {
                "description": "Apply a gamma correction using the specified gamma value",
                "command": "ppmtolj {{-g|-gamma}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}"
            },
            {
                "description": "Specify the required resolution",
                "command": "ppmtolj {{-r|-resolution}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}"
            }
        ]
    }
}