以 PDF 格式下載這本書 (7229 KB)
lpr(1B)Name | Synopsis | Description | Options | Operands | Usage | Exit Status | Files | Attributes | See Also | Diagnostics | Notes Name
Synopsis
/usr/ucb/lpr [-P destination] [-# number] [-C class]
[-J job] [-T title] [-i [indent]]
[-1 | -2 | -3 | -4 font] [-w cols] [-m] [-h] [-s]
[-filter_option] [file]...
DescriptionThe lpr utility submits print requests to a destination. lpr prints files (file) and associated information, collectively called a print request. If file is not specified, lpr assumes the standard input. The print client commands locate destination information using the “printers” database in the name service switch. See nsswitch.conf(4), printers(4), and printers.conf(4) for details. Print requests with more than 52 files specified is truncated to 52 files when the BSD print protocol is used for job submission. Options
The following options are supported: Operands
The following operand is supported: UsageSee largefile(5) for the description of the behavior of lpr when encountering files greater than or equal to 2 Gbyte ( 231 bytes). Exit StatusFiles
AttributesSee attributes(5) for descriptions of the following attributes:
See Alsohostname(1), lp(1), lpc(1B), lpq(1B), lprm(1B), lpstat(1), mail(1), plot(1B), pr(1), troff(1), lpadmin(1M), nsswitch.conf(4), printers(4), printers.conf(4), attributes(5), largefile(5), standards(5) Diagnostics
Noteslpr is CSI-enabled except for the printer name. Print jobs are assumed to contain one type of data. That type of data is either specified on the command line or autodetected (simple, PostScript) based on the contents of the first file in the job. When IPP is in use, the user is prompted for a passphrase if the remote print service is configured to require authentication. Name | Synopsis | Description | Options | Operands | Usage | Exit Status | Files | Attributes | See Also | Diagnostics | Notes |
|||||||||