1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
|
.TH GROLJ4 1 "17 December 2018" "groff 1.22.4"
.SH NAME
grolj4 \- groff driver for HP LaserJet 4 family
.
.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
.\"
.\" Copyright (C) 1994-2018 Free Software Foundation, Inc.
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of
.\" this manual under the conditions for verbatim copying, provided that
.\" the entire resulting derived work is distributed under the terms of
.\" a permission notice identical to this one.
.\"
.\" Permission is granted to copy and distribute translations of this
.\" manual into another language, under the above conditions for
.\" modified versions, except that this permission notice may be
.\" included in translations approved by the Free Software Foundation
.\" instead of in the original English.
.
.
.\" ====================================================================
.SH SYNOPSIS
.\" ====================================================================
.
.SY grolj4
.OP \-l
.OP \-c num-copies
.RB [ \-d
.RI [ n ]]
.OP \-F font-directory
.OP \-p paper-size
.OP \-w line-width
.RI [ file
\&.\|.\|.\&]
.YS
.
.SY grolj4
.B \-\-help
.YS
.
.SY grolj4
.B \-v
.SY grolj4
.B \-\-version
.YS
.
.
.\" ====================================================================
.SH DESCRIPTION
.\" ====================================================================
.
.B grolj4
is a driver for
.B groff
that produces output in PCL5 format suitable for an HP LaserJet 4
printer.
.
.
.LP
There is an additional drawing command available:
.
.TP
.BI \eD'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
.RI +( 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
.B \eD
commands.
.
.
.\" ====================================================================
.SH OPTIONS
.\" ====================================================================
.
Whitespace is permitted between a command-line option and its argument.
.
.
.TP
.BI \-c " num-copies"
Print
.I num-copies
copies of each page.
.
.
.TP
.B \-l
Print the document with a landscape orientation.
.
.
.TP
.B \-d\c
.RI " [" n ]
Use duplex mode
.IR n :
1\ is long-side binding; 2\ is short-side binding;
default is\ 1.
.
.
.TP
.BI \-p " paper-size"
Set the paper size to
.IR paper-size ,
which must be one of
letter, legal, executive, a4, com10, monarch, c5, b5, dl.
.
.
.TP
.B \-v
.TQ
.B \-\-version
Print the version number.
.
.
.TP
.BI \-w " line-width"
Set the default line thickness to
.I line-width
thousandths of an em.
.
If this option isn't specified, the line thickness defaults to
0.04\~em.
.
.
.TP
.BI \-F " font-directory"
Prepend directory
.IR font-directory /dev name
to the search path for font and device description files;
.I name
is the name of the device, usually
.BR lj4 .
.
.
.LP
The following four commands are available additionally in the
font description files:
.
.
.TP
.BI pclweight \ N
The integer value
.I N
must be in the range \-7 to +7; default is\~0.
.
.
.TP
.BI pclstyle \ N
The integer value
.I N
must be in the range 0 to 32767; default is\~0.
.
.
.TP
.BI pclproportional \ N
A boolean flag which can be either 0 or\~1; default is\~0.
.
.
.TP
.BI pcltypeface \ N
The integer value
.I N
must be in the range 0 to 65535; default is\~0.
.
.
.\" ====================================================================
.SH ENVIRONMENT
.\" ====================================================================
.
.TP
.I GROFF_FONT_PATH
A list of directories in which to search for the
.IR dev name
directory in addition to the default ones.
.
See
.BR troff (1)
and
.BR \%groff_font (5)
for more details.
.
.
.\" ====================================================================
.SH FILES
.\" ====================================================================
.
.TP
.I /usr/\:share/\:groff/\:1.22.4/\:font/devlj4/DESC
Device description file.
.
.TP
.IR /usr/\:share/\:groff/\:1.22.4/\:font/devlj4/ F
Font description file for font
.IR F .
.
.TP
.I /usr/\:share/\:groff/\:1.22.4/\:tmac/lj4.tmac
Macros for use with
.BR grolj4 .
.
.
.SH BUGS
Small dots.
.
.
.\" ====================================================================
.SH "SEE ALSO"
.\" ====================================================================
.
.BR lj4_font (5),
.BR groff (1),
.BR troff (1),
.BR groff_out (5),
.BR groff_font (5),
.BR groff_char (7)
.
.
.\" Local Variables:
.\" mode: nroff
.\" End:
.\" vim: set filetype=groff:
|