summaryrefslogtreecommitdiff
path: root/src/devices/grolj4/grolj4.man
blob: e2d5826475784ea58dc91baf500d04a8904097c5 (plain)
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
.ig \"-*- nroff -*-
Copyright (C) 1994-2000 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.
..
.\" Like TP, but if specified indent is more than half
.\" the current line-length - indent, use the default indent.
.de Tp
.ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
.el .TP "\\$1"
..
.TH GROLJ4 @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
.SH NAME
grolj4 \- groff driver for HP Laserjet 4 family
.SH SYNOPSIS
.nr a \n(.j
.ad l
.nr i \n(.i
.in +\w'\fBgrolj4 'u
.ti \niu
.B grolj4
.de OP
.ie \\n(.$-1 .RI "[\ \fB\\$1\fP" "\\$2" "\ ]"
.el .RB "[\ " "\\$1" "\ ]"
..
.OP \-lv
.OP \-d \fR[\fPn\fR]\fP
.OP \-c n
.OP \-p paper_size
.OP \-w n
.OP \-F dir
.RI "[\ " files\|.\|.\|. "\ ]"
.br
.ad \na
.PP
It is possible to have whitespace between a command line option and its
parameter.
.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
.TP
.BI \-c n
Print
.I n
copies of each page.
.TP
.B \-l
Print the document with a landscape orientation.
.TP
.BI "\-d [" n ]
Use duplex mode 
.IR n :
1\ is long-side binding; 2\ is short-side binding;
default is\ 1.
.TP
.BI \-p size
Set the paper size to
.IR size ,
which must be one of
letter, legal, executive, a4, com10, monarch, c5, b5, dl.
.TP
.B \-v
Print the version number.
.TP
.BI \-w n
Set the default line thickness to
.I n
thousandths of an em. 
.TP
.BI \-F dir
Search directory
.IB dir /devlj4
for font and device description files.
.LP
The following four commands are available additionally in the
.B DESC
file:
.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 FILES
.TP
.B @FONTDIR@/devlj4/DESC
Device description file.
.TP
.BI @FONTDIR@/devlj4/ F
Font description file for font
.IR F .
.TP
.B @MACRODIR@/tmac.lj4
Macros for use with
.BR grolj4 .
.SH BUGS
Small dots.
.SH "SEE ALSO"
.BR groff (@MAN1EXT@),
.BR @g@troff (@MAN1EXT@),
.BR groff_out (@MAN5EXT@),
.BR groff_font (@MAN5EXT@),
.BR groff_char (@MAN7EXT@)