{
    "mode": "man",
    "parameter": "grolbp",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/grolbp/1/json",
    "generated": "2026-05-30T05:15:12Z",
    "synopsis": "grolbp [-l] [-c num-copies] [-F font-directory] [-o orientation] [-p paper-size] [-w width]\n[file ...]\ngrolbp [--copies=num-copies] [--fontdir=font-directory] [--landscape] [--linewidth=width]\n[--orientation=orientation] [--papersize=paper-size] [file ...]",
    "sections": {
        "NAME": {
            "content": "grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers)\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grolbp [-l] [-c num-copies] [-F font-directory] [-o orientation] [-p paper-size] [-w width]\n[file ...]\ngrolbp [--copies=num-copies] [--fontdir=font-directory] [--landscape] [--linewidth=width]\n[--orientation=orientation] [--papersize=paper-size] [file ...]\n",
            "subsections": [
                {
                    "name": "grolbp -h",
                    "content": ""
                },
                {
                    "name": "grolbp --help",
                    "content": ""
                },
                {
                    "name": "grolbp -v",
                    "content": ""
                },
                {
                    "name": "grolbp --version",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "grolbp  is a driver for groff that produces output in CAPSL and VDM format suitable for Canon\nLBP-4 and LBP-8 printers.\n\nFor compatibility with grolj4(1) there is an additional drawing command available:\n\n\\D'R dh dv'\nDraw a rule (i.e., a solid black rectangle), with one corner at the current  position,\nand the diagonally opposite corner at the current position +(dh,dv).\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "Note  that there can be whitespace between a one-letter option and its argument; on the other\nhand, there must be whitespace and/or an equal sign (‘=’) between a long-name option and  its\nargument.\n",
            "subsections": [
                {
                    "name": "-c",
                    "content": "--copies=num-copies\nPrint num-copies copies of each page.\n",
                    "flag": "-c"
                },
                {
                    "name": "-F",
                    "content": "--fontdir=font-directory\nPrepend  directory  font-directory/devname  to the search path for font and device de‐\nscription files; name is the name of the device, usually lbp.\n",
                    "flag": "-F"
                },
                {
                    "name": "-h",
                    "content": "--help Print a short help text.\n",
                    "flag": "-h"
                },
                {
                    "name": "-l",
                    "content": "",
                    "flag": "-l"
                },
                {
                    "name": "--landscape",
                    "content": "Print the document with a landscape orientation.\n",
                    "long": "--landscape"
                },
                {
                    "name": "-o",
                    "content": "--orientation=orientation\nPrint the document with orientation orientation, which must be  ‘portrait’  or  ‘land‐\nscape’.\n",
                    "flag": "-o"
                },
                {
                    "name": "-p",
                    "content": "--papersize=paper-size\nSet  the paper size to paper-size, which must be a valid paper size description as in‐\ndicated in section “Paper Sizes”, below.\n",
                    "flag": "-p"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "--version",
                    "content": "Print the version number.\n",
                    "long": "--version"
                },
                {
                    "name": "-w",
                    "content": "--linewidth=width\nSet the default line thickness to width thousandths of an em.  If  this  option  isn't\nspecified, the line thickness defaults to 0.04 em.\n",
                    "flag": "-w"
                }
            ]
        },
        "TYPEFACES": {
            "content": "The  driver  supports  the  Dutch, Swiss and Swiss-Narrow scalable typefaces, each one in the\nRegular, Bold, Italic and Bold-Italic styles.  Additionally, the Courier and Elite monospaced\ntypefaces  at  the  sizes 8 and 12 points (for Courier) resp. 8 and 10 points (for Elite) are\nsupported, each one in the Regular, Bold and Italic styles.\n\nThe following chart summarizes the font names you can use to access these fonts:\n\n┌────────────────┬───────────┬────────┬──────────┬──────────────┐\n│   Typeface     │  Regular  │  Bold  │  Italic  │  Bold-Italic │\n├────────────────┼───────────┼────────┼──────────┼──────────────┤\n│ Dutch          │    TR     │   TB   │    TI    │      TBI     │\n├────────────────┼───────────┼────────┼──────────┼──────────────┤\n│ Swiss          │    HR     │   HB   │    HI    │      HBI     │\n├────────────────┼───────────┼────────┼──────────┼──────────────┤\n│ Swiss Narrow   │    HNR    │  HNB   │   HNI    │     HNBI     │\n├────────────────┼───────────┼────────┼──────────┼──────────────┤\n│ Courier        │    CR     │   CB   │    CI    │              │\n├────────────────┼───────────┼────────┼──────────┼──────────────┤\n│ Elite          │    ER     │   EB   │    EI    │              │\n└────────────────┴───────────┴────────┴──────────┴──────────────┘",
            "subsections": []
        },
        "PAPER SIZES": {
            "content": "The paper size can be set in the DESC file or with command-line options to  grolbp.   If  the\npaper size is specified both ways, the command-line options take precedence over the contents\nof the DESC file (this applies to the page orientation too).\n\nSee grofffont(5) how to set the paper dimensions in the DESC file.\n\nTo set the paper size in the command line, add\n\n-p paper-size\n\nor\n\n--papersize=paper-size\n\nto the other grolbp options, where paper-size is in the same format as in the DESC file.\n\nIf no paper size is specified in the DESC file or the command line, a default size of  A4  is\nused.\n",
            "subsections": []
        },
        "PAGE ORIENTATION": {
            "content": "As with the page size, the orientation of the printed page (portrait or landscape) can be set\nin the DESC file or with command-line options.  It is also case insensitive.\n\nTo set the orientation in the DESC file, insert a line with the following content:\n\norientation [portrait|landscape]\n\nOnly the first valid orientation command in the DESC file is used.\n\nTo set the page orientation with command-line options you can use the -o or --orientation op‐\ntion  with  the  same parameters (portrait or landscape) as in the DESC file.  Or you can use\nthe -l option to force the pages to be printed in landscape.\n",
            "subsections": []
        },
        "FONT FILE FORMAT": {
            "content": "In addition to the usual commands described in grofffont(5),  grolbp  provides  the  command\nlbpname  which  sets the font name sent to the printer when requesting this font.  The syntax\nof this command is:\n\nlbpname printerfontname\n\n•      For bitmapped fonts, printerfontname has the form\n\nN⟨basefontname⟩⟨fontstyle⟩\n\nbasefontname is the font name as it appears in the printers font listings without the\nfirst  letter,  up to (but not including) the font size.  fontstyle can be one of the\nletters R, I, or B, indicating the font styles Roman, Italic and Bold respectively.\n\nFor instance, if the printer's font listing A shows font ‘Nelite12I.ISOUSA’, the cor‐\nresponding entry in the font description file is\n\nlbpname NeliteI\n\nNote  that you may need to modify grolbp to add support for new bitmapped fonts, since\nthe available font names and font sizes of bitmapped fonts (as documented  above)  are\nhard-coded into the program.\n\n•      For  scalable  fonts, printerfontname is identical to the font name as it appears in\nthe printer's font listing A.\n\nFor instance, to select the ‘Swiss’ font in bold style, which appears in the printer's\nfont listing A as ‘Swiss-Bold’, the required lbpname command line is\n\nlbpname Swiss-Bold\n\n\nThe argument of lbpname is case sensitive.\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "GROFFFONTPATH\nA  list of directories in which to search for the devname directory in addition to the\ndefault ones.  See troff(1) and grofffont(5) for more details.\n",
            "subsections": []
        },
        "FILES": {
            "content": "/usr/share/groff/1.22.4/font/devlbp/DESC\nDevice description file.\n\n/usr/share/groff/1.22.4/font/devlbp/F\nFont description file for font F.\n\n/usr/share/groff/1.22.4/tmac/lbp.tmac\nMacros for use with grolbp.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "groff(1), troff(1), groffout(5), grofffont(5), groffchar(7)\n\n\n\ngroff 1.22.4                                23 March 2022                                  GROLBP(1)",
            "subsections": []
        }
    },
    "summary": "grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers)",
    "flags": [
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "--copies=num-copies Print num-copies copies of each page."
        },
        {
            "flag": "-F",
            "long": null,
            "arg": null,
            "description": "--fontdir=font-directory Prepend directory font-directory/devname to the search path for font and device de‐ scription files; name is the name of the device, usually lbp."
        },
        {
            "flag": "-h",
            "long": null,
            "arg": null,
            "description": "--help Print a short help text."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--landscape",
            "arg": null,
            "description": "Print the document with a landscape orientation."
        },
        {
            "flag": "-o",
            "long": null,
            "arg": null,
            "description": "--orientation=orientation Print the document with orientation orientation, which must be ‘portrait’ or ‘land‐ scape’."
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "--papersize=paper-size Set the paper size to paper-size, which must be a valid paper size description as in‐ dicated in section “Paper Sizes”, below."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Print the version number."
        },
        {
            "flag": "-w",
            "long": null,
            "arg": null,
            "description": "--linewidth=width Set the default line thickness to width thousandths of an em. If this option isn't specified, the line thickness defaults to 0.04 em."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "groff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/groff/1/json"
        },
        {
            "name": "troff",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/troff/1/json"
        },
        {
            "name": "groffout",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/groffout/5/json"
        },
        {
            "name": "grofffont",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/grofffont/5/json"
        },
        {
            "name": "groffchar",
            "section": "7",
            "url": "https://www.chedong.com/phpMan.php/man/groffchar/7/json"
        }
    ]
}