📄 lg02of.8
字号:
.TH lg02of 8.SH Namelg02of \- LG02 Matrix Line Printer.SH Syntax/usr/lib/lpdfilters/lg02of [\fB\-c\fP] [\fB\-n\fP\fIlogin\fP] [\fB\-h\fP\fIhost\fP] [\fB\-w\fP\fIwidth\fP] [\fB\-l\fP\fInum\fP] [\fB\-i\fP\fIindent\fP] [\fBaccounting file\fP].SH DescriptionThe .PN lg02offilter is used to filter text data destined for the LG02 line printer.The filter handles the device dependencies of the printers and performsaccounting functions. Accounting records are written to the file specified bythe \fBaf\fP field in .PN /etc/printcap at the time of completion for each job..PPThe filter can handle plain ASCII files and files thathave been preprocessed by nroff.The .PN lg02of filter translates nroff control sequences for underlining, superscripting andsubscripting into the correct LG02 control sequences..PPThe .PN lg02offilter can be the specified filter in boththe \fBof\fP and the \fBif\fP fields in the.PN /etc/printcapfile. For further information, see .MS printcap 5 .When both fields are specified the \fBof\fP filter is used onlyto print the banner page. It is then stopped to allowthe \fBif\fP filter access to the printer. The\fBif\fP filter maintains accounting information..PPIf the \fBof\fP field is the only one specified the filter is used to print thebanner page. It is then stopped and restarted.This allows the \fBof\fP filter to beused to maintain accounting information..PPIf the \fBif\fP field is the only one specified thebanner page will be sent directly tothe printer. If the printer has been left in an undeterminedstate the banner page may notprint correctly..PPThe best results will be obtained when the filter is specifiedin both the \fBof\fP and \fBif\fP fields.For a more detailed discussion on filters see the ``Line Printer Spooler Manual'' in the .I "ULTRIX Supplementary Documents, Volume 2: Programmer.".PP.SH OptionsThe arguments passed to the filter depend on its use.The \fBof\fP filter is called with thefollowing arguments:.IP "lg02of \fB\-w\fP\fIwidth\fP \fB\-l\fP\fIlength\fP"The \fIwidth and length\fP values come from the \fBpw\fP and \fBpl\fP fields in the .PN /etc/printcapdatabase. The \fBif\fR (or restarted of) filter is passed the following arguments:.IP " lg02of \fB\-c\fP \fB\-n\fP\fIlogin\fP \fB\-h\fP\fIhost\fP \fB\-w\fP\fIwidth\fP \fB\-l\fP\fInum\fP \fB\-i\fP\fIindent\fP \fBaccounting file\fP"The \fB\-c\fP flag is optional, and supplied only when controlcharacters are to be printed, that is, whenthe \fB\-l\fP option of .MS lpr 1is used to print the file. The \fB\-w\fP and \fB\-l\fP arguments are the same as for the \fBof\fP filter, however,they may have different values if the \fB\-w\fP and/or\fB\-z\fP options of .MS lpr 1were used to print the file.If the value of the width is greater than80 the job will be printed in landscape mode with aslightly smaller font. The length of the page isassumed to be 66 regardless of the length specified.The \fB\-n\fP and \fB\-h\fP arguments specify the login name and host name of the job owner.These arguments are used to recordaccounting information. The \fB\-i\fP option specifies the amount of indentation to be used. The last argument is the name of the accounting file specified from the \fBaf\fP field in the .PN /etc/printcap database..SH DiagnosticsAre sent to wherever .PN /etc/printcapspecifies with the \fBlf\fP field..SH Files.PN /etc/printcap.br.PN /dev/lp?.SH See Alsolpr(1), pr(1), printcap(5), lpd(8), MAKEDEV(8), pac(8).br``Line Printer Spooler Manual,''.I "ULTRIX Supplementary Documents, Volume 2: Programmer"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -