lp.1
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 85 行
1
85 行
.TH lp 1.SH Namelp \- send requests to an LP line printer.SH Syntax.NXR "lp command".B lp[\fB\-c\fR] [\fB\-d \fIdest\fR\|][\fB\-n \fInumber\fR\|][\-] [\fIfiles\fR].SH DescriptionThe.PN lpcommand arranges for the named files and associated information(collectively called a \fIrequest\fR) to beprinted by a line printer.If no file names are mentioned, the standard input is assumed.When a file name is designated by a minus sign.B (\-)it stands for the standard input and may be suppliedon the command line in conjunction with named.I files.The orderin which.I filesappearis the same orderin which they are printed..PPThis command exists for X/OPEN compatibility..SH OptionsThe following options to.PN lpmay appear in any order and may be intermixed with file names:.IP \fB\-c\fR 12Makes copies of the.I filesto be printed immediately when.PN lpis invoked.Normally,.I filesare not copied, but are linked whenever possible.If the.B \-coption is not given, then the user should be careful not to removeany of the.I filesbefore the request has been printed in its entirety.It should also be noted that without the.B \-coption, any changes made to the named.I filesafter the request is made but before it is printedare reflected in the printed output..IP "\fB\-d \fIdest\fR" Chooses.I destas the printer that is to do the printing.If.I destis a printer, then the requestis printed on that specific printer.By default,.I destis taken from the environment variable PRINTERif it is set.Otherwise, a default destination, lp, is used..IP "\fB\-n \fInumber\fR" Prints.I numbercopies (default of 1) of the output..SH Files.nf.ta \w'/usr/spool/*/cf* 'u/etc/passwd personal identification/etc/printcap printer capabilities data base/usr/lib/lpd* line printer daemons/usr/spool/* directories used for spooling/usr/spool/*/cf* daemon control files/usr/spool/*/df* data files specified in cf files/usr/spool/*/tf* temporary copies of cf files.fi.SH See Alsolpq(1), lpr(1), lprm(1), pr(1), symlink(2), printcap(2), lpc(8), lpd(8)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?