{
    "content": [
        {
            "type": "text",
            "text": "# ppmtolj (man)\n\n## NAME\n\nppmtolj - convert a PPM image to an HP LaserJet PCL 5 Color file\n\n## DESCRIPTION\n\nThis program is part of Netpbm(1).\n\n## TLDR\n\n> Convert a PPM file to an HP LaserJet PCL 5 Color file.\n\n- Convert a PPM file to an HP LaserJet PCL 5 Color file:\n  `ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}`\n- Apply a gamma correction using the specified gamma value:\n  `ppmtolj {{-g|-gamma}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}`\n- Specify the required resolution:\n  `ppmtolj {{-r|-resolution}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (1 subsections)\n- **DESCRIPTION**\n- **OPTIONS** (5 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n- **DOCUMENT SOURCE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ppmtolj",
        "section": "",
        "mode": "man",
        "summary": "ppmtolj - convert a PPM image to an HP LaserJet PCL 5 Color file",
        "synopsis": "",
        "tldr_summary": "Convert a PPM file to an HP LaserJet PCL 5 Color file.",
        "tldr_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}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Gamma correct the image using the integer parameter as a gamma (default 0)."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "output."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Don't write the reset sequence to the beginning and end of the output."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Set the required output resolution 75|100|150|300|600"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pnmtopclxl",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmtopclxl/1/json"
            },
            {
                "name": "pbmtolj",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pbmtolj/1/json"
            },
            {
                "name": "ppmtopj",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppmtopj/1/json"
            },
            {
                "name": "thinkjettopbm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/thinkjettopbm/1/json"
            },
            {
                "name": "ppm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ppm/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "ppmtolj",
                        "lines": 13
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 5,
                "subsections": [
                    {
                        "name": "-delta",
                        "lines": 1
                    },
                    {
                        "name": "-gamma _",
                        "lines": 3
                    },
                    {
                        "name": "-float",
                        "lines": 3
                    },
                    {
                        "name": "-noreset",
                        "lines": 3
                    },
                    {
                        "name": "-resolution",
                        "lines": 5
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DOCUMENT SOURCE",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ppmtolj - convert a PPM image to an HP LaserJet PCL 5 Color file\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "ppmtolj",
                        "content": "[-gamma val]\n\n[-resolution {75|100|150|300|600}]\n\n[-delta]\n\n[-float]\n\n[-noreset]\n\n[ppmfile]\n\n"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "This program is part of Netpbm(1).\n\nppmtolj  reads  a PPM image as input and converts it into a color file suitable to be printed\nby an HP color PCL 5 printer.\n\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "In addition to the options common to all programs based on libnetpbm  (most  notably  -quiet,\nsee \u001b]8;;index.html#commonoptions\u001b\\ Common Options\u001b]8;;\u001b\\ ), ppmtolj recognizes the following command line options:\n\n\n",
                "subsections": [
                    {
                        "name": "-delta",
                        "content": ""
                    },
                    {
                        "name": "-gamma _",
                        "content": "Gamma correct the image using the integer parameter as a gamma (default 0).\n\n"
                    },
                    {
                        "name": "-float",
                        "content": "output.\n\n"
                    },
                    {
                        "name": "-noreset",
                        "content": "Don't write the reset sequence to the beginning and end of the output.\n\n"
                    },
                    {
                        "name": "-resolution",
                        "content": "Set the required output resolution 75|100|150|300|600\n\n\n\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "HP  PCL  5  & Color Reference Guide, pnmtopclxl(1), pbmtolj(1), ppmtopj(1), thinkjettopbm(1),\nppm(1)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 2000 by Jonathan Melvin.(jonathan.melvin@heywood.co.uk)\n",
                "subsections": []
            },
            "DOCUMENT SOURCE": {
                "content": "This manual page was generated by the Netpbm tool 'makeman' from  HTML  source.   The  master\ndocumentation is at\n\nhttp://netpbm.sourceforge.net/doc/ppmtolj.html\n\nnetpbm documentation                      04 September 2000                   Ppmtolj User Manual(1)",
                "subsections": []
            }
        }
    }
}