1GROLJ4(1) General Commands Manual GROLJ4(1)
2
3
4
6 grolj4 - groff driver for HP LaserJet 4 family
7
9 grolj4 [-l] [-c num-copies] [-d [n]] [-F font-directory] [-p paper-
10 size] [-w line-width] [file ...]
11
12 grolj4 --help
13
14 grolj4 -v
15 grolj4 --version
16
18 grolj4 is a driver for groff that produces output in PCL5 format suit‐
19 able for an HP LaserJet 4 printer.
20
21 There is an additional drawing command available:
22
23 \D'R dh dv'
24 Draw a rule (solid black rectangle), with one corner at the cur‐
25 rent position, and the diagonally opposite corner at the current
26 position +(dh,dv). Afterwards the current position will be at
27 the opposite corner. This generates a PCL fill rectangle com‐
28 mand, and so will work on printers that do not support HPGL/2
29 unlike the other \D commands.
30
32 Whitespace is permitted between a command-line option and its argument.
33
34 -c num-copies
35 Print num-copies copies of each page.
36
37 -l Print the document with a landscape orientation.
38
39 -d [n] Use duplex mode n: 1 is long-side binding; 2 is short-side bind‐
40 ing; default is 1.
41
42 -p paper-size
43 Set the paper size to paper-size, which must be one of letter,
44 legal, executive, a4, com10, monarch, c5, b5, dl.
45
46 -v
47 --version
48 Print the version number.
49
50 -w line-width
51 Set the default line thickness to line-width thousandths of an
52 em. If this option isn't specified, the line thickness defaults
53 to 0.04 em.
54
55 -F font-directory
56 Prepend directory font-directory/devname to the search path for
57 font and device description files; name is the name of the de‐
58 vice, usually lj4.
59
60 The following four commands are available additionally in the font de‐
61 scription files:
62
63 pclweight N
64 The integer value N must be in the range -7 to +7; default is 0.
65
66 pclstyle N
67 The integer value N must be in the range 0 to 32767; default
68 is 0.
69
70 pclproportional N
71 A boolean flag which can be either 0 or 1; default is 0.
72
73 pcltypeface N
74 The integer value N must be in the range 0 to 65535; default
75 is 0.
76
78 GROFF_FONT_PATH
79 A list of directories in which to search for the devname direc‐
80 tory in addition to the default ones. See troff(1) and
81 groff_font(5) for more details.
82
84 /usr/share/groff/1.22.4/font/devlj4/DESC
85 Device description file.
86
87 /usr/share/groff/1.22.4/font/devlj4/F
88 Font description file for font F.
89
90 /usr/share/groff/1.22.4/tmac/lj4.tmac
91 Macros for use with grolj4.
92
94 Small dots.
95
97 lj4_font(5), groff(1), troff(1), groff_out(5), groff_font(5),
98 groff_char(7)
99
100
101
102groff 1.22.4 21 July 2022 GROLJ4(1)