t The above line should force the use of tbl as a preprocessor vim: set syntax=nroff : The above line should set vim into nroff modeCopyright (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.
Modified by Francisco Andr�s Verd� <pandres@dragonet.es> for the grolbp
program.
..
.ns
\\$1
..
Like TP, but if specified indent is more than half
the current line-length - indent, use the default indent.
..
GROLBP @MAN1EXT@ "@MDATE@" "Groff Version @VERSION@"
NAME
grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).
SYNOPSIS
.nr a \n(.j
.nr i \n(.i
grolpb ..
.OP -l
.OP --landscape
.OP -v
.OP --version
.OP -c n
.OP --copies= numcopies
.OP -p paper_size
.OP --papersize= paper_size
.OP -o orientation
.OP --orientation= orientation
.OP -F dir
.OP --fontdir= dir
.OP -h
.OP --help
"[ " files\|.\|.\|. " ]"
DESCRIPTION
grolbp is a driver for
groff that produces output in CAPSL and VDM format suitable for Canon LBP-4 and
LBP-8 printers.
For compatibility with grolj4 there is an additional drawing command
available:
\eD'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
+( dh , dv ).
OPTIONS
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.
-c numcopies .TQ
--copies= numcopies Print
numcopies copies of each page.
-l .TQ
--landscape Print the document with a landscape orientation.
-p paper_size .TQ
--papersize= paper_size Set the paper size to
paper_size , which must be a valid paper size description as indicated in the section
"PAPER SIZES" .
-o orientation .TQ
--orientation= orientation Print the document with
orientation orientation, which must be `portrait' or `landscape'.
-v .TQ
--version Print the version number.
-F dir .TQ
--fontdir= dir Prepend directory
dir /devlbp to the search path for font and device description files.
-h .TQ
--help Print a short help text.
TYPEFACES
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
fonts:
|
Typeface | Regular | Bold | Italic | Bold-Italic |
Dutch | TR | TB | TI | TBI |
Swiss | HR | HB | HI | HBI |
Swiss Narrow | HNR | HNB | HNI | HNBI |
Courier | CR | CB | CI | |
Elite | ER | EB | EI | |
|
PAPER SIZES
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).
To set the paper size in the
DESC file, insert in that file a line containing
papersize desired_papersize , where
desired_papersize is:
\(bu 4
One of the recognized paper sizes: `a4', `letter', `legal' or `executive'.
\(bu 4
A custom defined paper size, as described in the
CUSTOM PAPER SIZES subsection below.
\(bu 4
The name of a file (e.g.
/etc/papersize ) whose first line must be the desired paper size in one of the above formats.
If there are various papersize lines in the
DESC file, only the first valid one is used.
To set the paper size in the command line, add
-p desired_papersize or
--papersize= desired_papersize to the other
grolbp options, where
desired_papersize is in the same format as in the
DESC file.
Paper sizes are case insensitive (i.e., `A4' is the same as `a4').
If no paper size is specified in the
DESC file or the command line, a default size of A4 is used.
CUSTOM PAPER SIZES
Custom defined paper sizes are in the form
cust length x width where
length and
width are the dimensions of the paper you want to to use, specified in printer
units (1/300 of an inch).
For instance, to print in a postcard sized paper which is two inches long
and four inches wide you can insert a line containing
papersize cust600x1200 at the beginning of the
DESC file.
PAGE ORIENTATION
As with the page size, the orientation of the printed page
( portrait or
landscape ) can be set in the
DESC file or with command line options.
It is also case insensitive.
To set the orientation in the
DESC file, insert a line with the following content:
orientation [ portrait | landscape ] As with paper sizes, only the first valid orientation command in the
DESC file is used.
To set the page orientation with command line options you can use the
-o or
--orientation option with the same parameters
( portrait or
landscape ) as in the
DESC file.
Or you can use the
-l option to force the pages to be printed in landscape.
FONT FILE FORMAT
In addition to the usual commands described in
groff_font (@MAN5EXT@), grolbp provides the command
lbpname which sets the font name sent to the printer when requesting this font.
The syntax of this command is:
lbpname printer_font_name \(bu
For bitmapped fonts,
printer_font_name has the form
N\(la base_fontname \(ra\(la font_style \(ra base_fontname is the font name as it appears in the printers font listings without the
first letter, up to (but not including) the font size.
font_style can be one of the letters
R , I , or
B , 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
lbpname NeliteI Note that you may need to modify
grolbp 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
program.
\(bu
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 style, which appears in
the printer's
font listing A as `Swiss-Bold', the required
lbpname command line is
lbpname Swiss-Bold
The argument of
lbpname is case sensitive.
FILES
@FONTDIR@/devlbp/DESC Device description file.
@FONTDIR@/devlbp/ F Font description file for font
F .
@MACRODIR@/lbp.tmac Macros for use with
grolbp .
SEE ALSO
groff (@MAN1EXT@), @g@troff (@MAN1EXT@), groff_out (@MAN5EXT@), groff_font (@MAN5EXT@), groff_char (@MAN7EXT@) Local Variables: mode: nroff End: