{
    "mode": "info",
    "parameter": "grolj4",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/grolj4/json",
    "generated": "2026-07-05T13:05:40Z",
    "synopsis": "grolj4 [-l] [-c num-copies] [-d [n]] [-F font-directory] [-p paper-\nsize] [-w line-width] [file ...]\ngrolj4 --help\ngrolj4 -v\ngrolj4 --version",
    "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-\nsize] [-w line-width] [file ...]\n\ngrolj4 --help\n\ngrolj4 -v\ngrolj4 --version\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "grolj4 is a driver for groff that produces output in PCL5 format  suit-\nable for an HP LaserJet 4 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 cur-\nrent position, and the diagonally opposite corner at the current\nposition  +(dh,dv).   Afterwards the current position will be at\nthe opposite corner.  This generates a PCL fill  rectangle  com-\nmand,  and  so  will work on printers that do not support HPGL/2\nunlike the other \\D commands.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "Whitespace is permitted between a command-line option and its argument.\n\n-c num-copies\nPrint num-copies copies of each page.\n\n-l     Print the document with a landscape orientation.\n\n-d [n] Use duplex mode n: 1 is long-side binding; 2 is short-side bind-\ning; default is 1.\n\n-p paper-size\nSet  the  paper size to paper-size, which must be one of letter,\nlegal, executive, a4, com10, monarch, c5, b5, dl.\n",
            "subsections": [
                {
                    "name": "-v",
                    "content": "",
                    "flag": "-v"
                },
                {
                    "name": "--version",
                    "content": "Print the version number.\n\n-w line-width\nSet the default line thickness to line-width thousandths  of  an\nem.  If this option isn't specified, the line thickness defaults\nto 0.04 em.\n\n-F font-directory\nPrepend directory font-directory/devname to the search path  for\nfont  and  device description files; name is the name of the de-\nvice, usually lj4.\n\nThe following four commands are available additionally in the font  de-\nscription 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\nis 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\nis 0.\n",
                    "long": "--version"
                }
            ]
        },
        "ENVIRONMENT": {
            "content": "GROFFFONTPATH\nA  list of directories in which to search for the devname direc-\ntory  in  addition  to  the  default  ones.   See  troff(1)  and\ngrofffont(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),\ngroffchar(7)\n\ngroff 1.22.4                     23 March 2022                       GROLJ4(1)",
            "subsections": []
        }
    },
    "summary": "grolj4 - groff driver for HP LaserJet 4 family",
    "flags": [
        {
            "flag": "-v",
            "long": null,
            "arg": null,
            "description": ""
        },
        {
            "flag": "",
            "long": "--version",
            "arg": null,
            "description": "Print the version number. -w line-width 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. -F font-directory Prepend directory font-directory/devname to the search path for font and device description files; name is the name of the de- vice, usually lj4. The following four commands are available additionally in the font de- scription 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"
        }
    ]
}