{
    "mode": "man",
    "parameter": "grolj4",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/grolj4/1/json",
    "generated": "2026-06-16T06:21:20Z",
    "synopsis": "grolj4 [-l] [-c num-copies] [-d [n]] [-F font-directory] [-p paper-size] [-w line-width]\n[file ...]",
    "sections": {
        "NAME": {
            "content": "grolj4 - groff driver for HP LaserJet 4 family\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "grolj4 [-l] [-c num-copies] [-d [n]] [-F font-directory] [-p paper-size] [-w line-width]\n[file ...]\n",
            "subsections": [
                {
                    "name": "grolj4 --help",
                    "content": ""
                },
                {
                    "name": "grolj4 -v",
                    "content": ""
                },
                {
                    "name": "grolj4 --version",
                    "content": ""
                }
            ]
        },
        "DESCRIPTION": {
            "content": "grolj4 is a driver for groff that produces output in PCL5 format suitable for an HP  LaserJet\n4 printer.\n\nThere is an additional drawing command available:\n\n\\D'R dh dv'\nDraw  a rule (solid black rectangle), with one corner at the current position, and the\ndiagonally opposite corner at the current position +(dh,dv).  Afterwards  the  current\nposition will be at the opposite corner.  This generates a PCL fill rectangle command,\nand so will work on printers that do not support HPGL/2 unlike the other \\D commands.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "Whitespace is permitted between a command-line option and its argument.\n",
            "subsections": [
                {
                    "name": "-c",
                    "content": "Print num-copies copies of each page.\n",
                    "flag": "-c"
                },
                {
                    "name": "-l",
                    "content": "",
                    "flag": "-l"
                },
                {
                    "name": "-d",
                    "content": "",
                    "flag": "-d"
                },
                {
                    "name": "-p",
                    "content": "Set the paper size to paper-size, which must be one of letter, legal,  executive,  a4,\ncom10, monarch, c5, b5, dl.\n",
                    "flag": "-p"
                },
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "--version",
                    "content": "Print the version number.\n",
                    "long": "--version"
                },
                {
                    "name": "-w",
                    "content": "Set  the  default  line  thickness to line-width thousandths of an em.  If this option\nisn't specified, the line thickness defaults to 0.04 em.\n",
                    "flag": "-w"
                },
                {
                    "name": "-F",
                    "content": "Prepend directory font-directory/devname to the search path for font  and  device  de‐\nscription files; name is the name of the device, usually lj4.\n\nThe following four commands are available additionally in the font description files:\n\npclweight N\nThe integer value N must be in the range -7 to +7; default is 0.\n\npclstyle N\nThe integer value N must be in the range 0 to 32767; default is 0.\n\npclproportional N\nA boolean flag which can be either 0 or 1; default is 0.\n\npcltypeface N\nThe integer value N must be in the range 0 to 65535; default is 0.\n",
                    "flag": "-F"
                }
            ]
        },
        "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/devlj4/DESC\nDevice description file.\n\n/usr/share/groff/1.22.4/font/devlj4/F\nFont description file for font F.\n\n/usr/share/groff/1.22.4/tmac/lj4.tmac\nMacros for use with grolj4.\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Small dots.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "lj4font(5), groff(1), troff(1), groffout(5), grofffont(5), groffchar(7)\n\n\n\ngroff 1.22.4                                23 March 2022                                  GROLJ4(1)",
            "subsections": []
        }
    },
    "summary": "grolj4 - groff driver for HP LaserJet 4 family",
    "flags": [
        {
            "flag": "-c",
            "long": null,
            "arg": null,
            "description": "Print num-copies copies of each page."
        },
        {
            "flag": "-l",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-d",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "-p",
            "long": null,
            "arg": null,
            "description": "Set the paper size to paper-size, which must be one of letter, legal, executive, a4, com10, monarch, c5, b5, dl."
        },
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Print the version number."
        },
        {
            "flag": "-w",
            "long": null,
            "arg": null,
            "description": "Set the default line thickness to line-width thousandths of an em. If this option isn't specified, the line thickness defaults to 0.04 em."
        },
        {
            "flag": "-F",
            "long": null,
            "arg": null,
            "description": "Prepend directory font-directory/devname to the search path for font and device de‐ scription files; name is the name of the device, usually lj4. The following four commands are available additionally in the font description files: pclweight N The integer value N must be in the range -7 to +7; default is 0. pclstyle N The integer value N must be in the range 0 to 32767; default is 0. pclproportional N A boolean flag which can be either 0 or 1; default is 0. pcltypeface N The integer value N must be in the range 0 to 65535; default is 0."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "lj4font",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/lj4font/5/json"
        },
        {
            "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"
        }
    ]
}