{
    "content": [
        {
            "type": "text",
            "text": "# XKBPRINT(1) (man)\n\n**Summary:** xkbprint - print an XKB keyboard description\n\n**Synopsis:** xkbprint [options] source [ outputfile ]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -? | — | — | Prints a usage message. |\n| — | — | — | black-and-white image of the keyboard. |\n| — | — | — |  |\n| — | — | — |  |\n| — | — | — |  |\n| — | — | — |  |\n| — | — | — |  |\n| — | — | — | Print a grid with res mm resolution over the keyboard. |\n| — | — | — | Specifies an internal PostScript type 1 font to dump to the specified output file or to fontName.pfa, if no output file  |\n| — | — | — | Specifies the labels to be printed on keys; valid types are: none, name, code, and symbols. |\n| — | — | — | Specifies a locale in which KeySyms should be resolved. |\n| — | — | — |  |\n| — | — | — |  |\n| — | — | — | Print symbols in keyboard groups starting from group. |\n| — | — | — | Print symbols starting from shift level level. |\n| — | — | — |  |\n| -n | — | — |  |\n| — | — | — | Print the symbols in num keyboard groups. |\n| — | — | — | Number of keyboard images to print on each page; for EPS files, this specifies the total number of keyboard images to pr |\n| -o | — | — |  |\n| -R | — | — | Use directory as the root directory; all path names are interpreted relative to di‐ rectory. |\n| — | — | — | Controls use of pictographs instead of keysym names where available. which can be any of all, none, or common (default). |\n| — | — | — |  |\n| — | — | — | Print out the program version and exit. |\n| -w | — | — | Sets warning level (0 for no warning, 10 for all warnings). |\n\n## See Also\n\n- X(7)\n- xkbcomp(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (9 lines)\n- **OPTIONS** (1 lines) — 25 subsections\n  - -?, -help (2 lines)\n  - -color (2 lines)\n  - -dflts (1 lines)\n  - -diffs (1 lines)\n  - -eps (1 lines)\n  - -fit (1 lines)\n  - -full (1 lines)\n  - -grid (2 lines)\n  - -if (4 lines)\n  - -label (3 lines)\n  - -lc (2 lines)\n  - -level1 (1 lines)\n  - -level2 (1 lines)\n  - -lg (2 lines)\n  - -ll (2 lines)\n  - -mono (1 lines)\n  - -n (1 lines)\n  - -nkg (2 lines)\n  - -npk (3 lines)\n  - -o (1 lines)\n  - -R (3 lines)\n  - -pict (3 lines)\n  - -synch (1 lines)\n  - -version (2 lines)\n  - -w (2 lines)\n- **SEE ALSO** (2 lines)\n- **COPYRIGHT** (3 lines)\n- **AUTHOR** (5 lines)\n\n## Full Content\n\n### NAME\n\nxkbprint - print an XKB keyboard description\n\n### SYNOPSIS\n\nxkbprint [options] source [ outputfile ]\n\n### DESCRIPTION\n\nThe  xkbprint command generates a printable or encapsulated PostScript description of the XKB\nkeyboard description specified by source.  The source can be any compiled keymap (.xkm)  file\nthat  includes  a  geometry  description or an X display specification.  If an outputfile is\nspecified, xkbprint writes to it.  If no output file is specified, xkbprint creates  replaces\nthe  extension of the source file with .ps or .eps depending on the requested format.  If the\nsource is a non-local X display (e.g.:0), xkbprint appends the appropriate prefix to the dis‐\nplay  specification,  replacing  the  colon  with  a dash.  For a local display, xkprint uses\nserver-n where n is the number of the display.\n\n### OPTIONS\n\n#### -?, -help\n\nPrints a usage message.\n\n#### -color\n\nblack-and-white image of the keyboard.\n\n#### -dflts\n\n#### -diffs\n\n#### -eps\n\n#### -fit\n\n#### -full\n\n#### -grid\n\nPrint a grid with res mm resolution over the keyboard.\n\n#### -if\n\nSpecifies  an internal PostScript type 1 font to dump to the specified output file or\nto fontName.pfa, if no output file is specified.  No keyboard description is  printed\nif an internal font is dumped.\n\n#### -label\n\nSpecifies  the  labels to be printed on keys;  valid types are: none, name, code, and\nsymbols.\n\n#### -lc\n\nSpecifies a locale in which KeySyms should be resolved.\n\n#### -level1\n\n#### -level2\n\n#### -lg\n\nPrint symbols in keyboard groups starting from group.\n\n#### -ll\n\nPrint symbols starting from shift level level.\n\n#### -mono\n\n#### -n\n\n#### -nkg\n\nPrint the symbols in num keyboard groups.\n\n#### -npk\n\nNumber of keyboard images to print on each page; for EPS files,  this  specifies  the\ntotal number of keyboard images to print.\n\n#### -o\n\n#### -R\n\nUse  directory  as the root directory; all path names are interpreted relative to di‐\nrectory.\n\n#### -pict\n\nControls use of pictographs instead of keysym names where available.   which  can  be\nany of all, none, or common (default).\n\n#### -synch\n\n#### -version\n\nPrint out the program version and exit.\n\n#### -w\n\nSets warning level (0 for no warning, 10 for all warnings).\n\n### SEE ALSO\n\nX(7), xkbcomp(1)\n\n### COPYRIGHT\n\nCopyright 1995, Silicon Graphics Computer Systems Copyright 1995, 1998  The Open Group\nSee X(7) for a full statement of rights and permissions.\n\n### AUTHOR\n\nErik Fortune, Silicon Graphics\n\n\n\nX Version 11                               xkbprint 1.0.5                                XKBPRINT(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "XKBPRINT",
        "section": "1",
        "mode": "man",
        "summary": "xkbprint - print an XKB keyboard description",
        "synopsis": "xkbprint [options] source [ outputfile ]",
        "flags": [
            {
                "flag": "-?",
                "long": null,
                "arg": null,
                "description": "Prints a usage message."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "black-and-white image of the keyboard."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print a grid with res mm resolution over the keyboard."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specifies an internal PostScript type 1 font to dump to the specified output file or to fontName.pfa, if no output file is specified. No keyboard description is printed if an internal font is dumped."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specifies the labels to be printed on keys; valid types are: none, name, code, and symbols."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Specifies a locale in which KeySyms should be resolved."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print symbols in keyboard groups starting from group."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print symbols starting from shift level level."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-n",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print the symbols in num keyboard groups."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Number of keyboard images to print on each page; for EPS files, this specifies the total number of keyboard images to print."
            },
            {
                "flag": "-o",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-R",
                "long": null,
                "arg": null,
                "description": "Use directory as the root directory; all path names are interpreted relative to di‐ rectory."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Controls use of pictographs instead of keysym names where available. which can be any of all, none, or common (default)."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Print out the program version and exit."
            },
            {
                "flag": "-w",
                "long": null,
                "arg": null,
                "description": "Sets warning level (0 for no warning, 10 for all warnings)."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "X",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/X/7/json"
            },
            {
                "name": "xkbcomp",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/xkbcomp/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-?, -help",
                        "lines": 2,
                        "flag": "-?"
                    },
                    {
                        "name": "-color",
                        "lines": 2
                    },
                    {
                        "name": "-dflts",
                        "lines": 1
                    },
                    {
                        "name": "-diffs",
                        "lines": 1
                    },
                    {
                        "name": "-eps",
                        "lines": 1
                    },
                    {
                        "name": "-fit",
                        "lines": 1
                    },
                    {
                        "name": "-full",
                        "lines": 1
                    },
                    {
                        "name": "-grid",
                        "lines": 2
                    },
                    {
                        "name": "-if",
                        "lines": 4
                    },
                    {
                        "name": "-label",
                        "lines": 3
                    },
                    {
                        "name": "-lc",
                        "lines": 2
                    },
                    {
                        "name": "-level1",
                        "lines": 1
                    },
                    {
                        "name": "-level2",
                        "lines": 1
                    },
                    {
                        "name": "-lg",
                        "lines": 2
                    },
                    {
                        "name": "-ll",
                        "lines": 2
                    },
                    {
                        "name": "-mono",
                        "lines": 1
                    },
                    {
                        "name": "-n",
                        "lines": 1,
                        "flag": "-n"
                    },
                    {
                        "name": "-nkg",
                        "lines": 2
                    },
                    {
                        "name": "-npk",
                        "lines": 3
                    },
                    {
                        "name": "-o",
                        "lines": 1,
                        "flag": "-o"
                    },
                    {
                        "name": "-R",
                        "lines": 3,
                        "flag": "-R"
                    },
                    {
                        "name": "-pict",
                        "lines": 3
                    },
                    {
                        "name": "-synch",
                        "lines": 1
                    },
                    {
                        "name": "-version",
                        "lines": 2
                    },
                    {
                        "name": "-w",
                        "lines": 2,
                        "flag": "-w"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}