Penguin
Annotated edit history of grolbp(1) version 4, including all changes. View license author blame.
Rev Author # Line
1 perry 1 GROLBP
2 !!!GROLBP
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 TYPEFACES
8 PAPER SIZES
9 CUSTOM PAPER SIZES
10 PAGE ORIENTATION
11 FONT FILE FORMAT
12 FILES
13 SEE ALSO
14 ----
15 !!NAME
16
17
18 grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).
19 !!SYNOPSIS
20
21
22 __grolpb__ [[ __-l__ ] [[ __--landscape__ ] [[
23 __-v__ ] [[ __--version__ ] [[ __-c__''n'' ] [[
24 __--copies=__''numcopies'' ] [[
25 __-p__''paper_size'' ] [[
26 __--papersize=__''paper_size'' ] [[
27 __-o__''orientation'' ] [[
28 __--orientation=__''orientation'' ] [[
29 __-F__''dir'' ] [[ __--fontdir=__''dir'' ] [[
30 __-h__ ] [[ __--help__ ] [[ ''files...''
31 ]
32 !!DESCRIPTION
33
34
35 __grolbp__ is a driver for __groff__ that produces
36 output in CAPSL and VDM format suitable for Canon LBP-4 and
37 LBP-8 printers.
38
39
40 For compatibility with grolj4 there is an additional drawing
41 command available:
42
43
44 __D'R__ ''dh dv''__'__
45
46
47 Draw a rule (i.e. a solid black rectangle), with one corner
48 at the current position, and the diagonally opposite corner
49 at the current position +(''dh'',''dv'').
50 !!OPTIONS
51
52
53 Note that there can be whitespace between a one-letter
54 option and its argument; on the other hand, there must be
55 whitespace and/or an equal sign (`=') between a long-name
56 option and its argument.
57
58
59 __-c__''numcopies''
60
61
62 __--copies=__''numcopies''
63
64
65 Print ''numcopies'' copies of each page.
66
67
68 __-l__
69
70
71 __--landscape__
72
73
74 Print the document with a landscape
75 orientation.
76
77
78 __-p__''paper_size''
79
80
81 __--papersize=__''paper_size''
82
83
84 Set the paper size to ''paper_size'', which must be a
85 valid paper size description as indicated in the section
86 __PAPER SIZES__.
87
88
89 __-o__''orientation''
90
91
92 __--orientation=__''orientation''
93
94
95 Print the document with ''orientation'' orientation,
96 which must be `portrait' or `landscape'.
97
98
99 __-v__
100
101
102 __--version__
103
104
105 Print the version number.
106
107
108 __-F__''dir''
109
110
111 __--fontdir=__''dir''
112
113
114 Prepend directory ''dir''__/devlbp__ to the search
115 path for font and device description files.
116
117
118 __-h__
119
120
121 __--help__
122
123
124 Print a short help text.
125 !!TYPEFACES
126
127
128 The driver supports the Dutch, Swiss and Swiss-Narrow
129 scalable typefaces, each one in the Regular, Bold, Italic
130 and Bold-Italic styles. Additionally, the Courier and Elite
131 monospaced typefaces at the sizes 8 and 12 points (for
132 Courier) resp. 8 and 10 points (for Elite) are supported,
133 each one in the Regular, Bold and Italic
134 styles.
135
136
137 The following chart summarizes the font names you can use to
138 access these fonts:
139 !!PAPER SIZES
140
141
142 The paper size can be set in the __DESC__ file or with command line options to __grolbp__. If the paper size is specified both ways, the command line options take precedence over the contents of the __DESC__ file (this applies to the page orientation too).
143
144
145 To set the paper size in the __DESC__ file, insert in
146 that file a line containing __papersize__
147 ''desired_papersize'', where ''desired_papersize''
148 is:
149
150
151 One of the recognized paper sizes: `a4', `letter', `legal'
152 or `executive'.
153
154
155 A custom defined paper size, as described in the __CUSTOM
156 PAPER SIZES__ subsection below.
157
158
159 The name of a file (e.g. ''/etc/papersize'') whose first
160 line must be the desired paper size in one of the above
161 formats.
162
163
164 If there are various papersize lines in the __DESC__
165 file, only the first valid one is used.
166
167
168 To set the paper size in the command line, add
169
170
171 __-p__ ''desired_papersize''
172
173
174 or
175
176
177 __--papersize=__''desired_papersize''
178
179
180 to the other __grolbp__ options, where
181 __desired_papersize__ is in the same format as in the
182 __DESC__ file.
183
184
185 Paper sizes are case insensitive (i.e., `A4' is the same as
186 `a4').
187
188
189 If no paper size is specified in the __DESC__ file or the
190 command line, a default size of A4 is used.
191 !!CUSTOM PAPER SIZES
192 Custom defined paper sizes are in the form
193 __cust__''length''__x__''width'' where
194 ''length'' and ''width'' are the dimensions of the
195 paper you want to to use, specified in printer units (1/300
196 of an inch). For instance, to print in a postcard sized
197 paper which is two inches long and four inches wide you can
198 insert a line containing
199
200
201 __papersize cust600x1200__
202
203
204 at the beginning of the __DESC__ file.
205 !!PAGE ORIENTATION
206
207
208 As with the page size, the orientation of the printed page
209 (__portrait__ or __landscape__) can be set in the
210 __DESC__ file or with command line options. It is also
211 case insensitive.
212
213
214 To set the orientation in the __DESC__ file, insert a
215 line with the following content:
216
217
218 __orientation__
219 [[__portrait__|__landscape__]
220
221
222 As with paper sizes, only the first valid orientation
223 command in the __DESC__ file is used.
224
225
226 To set the page orientation with command line options you
227 can use the __-o__ or __--orientation__ option with
228 the same parameters (__portrait__ or __landscape__) as
229 in the __DESC__ file. Or you can use the __-l__ option
230 to force the pages to be printed in landscape.
231 !!FONT FILE FORMAT
232
233
234 In addition to the usual commands described in
4 perry 235 groff_font(5), __grolbp__ provides the command
1 perry 236 ''lbpname'' which sets the font name sent to the printer
237 when requesting this font. The syntax of this command
238 is:
239
240
241 __lbpname__ ''printer_font_name''
242
243
244 For bitmapped fonts, ''printer_font_name'' has the
245 form
246
247
248 N''base_fontname''''font_style''
249
250
251 ''base_fontname'' is the font name as it appears in the
252 printers font listings without the first letter, up to (but
253 not including) the font size. ''font_style'' can be one
254 of the letters __R__, __I__, or __B__, indicating
255 the font styles Roman, Italic and Bold
256 respectively.
257
258
259 For instance, if the printer's ''font listing A'' shows
260 font `Nelite12I.ISO_USA', the corresponding entry in the
261 font description file is
262
263
264 __lbpname NeliteI__
265
266
267 Note that you may need to modify __grolbp__ to add
268 support for new bitmapped fonts, since the available font
269 names and font sizes of bitmapped fonts (as documented
270 above) are hard-coded into the program.
271
272
273 For scalable fonts, ''printer_font_name'' is identical to
274 the font name as it appears in the printer's ''font listing
275 A''.
276
277
278 For instance, to select the `Swiss' font in bold style,
279 which appears in the printer's ''font listing A'' as
280 `Swiss-Bold', the required __lbpname__ command line
281 is
282
283
284 __lbpname Swiss-Bold__
285
286
287 The argument of __lbpname__ is case
288 sensitive.
289 !!FILES
290
291
292 __/usr/share/groff/1.17.2/font/devlbp/DESC__
293
294
295 Device description file.
296
297
298 __/usr/share/groff/1.17.2/font/devlbp/__''F''
299
300
301 Font description file for font ''F''.
302
303
304 __/usr/share/groff/1.17.2/tmac/lbp.tmac__
305
306
307 Macros for use with __grolbp__.
308 !!SEE ALSO
309
310
4 perry 311 groff(1), troff(1), groff_out(5),
312 groff_font(5), __groff_char__(7)
1 perry 313 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.