PSNUP
Section: User Commands (1)
Updated: 5 March 1991
Index
Return to Main Contents
NAME
psnup - Print multiple pages on a sheet of paper.
SYNOPSIS
psnup
[
-rG
] [
-nnupspec
] [
-Spapersize
] [
-spagesize
] [
-poutputfile
] [
-Pprinter
] [
-dprinter
] [
file
]
DESCRIPTION
psnup
reads in a POSTSCRIPT
file
(or the standard input if no file is named), and if the
input conforms to the POSTSCRIPT file structuring conventions,
provides page rotation, printing of multiple pages on a sheet
of paper (n-up printing), selection of page and paper sizes,
and writes the resulting file on the standard output. The output
may be directed to a file.
The possible options are:
- -n nupspec
-
nupspec
may be a single number, specifying how many POSTSCRIPT pages will be
printed on each sheet of paper, or a specification of the form: n x m,
where n and m specify rows and columns, respectively. Rows refers to
the number of page images across a sheet of paper, columns to the
number of page images down a sheet of paper. The specification -n 2x2
is equivalent to the specification -n 4.
If the number of pages on a sheet is pecified as a single
number, the number must be a power of 2.
- -r
-
rotate the page 90 degrees i(landscape mode).
When using the n-up capabilitiy of psnup, this option
is preferable to the landscape option of pslpr because the rotation of the page
is taken into account when laying out multiple pages on a sheet of paper.
- -s papersize
-
specifies size of paper for which output is to be formatted. The
default is Letter ( 8.5" x 11" ).
- -S pagesize
-
Species the size of pages being printed n-up (i.e., the original size). The
default is Letter ( 8.5" x 11" ).
- -G
-
Format the document in psnup's "gaudy" mode, with borders around the virtual
pages. If no n-up specification is given, the input file is printed with
four virtual pages per sheet of paper.
- -p outputfile
-
Write output to the specified file. -p- means write output to stdout.
- -P printername
-
- -d printername
-
use
printername's
PPD file for information about available paper sizes. The
result is
not
spooled to the printer.
EXAMPLES
The following command reads a POSTSCRIPT file called printfile.ps
and formats it with 4 pages on a sheet of paper. The file is
piped through pslpr to be printed on the printer called ps.
-
psnup -n4 printfile.ps | pslpr -P ps
In this example a textfile is processed by enscript, creating a POSTSCRIPT
file, which is piped to
psnup,
which rotates the file and formats it with 3 virtual pages across
and 2 virtual pages up and down on a page of paper.
The formatted file is printed by piping the file through pslpr.
-
enscript -p- textfile | psnup -r -n 3x2 | pslpr
In this example a textfile is processed by enscript, creating a POSTSCRIPT
file, which is piped to psnup, formatted in gaudy mode (-G option),
with four virtual pages per actual page of output.
The formatted file is printed by piping the file through pslpr. The
result is printed pages with four original text pages on each sheet, with each
original text page surrounded by a border.
-
enscript -p- textfile | psnup -G -n4 | pslpr
FILES
- /usr/lib/transcript/psnup.pro
-
prologue for psnup files.
SEE ALSO
transcript(1), enscript(1), pslpr (1), postscript(7).
DIAGNOSTICS
Should be self explanatory.
AUTHOR
Adobe Systems Incorporated
NOTES
POSTSCRIPT is a registered trademark of Adobe Systems Incorporated.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLES
-
- FILES
-
- SEE ALSO
-
- DIAGNOSTICS
-
- AUTHOR
-
- NOTES
-
This document was created by
man2html,
using the manual pages.
Time: 13:53:04 GMT, September 25, 2024