Manual Page Result
0
Command: pr | Section: 1 | Source: UNIX v10 | File: pr.1
PR(1) General Commands Manual PR(1)
NAME
pr - print file
SYNOPSIS
pr [ option ... ] [ file ... ]
DESCRIPTION
Pr produces a printed listing of one or more files. The output is sep-
arated into pages headed by a date, the name of the file or a specified
header, and the page number. For no file arguments, or for a file ar-
gument pr prints its standard input.
Options apply to all following files but may be reset between files:
-n Produce n-column output.
+n Begin printing with page n.
-b Balance columns on last page, in case of multi-column output.
-d Double space.
-h Take the next argument as a page header (file by default).
-f Use formfeeds to separate pages. Pause, ring bell, and wait for
newline before beginning.
-ln Take the length of the page to be n lines instead of the default
66.
-m Print all files simultaneously, each in one column.
-n Number the lines of each file.
-on Offset the left margin n character positions.
-p Between pages pause, ring bell, and wait for newline.
-sc Separate columns by the single character c instead of aligning
them with white space. A missing c is taken to be a tab.
-t Do not print the 5-line header or the 5-line trailer normally
supplied for each page.
-wn For purposes of multi-column output, take the width of the page
to be n characters instead of the default 72.
Inter-terminal messages via write(1) are forbidden during a pr.
FILES
to suspend messages
SEE ALSO
cat(1), lp(1), thinkblt(9.1)
DIAGNOSTICS
There are no diagnostics when pr is printing on a terminal.
PR(1)