{
    "mode": "man",
    "parameter": "papersize",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/papersize/5/json",
    "generated": "2026-09-22T19:16:14Z",
    "sections": {
        "NAME": {
            "content": "papersize - specify preferred paper size\n",
            "subsections": []
        },
        "SYNOPSYS": {
            "content": "",
            "subsections": [
                {
                    "name": "/etc/papersize",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "The  papersize  file is used to specify the preferred paper size to use by available commands\nand programs generating documents.\n\nThe format of this file is extremely simple: whitespace and anything starting with `#' is ig‐\nnored, and the name of the paper is the first string found; the case in the name of the paper\ndoes not import (see CAVEATS section however).\n",
            "subsections": []
        },
        "PAPER NAMES": {
            "content": "The following names are commonly understood by programs: a3, a4, a5, b5, letter, legal, exec‐\nutive, note and 11x17.\n\nAdditional paper names that one may encounter are: a0, a1, a2, a6, a7, a8, a9, a10,  b0,  b1,\nb2,  b3,  b4, tabloid, statement, note, halfletter, halfexecutive, folio, quarto, ledger, ar‐\nchA, archB, archC, archD, archE, flsa, flse, csheet, dsheet, esheet and 10x14.\n\nThe value of the papersize file can be overridden by looking in order at the PAPERSIZE  envi‐\nronment  variable,  then  at  the contents of the file specified by the PAPERCONF environment\nvariable.  If the papersize file does not exist, programs using the paper library default  to\nusing letter as a fall-back value\n",
            "subsections": []
        },
        "CAVEATS": {
            "content": "This  manual page documents the format of the papersize file that is read by the libpaper li‐\nbrary.  Some programs that read this file do not yet use the library and may have trouble ig‐\nnoring whitespace and comments in the file; they may also require that the paper names use  a\nspecific capitalization.\n",
            "subsections": []
        },
        "DOCUMENTATION": {
            "content": "Yves Arrouye <arrouye@debian.org>\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "paperconf(1)\npaperconfig(8)\n\n\n\nPAPERSIZE(5)",
            "subsections": []
        }
    },
    "summary": "papersize - specify preferred paper size",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "paperconf",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/paperconf/1/json"
        },
        {
            "name": "paperconfig",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/paperconfig/8/json"
        },
        {
            "name": "PAPERSIZE",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/PAPERSIZE/5/json"
        }
    ]
}