Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
grolbp(1)
Edit
PageHistory
Diff
Info
LikePages
GROLBP !!!GROLBP NAME SYNOPSIS DESCRIPTION OPTIONS TYPEFACES PAPER SIZES CUSTOM PAPER SIZES PAGE ORIENTATION FONT FILE FORMAT FILES SEE ALSO ---- !!NAME grolbp - groff driver for Canon CAPSL printers (LBP-4 and LBP-8 series laser printers). !!SYNOPSIS __grolpb__ [[ __-l__ ] [[ __--landscape__ ] [[ __-v__ ] [[ __--version__ ] [[ __-c__''n'' ] [[ __--copies=__''numcopies'' ] [[ __-p__''paper_size'' ] [[ __--papersize=__''paper_size'' ] [[ __-o__''orientation'' ] [[ __--orientation=__''orientation'' ] [[ __-F__''dir'' ] [[ __--fontdir=__''dir'' ] [[ __-h__ ] [[ __--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: __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 +(''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'' __--copies=__''numcopies'' Print ''numcopies'' copies of each page. __-l__ __--landscape__ Print the document with a landscape orientation. __-p__''paper_size'' __--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'' __--orientation=__''orientation'' Print the document with ''orientation'' orientation, which must be `portrait' or `landscape'. __-v__ __--version__ Print the version number. __-F__''dir'' __--fontdir=__''dir'' Prepend directory ''dir''__/devlbp__ to the search path for font and device description files. __-h__ __--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: !!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: One of the recognized paper sizes: `a4', `letter', `legal' or `executive'. A custom defined paper size, as described in the __CUSTOM PAPER SIZES__ subsection below. 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(5), __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'' For bitmapped fonts, ''printer_font_name'' has the form N''base_fontname''''font_style'' ''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. 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 __/usr/share/groff/1.17.2/font/devlbp/DESC__ Device description file. __/usr/share/groff/1.17.2/font/devlbp/__''F'' Font description file for font ''F''. __/usr/share/groff/1.17.2/tmac/lbp.tmac__ Macros for use with __grolbp__. !!SEE ALSO groff(1), troff(1), groff_out(5), groff_font(5), __groff_char__(7) ----
3 pages link to
grolbp(1)
:
Man1g
roff(7)
groff(1)
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.