{
    "content": [
        {
            "type": "text",
            "text": "# pbmpage(1) (man)\n\n## TLDR\n\n> Generate a test pattern for printing.\n\n- Generate a test pattern for printing onto US standard paper:\n  `pbmpage > {{path/to/file.pbm}}`\n- Generate a test pattern for printing onto A4 paper:\n  `pbmpage -a4 > {{path/to/file.pbm}}`\n- Specify the pattern to use:\n  `pbmpage {{1|2|3}} > {{path/to/file.pbm}}`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** pbmpage - create a one page test pattern for printing\n\n**Synopsis:** pbmpage [-a4] testpattern\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | — | — | image for US standard paper (8 1/2\" wide x 11\" high). |\n\n## See Also\n\n- pbmtoppa(1)\n- pnmcut(1)\n- pbm(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (29 lines)\n- **OPTIONS** (1 lines) — 1 subsections\n  - -a4 (3 lines)\n- **SEE ALSO** (3 lines)\n- **AUTHOR** (7 lines)\n\n## Full Content\n\n### NAME\n\npbmpage - create a one page test pattern for printing\n\n### SYNOPSIS\n\npbmpage [-a4] testpattern\n\n### DESCRIPTION\n\npbmpage  generates a one page test pattern to print on a sheet of paper, for use in calibrat‐\ning a printer.  The test pattern in is PBM format.\n\npbmpage produces an image intended for 600 dots per inch printer resolution.\n\nIf you are printing on an HP PPA printer, you can convert the output of  this  program  to  a\nstream that you can feed to the printer with pbmtoppa.\n\nBear  in mind that when you print the test pattern, you are testing not only the printer, but\nany converter or driver software along the printing path.  Any one of  these  components  may\nadjust margins, crop the image, erase edges, and such.\n\nIf, due to addition of margins, the printer refuses to print the image because it is too big,\nuse pnmcut to cut the right and bottom edges off the test pattern until it is small enough to\nprint.\n\ntestpattern is the number of the test pattern to generate, as follows.  The default is 1.\n\n1      A  grid  ruled  in numbers of pixels.  The outermost rules are exactly at the edges of\nthe paper.\n\n2      A vertical line segment, one pixel wide, extending 1/2\" up from the  exact  center  of\nthe page.\n\n3      Two  diagonal  line  segments,  one starting at the upper left corner of the page, the\nother starting from the lower left corner of the page.  Both extend  1/2\"  toward  the\ncenter of the page at 45 degrees.\n\n### OPTIONS\n\n#### -a4\n\nimage for US standard paper (8 1/2\" wide x 11\" high).\n\n### SEE ALSO\n\npbmtoppa(1), pnmcut(1), pbm(5)\n\n### AUTHOR\n\nTim Norman.  Copyright (C) 1998.  Licensed under GNU Public License\n\nManual page by Bryan Henderson, May 2000.\n\n\n\n01 May 2000                                  pbmpage(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "pbmpage",
        "section": "1",
        "mode": "man",
        "summary": "pbmpage - create a one page test pattern for printing",
        "synopsis": "pbmpage [-a4] testpattern",
        "tldr_summary": "Generate a test pattern for printing.",
        "tldr_examples": [
            {
                "description": "Generate a test pattern for printing onto US standard paper",
                "command": "pbmpage > {{path/to/file.pbm}}"
            },
            {
                "description": "Generate a test pattern for printing onto A4 paper",
                "command": "pbmpage -a4 > {{path/to/file.pbm}}"
            },
            {
                "description": "Specify the pattern to use",
                "command": "pbmpage {{1|2|3}} > {{path/to/file.pbm}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "image for US standard paper (8 1/2\" wide x 11\" high)."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "pbmtoppa",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pbmtoppa/1/json"
            },
            {
                "name": "pnmcut",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/pnmcut/1/json"
            },
            {
                "name": "pbm",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/pbm/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 29,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-a4",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}