{
    "mode": "man",
    "parameter": "GROLBP",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/GROLBP/1/json",
    "generated": "2026-10-22T13:18:28Z",
    "sections": {
        "Name": {
            "content": "grolbp - groff output driver for Canon CaPSL printers\n",
            "subsections": []
        },
        "Synopsis": {
            "content": "grolbp [-l] [-c num-copies] [-F font-directory] [-o orientation] [-p paper-format] [-w width]\n[file ...]\ngrolbp [--copies=num-copies] [--fontdir=font-directory] [--landscape] [--linewidth=width]\n[--orientation=orientation] [--papersize=paper-format] [file ...]\n",
            "subsections": [
                {
                    "name": "grolbp -h",
                    "content": ""
                },
                {
                    "name": "grolbp --help",
                    "content": ""
                },
                {
                    "name": "grolbp -v",
                    "content": ""
                },
                {
                    "name": "grolbp --version",
                    "content": ""
                }
            ]
        },
        "Description": {
            "content": "This  GNU  roff  output  driver translates the output of troff(1) into a CaPSL and VDM format\nsuitable for Canon LBP-4 and LBP-8 printers.  Normally, grolbp is invoked  by  groff(1)  when\nthe latter is given the “-T lbp” option.  (In this installation, ps is the default output de‐\nvice.)   Use  groff's  -P option to pass any options shown above to grolbp.  If no file argu‐\nments are given, or if file is “-”, grolbp reads the standard input stream.  Output is  writ‐\nten to the standard output stream.\n",
            "subsections": [
                {
                    "name": "Typefaces",
                    "content": "The  driver supports the Dutch, Swiss, and Swiss-Narrow scalable typefaces, each in the regu‐\nlar, bold, italic, and bold-italic styles.  Additionally, the bitmapped,  monospaced  Courier\nand  Elite  typefaces  are available in regular, bold, and italic styles; Courier at 8 and 12\npoints, Elite at 8 and 10 points.  The following chart summarizes the groff font  names  used\nto access them.\n\n┌───────────────┬─────────┬────────┬──────────┬──────────────┐\n│   Typeface    │  Roman  │  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└───────────────┴─────────┴────────┴──────────┴──────────────┘\n"
                },
                {
                    "name": "Paper format, orientation, and device description file",
                    "content": "grolbp  supports  paper  formats “A4”, “letter”, “legal”, and “executive”.  These are matched\ncase-insensitively.  The -p, --papersize option overrides any setting in the device  descrip‐\ntion file DESC.  If neither specifies a paper format, A4 is assumed.\n\nIn  its  DESC file, grolbp (case-insensitively) recognizes an orientation directive accepting\none mandatory argument, portrait or landscape.  The first valid orientation directive encoun‐\ntered controls.  The -l, -o, and --orientation command-line options override any  setting  in\nDESC.  If none of the foregoing specify the orientation, portrait is assumed.\n"
                },
                {
                    "name": "Font description files",
                    "content": "In  addition to the font description file directives documented in grofffont(5), grolbp rec‐\nognizes lbpname, which maps the groff font name to the  font  name  used  internally  by  the\nprinter.  Its syntax is as follows.\nlbpname printer-font-name\nlbpname's argument is case-sensitive.  The printer's font names are encoded as follows.\n\nFor bitmapped fonts, printer-fontname has the form\nN⟨base-font-name⟩⟨font-style⟩\nbase-font-name  is  the  font  name  as it appears in the printer's font listings without the\nfirst letter, up to (but not including) the font size.  font-style can be one of the  letters\nR,  I,  or  B, indicating the roman, italic, and bold styles, respectively.  For instance, if\nthe printer's “font listing A” shows “Nelite12I.ISOUSA”,  the  corresponding  entry  in  the\ngroff font description file is\nlbpname NeliteI\nYou  may  need  to  modify grolbp to add support for new bitmapped fonts, since the available\nfont names and font sizes of bitmapped fonts (as documented above) are  hard-coded  into  the\nprogram.\n\nFor  scalable  fonts,  printer-font-name  is  identical to the font name as it appears in the\nprinter's “font listing A”.  For instance, to select the “Swiss” font in  bold-italic  style,\nwhich appears in the font listing as “Swiss-BoldOblique”,\nlbpname Swiss-BoldOblique\nis  the  required  directive, and this is what we find in the groff font description file HBI\nfor the lbp device.\n"
                },
                {
                    "name": "Drawing commands",
                    "content": "For compatibility with grolj4(1), an additional drawing command is available.\n\n\\D'R dh dv'\nDraw a rule (solid black rectangle) with one corner at the drawing position,  and  the\ndiagonally opposite corner at the drawing position +(dh,dv).\n"
                }
            ]
        },
        "Options": {
            "content": "",
            "subsections": [
                {
                    "name": "-h   --help  -v  --version",
                    "content": "exit afterward.\n",
                    "flag": "-v",
                    "long": "--version"
                },
                {
                    "name": "-c _",
                    "content": "--copies=num-copies\nProduce 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": "-l",
                    "content": "",
                    "flag": "-l"
                },
                {
                    "name": "--landscape",
                    "content": "Format the document in landscape orientation.\n",
                    "long": "--landscape"
                },
                {
                    "name": "-o _",
                    "content": "--orientation=orientation\nFormat the document in the given orientation, which must be “portrait” or “landscape”.\n",
                    "flag": "-o"
                },
                {
                    "name": "-p _",
                    "content": "--papersize=paper-format\nSet  the paper format to paper-format, which must be a valid paper format as described\nabove.\n",
                    "flag": "-p"
                },
                {
                    "name": "-w _",
                    "content": "--linewidth=width\nSet the default line thickness to width thousandths  of  an  em;  the  default  is  40\n(0.04 em).\n",
                    "flag": "-w"
                }
            ]
        },
        "Environment": {
            "content": "GROFFFONTPATH\nlists  directories  in  which to seek the selected output device's directory of device\nand font description files.  See troff(1) and grofffont(5).\n",
            "subsections": []
        },
        "Files": {
            "content": "/usr/share/groff/1.23.0/font/devlbp/DESC\ndescribes the lbp output device.\n\n/usr/share/groff/1.23.0/font/devlbp/F\ndescribes the font known as F on device lbp.\n\n/usr/share/groff/1.23.0/tmac/lbp.tmac\ndefines macros for use with the lbp output device.   It  is  automatically  loaded  by\ntroffrc when the lbp output device is selected.\n\nSee also\ngroff(1), troff(1), groffout(5), grofffont(5), groffchar(7)\n\ngroff 1.23.0                                31 March 2024                                  grolbp(1)",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}