{
    "content": [
        {
            "type": "text",
            "text": "# PAPERCONFIG (man)\n\n## NAME\n\npaperconfig - configure the system default paper size\n\n## SYNOPSIS\n\npaperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ]\n\n## DESCRIPTION\n\npaperconfig  sets the system (or default) paper to be used by tools using the papersize file.\nIt can either ask interactively for the paper  to  use  or  be  called  non-interactively  by\nscripts.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (4 subsections)\n- **ENVIRONMENT**\n- **FILES**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "PAPERCONFIG",
        "section": "",
        "mode": "man",
        "summary": "paperconfig - configure the system default paper size",
        "synopsis": "paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-v",
                "long": "--version",
                "arg": null,
                "description": "Print the version of paperconfig and exit."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Print help about usage and exit."
            },
            {
                "flag": "-p",
                "long": "--paper",
                "arg": null,
                "description": "Use papername if possible. If papername is not a valid paper, print an error message and exit."
            },
            {
                "flag": "",
                "long": "--force",
                "arg": null,
                "description": "Force interactive selection of the system paper even if the actual paper is a valid one."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "paperconf",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/paperconf/1/json"
            },
            {
                "name": "papersize",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/papersize/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-v --version",
                        "lines": 2,
                        "flag": "-v",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-p --paper",
                        "lines": 3,
                        "flag": "-p",
                        "long": "--paper"
                    },
                    {
                        "name": "--force",
                        "lines": 3,
                        "long": "--force"
                    }
                ]
            },
            {
                "name": "ENVIRONMENT",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "paperconfig - configure the system default paper size\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "paperconfig  sets the system (or default) paper to be used by tools using the papersize file.\nIt can either ask interactively for the paper  to  use  or  be  called  non-interactively  by\nscripts.\n\nWhen  the  paper  size has been changed, paperconfig notifies other packages of the change by\nrunning the scripts in the /etc/libpaper.d directory.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-v --version",
                        "content": "Print the version of paperconfig and exit.\n",
                        "flag": "-v",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "content": "Print help about usage and exit.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-p --paper",
                        "content": "Use papername if possible. If papername is not a valid paper, print an  error  message\nand exit.\n",
                        "flag": "-p",
                        "long": "--paper"
                    },
                    {
                        "name": "--force",
                        "content": "Force  interactive  selection  of the system paper even if the actual paper is a valid\none.\n",
                        "long": "--force"
                    }
                ]
            },
            "ENVIRONMENT": {
                "content": "PAPERCONF Full path to a file containing the paper size to use; this file will  be  rewritten\nwith the system paper size.\n",
                "subsections": []
            },
            "FILES": {
                "content": "/etc/papersize      Contains the name of the system-wide default paper size to be used if the\nPAPERSIZE variable is not set.\n\n/etc/libpaper.d     Directory of scripts to run after the paper size has been changed.   This\npackage  puts no scripts here, but other packages may.  run-parts is used\nto run the scripts, therefore their names  must  comply  with  run-part's\nnaming requirements.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Yves Arrouye <arrouye@debian.org>\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "paperconf(1)\npapersize(5)\n\n\n\n\nDebian/Linux                               5 January 2005                             PAPERCONFIG(8)",
                "subsections": []
            }
        }
    }
}