This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.
psnup---multiple pages per sheet
psnup [ -w\Larg{width} ] [ -h\Larg{height} ] [ -p\Larg{paper} ] [ -l ] [ -r ] [ -f ] [ -c ] [ -m\Larg{margin} ] [ -b\Larg{border} ] [ -d\Larg{lwidth} ] [ -s\Larg{scale} ] [ -\Larg{nup} ] [ -q ] [ infile [ outfile ] ]
The program psnup, written by Angus Duggan, puts multiple logical pages onto each physical sheet of paper. The input PostScript file should follow the Adobe Document Structuring Conventions.
lwidth
parameter is omitted, a default linewidth of
1 pt is assumed.
The linewidth is relative to the original page dimensions,
i.e. it is scaled up or down with the rest of the page.
margin
around the whole page.
This is useful for sheets of ``thumb-nail' pages,
because the normal page margins are reduced
by putting multiple pages on a single sheet.
a3
, a4
, a5
, b5
, letter
, legal
,
tabloid
, statement
, executive
, folio
,
quarto
or 10x14
(default paper size is a4
).
The potential uses of this utility are varied but one particular use is in conjunction with psbook. You can, for instance, use groff to create a PostScript document and lpr as the UNIX print spooler. Then a typical command could be something like the following:
groff -Tps -ms file | psbook | psnup -2 | lprWhen ``
file
'' is a four-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.