# phpman > man > grolj4(1)

[GROLJ4(1)](https://www.chedong.com/phpMan.php/man/GROLJ4/1/markdown)                              General Commands Manual                             [GROLJ4(1)](https://www.chedong.com/phpMan.php/man/GROLJ4/1/markdown)



## NAME
       grolj4 - groff driver for HP LaserJet 4 family

## SYNOPSIS
       **grolj4** [**-l**] [**-c** _num-copies_] [**-d** [_n_]] [**-F** _font-directory_] [**-p** _paper-size_] [**-w** _line-width_]
              [_file_ ...]

### grolj4 --help

### grolj4 -v
### grolj4 --version

## DESCRIPTION
       **grolj4** is a driver for **groff** that produces output in PCL5 format suitable for an HP  LaserJet
       4 printer.

       There is an additional drawing command available:

       **\D'R** _dh_ _dv_**'**
              Draw  a rule (solid black rectangle), with one corner at the current position, and the
              diagonally opposite corner at the current position +(_dh_,_dv_).  Afterwards  the  current
              position will be at the opposite corner.  This generates a PCL fill rectangle command,
              and so will work on printers that do not support HPGL/2 unlike the other **\D** commands.

## OPTIONS
       Whitespace is permitted between a command-line option and its argument.

### -c
              Print _num-copies_ copies of each page.

### -l

### -d

### -p
              Set the paper size to _paper-size_, which must be one of letter, legal,  executive,  a4,
              com10, monarch, c5, b5, dl.

### -v
### --version
              Print the version number.

### -w
              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
              Prepend directory _font-directory_/dev_name_ 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.

## ENVIRONMENT
       _GROFF_FONT_PATH_
              A  list of directories in which to search for the _dev_name directory in addition to the
              default ones.  See [**troff**(1)](https://www.chedong.com/phpMan.php/man/troff/1/markdown) and **groff**___**[font**(5)](https://www.chedong.com/phpMan.php/man/font/5/markdown) for more details.

## FILES
       _/usr/share/groff/1.22.4/font/devlj4/DESC_
              Device description file.

       _/usr/share/groff/1.22.4/font/devlj4/_F
              Font description file for font _F_.

       _/usr/share/groff/1.22.4/tmac/lj4.tmac_
              Macros for use with **grolj4**.

## BUGS
       Small dots.

## SEE ALSO
       **lj4**___**[font**(5)](https://www.chedong.com/phpMan.php/man/font/5/markdown), [**groff**(1)](https://www.chedong.com/phpMan.php/man/groff/1/markdown), [**troff**(1)](https://www.chedong.com/phpMan.php/man/troff/1/markdown), **groff**___**[out**(5)](https://www.chedong.com/phpMan.php/man/out/5/markdown), **groff**___**[font**(5)](https://www.chedong.com/phpMan.php/man/font/5/markdown), **groff**___**[char**(7)](https://www.chedong.com/phpMan.php/man/char/7/markdown)



groff 1.22.4                                23 March 2022                                  [GROLJ4(1)](https://www.chedong.com/phpMan.php/man/GROLJ4/1/markdown)
