Linux系统调用详解之grolbp

上传人:油条 文档编号:20267747 上传时间:2017-09-09 格式:PDF 页数:3 大小:10.11KB
返回 下载 相关 举报
Linux系统调用详解之grolbp_第1页
第1页 / 共3页
Linux系统调用详解之grolbp_第2页
第2页 / 共3页
Linux系统调用详解之grolbp_第3页
第3页 / 共3页
亲,该文档总共3页,全部预览完了,如果喜欢就下载吧!
资源描述

《Linux系统调用详解之grolbp》由会员分享,可在线阅读,更多相关《Linux系统调用详解之grolbp(3页珍藏版)》请在金锄头文库上搜索。

1、GROLBP(1) GROLBP(1)NAMEgrolbp groffdriverfor Canon CAPSL printers (LBP-4 and LBP-8 series laser printers).SYNOPSISgrolpb l landscape v version cn copies=numcopies p paper_size papersize=paper_size oorientation orientation=orientation wwidth linewidth=width Fdir fontdir=dir h help files . . . DESCRIP

2、TIONgrolbp is a driverfor groff that produces output in CAPSL and VDM format suitable for Canon LBP4and LBP8 printers.Forcompatibility with grolj4 there is an additional drawing command available:DR dh dvDrawarule (i.e. asolid black rectangle), with one corner at the current position, and the diagon

3、al-ly opposite corner at the current position +(dh,dv).OPTIONSNote that there can be whitespace between a one-letter option and its argument; on the other hand, theremust be whitespace and/or an equal sign (=) between a long-name option and its umcopiescopies=numcopiesPrint numcopies copies of each

4、page.llandscapePrint the document with a landscape orientation.p paper_sizepapersize=paper_sizeSet the paper size to paper_size,which must be a valid paper size description as indicated in thesection PAPER SIZES.oorientationorientation=orientationPrint the document with orientation orientation, whic

5、h must be portrait or landscape.wwidthlinewidth=widthSet the default line thickness to width thousandths of an em. If this option isntspecified, the linethickness defaults to 0.04 em.vversionPrint the version number.Fdirfontdir=dirPrepend directory dir/devname to the search path for font and device

6、description files; name is thename of the device, usually lbp.hhelp Print a short help text.TYPEFACESThe driversupports the Dutch, Swiss and Swiss-Narrowscalable typefaces, each one in the Regular,Bold,Italic and Bold-Italic styles. Additionally,the Courier and Elite monospaced typefaces at the size

7、s 8 and 12points (for Courier) resp. 8 and 10 points (for Elite) are supported, each one in the Regular,Bold and Italicstyles.The following chart summarizes the font names you can use to access these fonts:GroffVersion 1.18.1.4 07 April 2010 1GROLBP(1) GROLBP(1)Typeface Regular Bold Italic Bold-Ital

8、icDutch TR TB TI TBISwiss HR HB HI HBISwiss Narrow HNR HNB HNI HNBICourier CR CB CIElite ER EB EIPAPER SIZESThe paper size can be set in the DESC file or with command line options to grolbp.Ifthe paper size isspecified both ways, the command line options takeprecedence overthe contents of the DESC f

9、ile (this ap-plies to the page orientation too).See groff_font(1) howtoset the paper dimensions in the DESC file.To set the paper size in the command line, addp paper-sizeorpapersize=paper-sizeto the other grolbp options, where paper-size is in the same format as in the DESC file.If no paper size is

10、 specified in the DESC file or the command line, a default size of A4 is used.PA GEORIENTATIONAs with the page size, the orientation of the printed page (portrait or landscape)can be set in the DESCfile or with command line options. It is also case insensitive.To set the orientation in the DESC file

11、, insert a line with the following content:orientation portrait|landscapeOnly 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 thesame parameters (portrait or landscape)asinthe DESC file. O

12、r you can use the l option to force thepages to be printed in landscape.FONT FILE FORMATIn addition to the usual commands described in groff_font(5), grolbp provides the command lbpnamewhich sets the font name sent to the printer when requesting this font. The syntax of this command is:lbpname print

13、er_font_nameFor bitmapped fonts, printer_font_name has the formNbase_fontname font_stylebase_fontname is the font name as it appears in the printers font listings without the first letter,upto (but not including) the font size. font_style can be one of the letters R, I,or B,indicating thefont styles

14、 Roman, Italic and Bold respectively.Forinstance, if the printers font listing A shows font Nelite12I.ISO_USA, the corresponding en-try in the font description file islbpname NeliteIGroffVersion 1.18.1.4 07 April 2010 2GROLBP(1) GROLBP(1)Note that you may need to modify grolbp to add support for new

15、bitmapped fonts, since the avail-able font names and font sizes of bitmapped fonts (as documented above)are hard-coded into theprogram.For scalable fonts, printer_font_name is identical to the font name as it appears in the printersfont listing A.Forinstance, to select the Swiss font in bold style,

16、which appears in the printers font listing A asSwiss-Bold, the required lbpname command line islbpname Swiss-BoldThe argument of lbpname is case sensitive.FILES/usr/share/groff/1.18.1.4/font/devlbp/DESCDevice description file./usr/share/groff/1.18.1.4/font/devlbp/FFont description file for font F./usr/share/groff/1.18.1.4/tmac/lbp.tmacMacros for use wit

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号