Section: User Commands (1)
Updated: 4 November 2014
grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).
is a driver for
that produces output in CAPSL and VDM format suitable for Canon LBP-4 and
For compatibility with grolj4 there is an additional drawing command
- \D'R dh dv'
Draw a rule (i.e. a solid black rectangle), with one corner at the current
position, and the diagonally opposite corner at the current position
Note that there can be whitespace between a one-letter option and its
argument; on the other hand, there must be whitespace and/or an equal sign
('=') between a long-name option and its argument.
copies of each page.
- Print the document with a landscape orientation.
- Set the paper size to
which must be a valid paper size description as indicated in the section
- Print the document with
orientation, which must be 'portrait' or 'landscape'.
- Set the default line thickness to
thousandths of an em.
If this option isn't specified, the line thickness defaults to 0.04~em.
- Print the version number.
- Prepend directory
to the search path for font and device description files;
is the name of the device, usually
- Print a short help text.
The driver supports the Dutch, Swiss and Swiss-Narrow scalable typefaces,
each one in the Regular, Bold, Italic and Bold-Italic styles.
Additionally, the Courier and Elite monospaced typefaces at the sizes 8 and
12 points (for Courier) resp. 8 and 10 points (for Elite) are supported,
each one in the Regular, Bold and Italic styles.
The following chart summarizes the font names you can use to access these
|Typeface || Regular || Bold || Italic || Bold-Italic|
|Dutch || TR || TB || TI || TBI|
|Swiss Narrow |
The paper size can be set in the
file or with command line options to
If the paper size is specified both ways, the command line options take
precedence over the contents of the
file (this applies to the page orientation too).
how to set the paper dimensions in the
To set the paper size in the command line, add
to the other
is in the same format as in the
If no paper size is specified in the
file or the command line, a default size of A4 is used.
As with the page size, the orientation of the printed page
can be set in the
file or with command line options.
It is also case insensitive.
To set the orientation in the
file, insert a line with the following content:
Only the first valid orientation command in the
file is used.
To set the page orientation with command line options you can use the
option with the same parameters
as in the
Or you can use the
option to force the pages to be printed in landscape.
FONT FILE FORMAT
In addition to the usual commands described in
provides the command
which sets the font name sent to the printer when requesting this font.
The syntax of this command is:
For bitmapped fonts,
has the form
is the font name as it appears in the printers font listings without the
first letter, up to (but not including) the font size.
can be one of the letters
indicating the font styles Roman, Italic and Bold respectively.
For instance, if the printer's
font listing A
shows font 'Nelite12I.ISO_USA', the corresponding entry in the
font description file is
Note that you may need to modify
to add support for new bitmapped fonts, since the available font names and
font sizes of bitmapped fonts (as documented above) are hard-coded into the
For scalable fonts,
is identical to the font name as it appears in the printer's
font listing A.
For instance, to select the 'Swiss' font in bold style, which
appears in the printer's
font listing A
as 'Swiss-Bold', the required
command line is
The argument of
is case sensitive.
A list of directories in which to search for the
directory in addition to the default ones.
for more details.
Device description file.
Font description file for font
Macros for use with
Copyright © 1994-2014 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.
Modified by Francisco Andrés Verdú <firstname.lastname@example.org> for the grolbp