rfc1179.txt
来自「RFC 的详细文档!」· 文本 代码 · 共 787 行 · 第 1/2 页
TXT
787 行
RFC 1179 LPR August 1990
the host specified by the 'H' entry when the printing operation ends
(successfully or unsuccessfully).
7.7 N - Name of source file
+---+------+----+
| N | Name | LF |
+---+------+----+
Command code - 'N'
Operand - File name
This command specifies the name of the file from which the data file
was constructed. It is returned on a query and used in printing with
the 'p' command when no title has been given. It must be 131 or
fewer octets.
7.8 P - User identification
+---+------+----+
| P | Name | LF |
+---+------+----+
Command code - 'P'
Operand - User id
This command specifies the user identification of the entity
requesting the printing job. This command must be included in the
control file. The user identification must be 31 or fewer octets.
7.9 S - Symbolic link data
+---+--------+----+-------+----+
| S | device | SP | inode | LF |
+---+--------+----+-------+----+
Command code - 'S'
Operand 1 - Device number
Operand 2 - Inode number
This command is used to record symbolic link data on a Unix system so
that changing a file's directory entry after a file is printed will
not print the new file. It is ignored if the data file is not
symbolically linked.
McLaughlin [Page 8]
RFC 1179 LPR August 1990
7.10 T - Title for pr
+---+-------+----+
| T | title | LF |
+---+-------+----+
Command code - 'T'
Operand - Title text
This command provides a title for a file which is to be printed with
either the 'p' command. (It is ignored by all of the other printing
commands.) The title must be 79 or fewer octets.
7.11 U - Unlink data file
+---+------+----+
| U | file | LF |
+---+------+----+
Command code - 'U'
Operand - File to unlink
This command indicates that the specified file is no longer needed.
This should only be used for data files.
7.12 W - Width of output
+---+-------+----+
| W | width | LF |
+---+-------+----+
Command code - 'W'
Operand - Width count
This command limits the output to the specified number of columns for
the 'f', 'l', and 'p' commands. (It is ignored for other output
generating commands.) The width count operand must be all decimal
digits. It may be silently reduced to some lower value. The default
value for the width is 132.
7.13 1 - troff R font
+---+------+----+
| 1 | file | LF |
+---+------+----+
Command code - '1'
Operand - File name
This command specifies the file name for the troff R font. [1] This
is the font which is printed using Times Roman by default.
McLaughlin [Page 9]
RFC 1179 LPR August 1990
7.14 2 - troff I font
+---+------+----+
| 2 | file | LF |
+---+------+----+
Command code - '2'
Operand - File name
This command specifies the file name for the troff I font. [1] This
is the font which is printed using Times Italic by default.
7.15 3 - troff B font
+---+------+----+
| 3 | file | LF |
+---+------+----+
Command code - '3'
Operand - File name
This command specifies the file name for the troff B font. [1] This
is the font which is printed using Times Bold by default.
7.16 4 - troff S font
+---+------+----+
| 4 | file | LF |
+---+------+----+
Command code - '4'
Operand - File name
This command specifies the file name for the troff S font. [1] This
is the font which is printed using Special Mathematical Font by
default.
7.17 c - Plot CIF file
+---+------+----+
| c | file | LF |
+---+------+----+
Command code - 'c'
Operand - File to plot
This command causes the data file to be plotted, treating the data as
CIF (CalTech Intermediate Form) graphics language. [2]
McLaughlin [Page 10]
RFC 1179 LPR August 1990
7.18 d - Print DVI file
+---+------+----+
| d | file | LF |
+---+------+----+
Command code - 'd'
Operand - File to print
This command causes the data file to be printed, treating the data as
DVI (TeX output). [3]
7.19 f - Print formatted file
+---+------+----+
| f | file | LF |
+---+------+----+
Command code - 'f'
Operand - File to print
This command cause the data file to be printed as a plain text file,
providing page breaks as necessary. Any ASCII control characters
which are not in the following list are discarded: HT, CR, FF, LF,
and BS.
7.20 g - Plot file
+---+------+----+
| g | file | LF |
+---+------+----+
Command code - 'g'
Operand - File to plot
This command causes the data file to be plotted, treating the data as
output from the Berkeley Unix plot library. [1]
7.21 k - Reserved for use by Kerberized LPR clients and servers.
7.22 l - Print file leaving control characters
+---+------+----+
| l | file | LF |
+---+------+----+
Command code - 'l' (lower case L)
Operand - File to print
This command causes the specified data file to printed without
filtering the control characters (as is done with the 'f' command).
McLaughlin [Page 11]
RFC 1179 LPR August 1990
7.23 n - Print ditroff output file
+---+------+----+
| n | file | LF |
+---+------+----+
Command code - 'n'
Operand - File to print
This command prints the data file to be printed, treating the data as
ditroff output. [4]
7.24 o - Print Postscript output file
+---+------+----+
| o | file | LF |
+---+------+----+
Command code - 'o'
Operand - File to print
This command prints the data file to be printed, treating the data as
standard Postscript input.
7.25 p - Print file with 'pr' format
+---+------+----+
| p | file | LF |
+---+------+----+
Command code - 'p'
Operand - File to print
This command causes the data file to be printed with a heading, page
numbers, and pagination. The heading should include the date and
time that printing was started, the title, and a page number
identifier followed by the page number. The title is the name of
file as specified by the 'N' command, unless the 'T' command (title)
has been given. After a page of text has been printed, a new page is
started with a new page number. (There is no way to specify the
length of the page.)
7.26 r - File to print with FORTRAN carriage control
+---+------+----+
| r | file | LF |
+---+------+----+
Command code - 'r'
Operand - File to print
This command causes the data file to be printed, interpreting the
McLaughlin [Page 12]
RFC 1179 LPR August 1990
first column of each line as FORTRAN carriage control. The FORTRAN
standard limits this to blank, "1", "0", and "+" carriage controls.
Most FORTRAN programmers also expect "-" (triple space) to work as
well.
7.27 t - Print troff output file
+---+------+----+
| t | file | LF |
+---+------+----+
Command code - 't'
Operand - File to print
This command prints the data file as Graphic Systems C/A/T
phototypesetter input. [5] This is the standard output of the Unix
"troff" command.
7.28 v - Print raster file
+---+------+----+
| v | file | LF |
+---+------+----+
Command code - 'v'
Operand - File to print
This command prints a Sun raster format file. [6]
7.29 z - Reserved for future use with the Palladium print system.
REFERENCES and BIBLIOGRAPHY
[1] Computer Science Research Group, "UNIX Programmer's Reference
Manual", USENIX, 1986.
[2] Hon and Sequin, "A Guide to LSI Implementation", XEROX PARC,
1980.
[3] Knuth, D., "TeX The Program".
[4] Kernighan, B., "A Typesetter-independent TROFF".
[5] "Model C/A/T Phototypesetter", Graphic Systems, Inc. Hudson, N.H.
[6] Sun Microsystems, "Pixrect Reference Manual", Sun Microsystems,
Mountain View, CA, 1988.
McLaughlin [Page 13]
RFC 1179 LPR August 1990
Security Considerations
Security issues are not discussed in this memo.
Author's Address
Leo J. McLaughlin III
The Wollongong Group
1129 San Antonio Road
Palo Alto, CA 94303
Phone: 415-962-7100
EMail: ljm@twg.com
McLaughlin [Page 14]
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?