PSNUP

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

NAME

psnup - Insert N-up code into Postscript files  

SYNOPSIS

psnup [-pn] [-r] [-R] [-sn] files ...  

DESCRIPTION

The psnup program takes arbitrary postscript as input, and wraps it with additional postscript to implement n-up printing. The input postscript is taken from the file arguments, or stdin if no arguments are specified. The output is sent to stdout. The -pn option indicates how many pages of Postscript (or ``spots'' should be printed per piece of paper. N is constrained to be 2, 4, 8 or 16. The -r option indicates that the first spot goes in the lower right and progresses to the upper left. This is handy for when the pages have already been reversed by another program, and you are printing on a printer that reverses pages. The -R option indicates that the first spot goes in the upper left hand corner and progresses to the lower right. This is for non-reversing printers. The -sn option indicates which spot the first page of output occurs in. The defaults are: -p2, -r, and -s1, Psnup tries very hard to retain a trailing control-D if the file has one, as well as embedding the included postscript in the right places, so as to not violate the Adobe Formatting Conventions.  

CAVEATS

Psnup is written in sed and uses temporary files in order to remain small and stand-alone, but it ain't fast..  

AUTHOR

psnup shell script and this manual page were written by Chris Lewis. The postscript used to perform the n-up handling was written by Ned Batchelder.


 

Index

NAME
SYNOPSIS
DESCRIPTION
CAVEATS
AUTHOR

This document was created by man2html, using the manual pages.
Time: 10:48:21 GMT, January 11, 2023