{
    "mode": "man",
    "parameter": "PAPERCONFIG",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/PAPERCONFIG/8/json",
    "generated": "2026-06-11T01:25:53Z",
    "synopsis": "paperconfig [ -v,--version ] [ -h,--help ] [ -p, --paper papername | --force ]",
    "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": []
        }
    },
    "summary": "paperconfig - configure the system default paper size",
    "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"
        }
    ]
}