⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lpf.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH lpf 8.SH Namelpf \- general purpose line printer filter.SH Syntax/usr/lib/lpdfilters/lpf [\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 lpffilter handles text data destined for impact printers: LP25, LP26, LP27,LA50, LA75, LA100, LA120, LA210, LG01.The filter regulates the device dependencies of the printers andperforms accounting functions. When the print job is done, .PN lpfwrites accounting records to the file specified bythe \fBaf\fP field in /etc/printcap..PPThe filter can handle plain ASCII files as well as files that have beenpreprocessed by nroff. However, it ignores escape sequences requesting superscripting and subscripting..PPYou can specify the .PN lpffilter in both the \fBof\fP and the \fBif\fP fields of the.PN /etc/printcapfile. For further information, see .MS printcap 5 .When you specify both fields, the \fBof\fP filter prints the banner page only, then stops.  The \fBif\fP filter thengains access to the printer. The\fBif\fP filter maintains accounting information..PPIf you specify the \fBof\fP field only, it prints thebanner page then stops and restarts to maintain accounting information..PPIf you specify the \fBif\fP field only, it sends the banner page directly tothe printer.  This is not a problem for most impact printers..PPFor a more detailed discussion on filters see the ``Line Printer Spooler Manual'' in the.I "ULTRIX Supplementary Documents, Volume 2: Programmer.".PP.PP OPTIONSThe arguments passed to the filter depend on its use.The \fBof\fP filter is called with thefollowing arguments:.IP "lpf \fB\-w\fP\fIwidth\fP \fB\-l\fP\fIlength\fP"The \fIwidth\fP and \fIlength\fP values come from the \fBpw\fPand \fBpl\fP fields in the .PN /etc/printcapdatabase. The \fBif\fP (or restart \fBof\fP) filter is passedthe following arguments:.IP "lpf \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".PPThe \fB\-c\fP flag is optional and supplied only when control characters are to be printed; when the \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 havedifferent values if the \fB\-w\fP and/or\fB\-z\fP options of .MS lpr 1were used to print the file.  The \fB\-n\fP and \fB\-h\fP arguments specify the login name and host name of the job owner. Thesearguments are used to recordaccounting information. The \fB\-i\fP option specifies the amount of indentation to be used. The last argument isthe name of the accounting file specified from the \fBaf\fP field in the .PN /etc/printcapdatabase..SH DiagnosticsThe \fBlf\fP field (default /dev/null) in the .PN /etc/printcap database specifies error logging file name..SH Files.TP 15.PN /etc/printcapPrinter capabilities database.TP.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 + -