Content-type: text/html Man page of PSNUP

PSNUP

Section: User Commands (1)
Updated: 19 August 1992
Index Return to Main Contents
 

NAME

psnup---print multiple pages on a sheet of paper.  

SYNOPSIS

psnup [ -rGf ] [ -nnupspec ] [ -Spapersize ] [ -spagesize ] [ -wpagewidth ] [ -hpageheight ]
[ -poutputfile ] [ -Pprinter ] [ -dprinter ] [ file ]  

DESCRIPTION

psnup reads in a POSTSCRIPT language file (or the standard input if no file is named) and, if the input conforms to the POSTSCRIPT language document 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:

-nnupspec
nupspec may be a single number specifying how many 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 -n2x2 is equivalent to the specification -n4. If the number of pages on a sheet is specified as a single number, the number must be a power of 2.
-r
rotates the page 90 degrees (landscape mode). When using the n-up capability 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.
-Spapersize
specifies size of paper for which output is to be formatted. The default is Letter (8.5 x 11).
-spagesize
specifies the size of pages being printed n-up (i.e., the original size). The default is Letter (8.5 x 11).
-wpagewidth
if the size of the pages being printed n-up isn't a standard size, you can specify the width and height instead. Numbers followed by "i" will be interpreted in inches, by "m" in millimeters, and numbers without qualification will be interpreted as specifying the distance in points.
-hpageheight
specifies the height of the page being printed n-up.
-G
formats 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.
-poutputfile
writes output to the specified file. -p- means write output to standard output.
-Pprintername
-dprintername
uses printername's POSTSCRIPT Printer Description file for information about available paper sizes. The result is not spooled to the printer.

 

EXAMPLES

The following command reads a POSTSCRIPT language file called printfile.ps and formats it with four 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 -Pps

In this example, a text file is processed by enscript, creating a POSTSCRIPT language file, which is piped to psnup, which rotates the file and formats it with three virtual pages across and two virtual pages down the paper. The formatted file is printed by piping the file through pslpr.

enscript -p- textfile | psnup -r -n3x2 | pslpr

In this example, a text file is processed by enscript, creating a POSTSCRIPT language 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

XPSLIBDIRX/psnup.pro
the prologue for psnup files.
 

SEE ALSO

transcript(1), enscript(1), pslpr (1), postscript(7).  

AUTHOR

Adobe Systems Incorporated  

NOTES

POSTSCRIPT is a registered trademark of Adobe Systems Incorporated.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
FILES
SEE ALSO
AUTHOR
NOTES

This document was created by man2html, using the manual pages.
Time: 02:42:48 GMT, October 02, 2010