PSNUP

Section: User Commands (1)
Index Return to Main Contents
 

NAME

psnup - uses pstops to merge multiple pages per sheet  

SYNOPSIS

psnup [ -q ] [ -wwidth ] [ -hheight ] [ -ppaper ] -l ] [ -2 | -4 | -8 | -h ] [ infile ] ]  

DESCRIPTION

Psnup is a script making the use of pstops easier. It sets up standard width and height parameters and Pstops rearranges pages from a PostScript document, creating a new PostScript file. The input PostScript file should follow the Adobe Document Structuring Conventions. Pstops can be used to perform a large number of arbitrary re-arrangements of Documents, including arranging for printing 2-up, 4-up, booklets, reversing, selecting front or back sides of documents, scaling, etc.

The -w option gives the width, the default is (21cm), -h option gives the height, the default is (29.7cm), and are normally specified in cm or in to convert PostScript's points (1/72 of an inch) to centimeters or inches. The -p option can be used as an alternative, to set the paper size to a3, a4, a5, letter or legal.

The -b option prevents any bind operators in the PostScript prolog from binding. This may be needed in cases where complex multi-page re-arrangements are being done.

Pstops normally prints the page numbers of the pages re-arranged; the -q option suppresses this.  

EXAMPLES

The potential use of this utility is varied but one particular use is in conjunction with psbook(1). For example, using psroff to create a PostScript document and lpr as the UNIX print spooler a typical command line might look like this:

psroff -ms file | psbook | psnup -2 | lpr

Where file is a 4 page document this command will result in a two page document printing two pages of file per page and rearranges the page order to match the input pages 4 and 1 on the first output page and pages 2 then 3 of the input document on the second output page.  

AUTHOR

Angus Duggan
Brian Colfer, University of California, San Francisco
brianc@labmed.ucsf.edu  

SEE ALSO

psbook(1), pstops(1), psroff(1)  

TRADEMARKS

PostScript is a trademark of Adobe Systems Incorporated.  

BUGS

Pstops cannot cope with documents longer than 5000 pages.


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
AUTHOR
SEE ALSO
TRADEMARKS
BUGS

This document was created by man2html, using the manual pages.
Time: 21:54:00 GMT, February 02, 2023