2005-05-02 15:01:42 +02:00
|
|
|
.TH PR 1
|
|
|
|
.SH NAME
|
|
|
|
pr \- print a file
|
|
|
|
.SH SYNOPSIS
|
|
|
|
\fBpr\fR [\fB\-Mfnt\fR]\fR [\fB\-h \fIn\fR] [\fB\-l \fIn\fR] [\fB\-w \fIn\fR] [\fB\-\fRcolumns\fR] [\fB+\fIpage\fR] [\fIfile\fR] ...\fR
|
|
|
|
.br
|
|
|
|
.de FL
|
|
|
|
.TP
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
\\$2
|
|
|
|
..
|
|
|
|
.de EX
|
|
|
|
.TP 20
|
|
|
|
\\fB\\$1\\fR
|
|
|
|
# \\$2
|
|
|
|
..
|
|
|
|
.SH OPTIONS
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 5
|
|
|
|
.B \-M
|
|
|
|
# Use MINIX style line number
|
|
|
|
.TP 5
|
|
|
|
.B \-f
|
|
|
|
# Do not fold long lines
|
|
|
|
.TP 5
|
|
|
|
.B \-h
|
|
|
|
# Take next argument as page header
|
|
|
|
.TP 5
|
|
|
|
.B \-l
|
|
|
|
# Sets page length in lines
|
|
|
|
.TP 5
|
|
|
|
.B \-n
|
|
|
|
# Number the output lines
|
|
|
|
.TP 5
|
|
|
|
.B \-t
|
|
|
|
# Do not print page header or trailer
|
|
|
|
.TP 5
|
|
|
|
.B \-w
|
|
|
|
# Sets line length in characters
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH EXAMPLES
|
2012-03-31 23:44:29 +02:00
|
|
|
.TP 20
|
|
|
|
.B pr \-w85 \-l60 file
|
|
|
|
# Use 85 character line, 60 line page
|
|
|
|
.TP 20
|
|
|
|
.B pr \-3 file
|
|
|
|
# List \fIfile\fP three columns to a page
|
|
|
|
.TP 20
|
|
|
|
.B pr +4 file
|
|
|
|
# Start printing with page 4
|
2005-05-02 15:01:42 +02:00
|
|
|
.SH DESCRIPTION
|
|
|
|
.PP
|
|
|
|
.I Pr
|
|
|
|
formats one or more files for printing.
|
|
|
|
If no files are specified, \fIstdin\fR is printed.
|
|
|
|
Options are provided for setting the width and height of the page, the
|
|
|
|
number of columns to use (default 1), and the page to start with, among others.
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR lp (1).
|