|grolbp(1)||General Commands Manual||grolbp(1)|
grolbp - groff output driver for Canon CaPSL printers
||[-l] [-c num-copies] [-F font-directory] [-o orientation] [-p paper-format] [-w width] [file ...]|
||[--copies=num-copies] [--fontdir=font-directory] [--landscape] [--linewidth=width] [--orientation=orientation] [--papersize=paper-format] [file ...]|
This GNU roff output driver translates the output of troff(1) into a CaPSL and VDM format suitable for Canon LBP-4 and LBP-8 printers. Normally, grolbp is invoked by groff(1) when the latter is given the “-T lbp” option. (In this installation, ps is the default output device.) Use groff's -P option to pass any options shown above to grolbp. If no file arguments are given, or if file is “-”, grolbp reads the standard input stream. Output is written to the standard output stream.
The driver supports the Dutch, Swiss, and Swiss-Narrow scalable typefaces, each in the regular, bold, italic, and bold-italic styles. Additionally, the bitmapped, monospaced Courier and Elite typefaces are available in regular, bold, and italic styles; Courier at 8 and 12 points, Elite at 8 and 10 points. The following chart summarizes the groff font names used to access them.
Paper format, orientation, and device description file¶
grolbp supports paper formats “A4”, “letter”, “legal”, and “executive”. These are matched case-insensitively. The -p, --papersize option overrides any setting in the device description file DESC. If neither specifies a paper format, A4 is assumed.
In its DESC file, grolbp (case-insensitively) recognizes an orientation directive accepting one mandatory argument, portrait or landscape. The first valid orientation directive encountered controls. The -l, -o, and --orientation command-line options override any setting in DESC. If none of the foregoing specify the orientation, portrait is assumed.
Font description files¶
In addition to the font description file directives documented in groff_font(5), grolbp recognizes lbpname, which maps the groff font name to the font name used internally by the printer. Its syntax is as follows.
For bitmapped fonts, printer-font_name has the form
For scalable fonts, printer-font-name 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-italic style, which appears in the font listing as “Swiss-BoldOblique”,
For compatibility with grolj4(1), an additional drawing command is available.
- \D'R dh dv'
- Draw a rule (solid black rectangle) with one corner at the drawing position, and the diagonally opposite corner at the drawing position +(dh,dv).
-h and --help display a usage message, while -v and --version show version information; all exit afterward.
- -c num-copies
- Produce num-copies copies of each page.
- -F font-directory
- Prepend directory font-directory/devname to the search path for font and device description files; name is the name of the device, usually lbp.
- Format the document in landscape orientation.
- -o orientation
- Format the document in the given orientation, which must be “portrait” or “landscape”.
- -p paper-format
- Set the paper format to paper-format, which must be a valid paper format as described above.
- -w width
- Set the default line thickness to width thousandths of an em; the default is 40 (0.04 em).
- describes the lbp output device.
- describes the font known as F on device lbp.
- defines macros for use with the lbp output device. It is automatically loaded by troffrc when the lbp output device is selected.
|16 October 2023||groff 1.23.0|