{
    "content": [
        {
            "type": "text",
            "text": "# pbmtolj(1) (man)\n\n## NAME\n\npbmtolj - convert a portable bitmap into HP LaserJet format\n\n## SYNOPSIS\n\npbmtolj  [-resolution  N]  [-float]  [-noreset]  [-packbits]  [-delta]  [-compress] [pbmfile]\n[-copies N]\n\n## DESCRIPTION\n\nReads a PBM image as input.  Produces HP LaserJet data as output.\n\n## TLDR\n\n> Convert a PBM file to an HP LaserJet file.\n\n- Convert a PBM file to an HP LaserJet file:\n  `pbmtolj {{path/to/input.pbm}} > {{path/to/output.lj}}`\n- Compress the output file using the specified method:\n  `pbmtolj -{{packbits|delta|compress}} {{path/to/input.pbm}} > {{path/to/output.lj}}`\n- Specify the required resolution:\n  `pbmtolj {{-r|-resolution}} {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (7 subsections)\n- **SEE ALSO**\n- **AUTHOR**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "pbmtolj",
        "section": "1",
        "mode": "man",
        "summary": "pbmtolj - convert a portable bitmap into HP LaserJet format",
        "synopsis": "pbmtolj  [-resolution  N]  [-float]  [-noreset]  [-packbits]  [-delta]  [-compress] [pbmfile]\n[-copies N]",
        "tldr_summary": "Convert a PBM file to an HP LaserJet file.",
        "tldr_examples": [
            {
                "description": "Convert a PBM file to an HP LaserJet file",
                "command": "pbmtolj {{path/to/input.pbm}} > {{path/to/output.lj}}"
            },
            {
                "description": "Compress the output file using the specified method",
                "command": "pbmtolj -{{packbits|delta|compress}} {{path/to/input.pbm}} > {{path/to/output.lj}}"
            },
            {
                "description": "Specify the required resolution",
                "command": "pbmtolj {{-r|-resolution}} {{75|100|150|300|600}} {{path/to/input.pbm}} > {{path/to/output.lj}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specifies the resolution of the output device, in dpi. Typical values are 75, 100, 150, 300, and 600. The default is 75."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "to the output file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Prevents pbmtolj from writing the reset sequences to the beginning and end of the out‐ put file."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Enables use of TIFF packbits compression."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Enables use of both TIFF packbits, and delta-between-rows compression."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specifies the the number of copies. The default is 1. This option controls the \"num‐ ber of copies\" printer control; pbmtolj generates only one copy of the image. All flags can be abbreviated to their shortest unique prefix."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pbm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-resolution",
                        "lines": 3
                    },
                    {
                        "name": "-float",
                        "lines": 2
                    },
                    {
                        "name": "-noreset",
                        "lines": 3
                    },
                    {
                        "name": "-packbits",
                        "lines": 2
                    },
                    {
                        "name": "-delta",
                        "lines": 1
                    },
                    {
                        "name": "-compress",
                        "lines": 2
                    },
                    {
                        "name": "-copies",
                        "lines": 6
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 6,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "pbmtolj - convert a portable bitmap into HP LaserJet format\n\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "pbmtolj  [-resolution  N]  [-float]  [-noreset]  [-packbits]  [-delta]  [-compress] [pbmfile]\n[-copies N]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Reads a PBM image as input.  Produces HP LaserJet data as output.\n\nNote that there is no ljtopbm tool.\n\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-resolution",
                        "content": "Specifies the resolution of the output device, in dpi.  Typical values  are  75,  100,\n150, 300, and 600.  The default is 75.\n"
                    },
                    {
                        "name": "-float",
                        "content": "to the output file.\n"
                    },
                    {
                        "name": "-noreset",
                        "content": "Prevents pbmtolj from writing the reset sequences to the beginning and end of the out‐\nput file.\n"
                    },
                    {
                        "name": "-packbits",
                        "content": "Enables use of TIFF packbits compression.\n"
                    },
                    {
                        "name": "-delta",
                        "content": ""
                    },
                    {
                        "name": "-compress",
                        "content": "Enables use of both TIFF packbits, and delta-between-rows compression.\n"
                    },
                    {
                        "name": "-copies",
                        "content": "Specifies  the the number of copies. The default is 1.  This option controls the \"num‐\nber of copies\" printer control; pbmtolj generates only one copy of the image.\n\nAll flags can be abbreviated to their shortest unique prefix.\n\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "pbm(5)\n\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 1988 by Jef Poskanzer and Michael Haberler.  -float and -noreset options  added\nby Wim Lewis.  -delta, -packbits, and -compress options added by Dave Platt.\n\n\n\n22 April 2000                                 pbmtolj(1)",
                "subsections": []
            }
        }
    }
}