1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
.TH PSNUP 1 "PSUtils Release 1 Patchlevel 17"
.SH NAME
psnup \- multiple pages per sheet
.SH SYNOPSIS
.B psnup
[
.B \-w\fIwidth\fR
] [
.B \-h\fIheight\fR
] [
.B \-p\fIpaper\fR
] [
.B \-W\fIwidth\fR
] [
.B \-H\fIheight\fR
] [
.B \-P\fIpaper\fR
] [
.B \-l
] [
.B \-r
] [
.B \-f
] [
.B \-c
] [
.B \-m\fImargin\fR
] [
.B \-b\fIborder\fR
] [
.B \-d\fIlwidth\fR
] [
.B \-s\fIscale\fR
] [
.B \-\fInup\fR
] [
.B \-q
] [
.I infile
[
.I outfile
] ]
.SH DESCRIPTION
.I Psnup
puts multiple logical pages onto each physical sheet of paper.
The input PostScript file should follow the Adobe Document Structuring
Conventions.
.PP
The
.I \-w
option gives the paper width, and the
.I \-h
option gives the paper height,
normally specified in
.B "cm"
or
.B "in"
to convert
PostScript's points (1/72 of an inch)
to centimeters or inches.
The
.I \-p
option can be used as an alternative, to set the paper size to
.B a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto
or
.B 10x14.
The default paper size is
.B a4.
The
.I \-W, \-H,
and
.I \-P
options set the input paper size, if it is different from the output
size. This makes it easy to impose pages of one size on a different size of
paper.
.PP
The
.I \-l
option should be used for pages which are in landscape orientation (rotated 90
degrees anticlockwise). The
.I \-r
option should be used for pages which are in seascape orientation (rotated 90
degrees clockwise), and the
.I \-f
option should be used for pages which have the width and height interchanged,
but are not rotated.
.PP
.I Psnup
normally uses `row-major' layout, where adjacent pages are placed in rows
across the paper.
The
.I \-c
option changes the order to `column-major', where successive pages are placed
in columns down the paper.
.PP
A margin to leave around the whole page can be specified with the
.I \-m
option. This is useful for sheets of `thumbnail' pages, because the normal
page margins are reduced by putting multiple pages on a single sheet.
.PP
The
.I \-b
option is used to specify an additional margin around each page on a sheet.
.PP
The
.I \-d
option draws a line around the border of each page, of the specified width.
If the \fIlwidth\fR parameter is omitted, a default linewidth of 1 point is
assumed. The linewidth is relative to the original page dimensions,
\fIi.e.\fR it is scaled down with the rest of the page.
.PP
The scale chosen by
.I psnup
can be overridden with the
.I \-s
option. This is useful to merge pages which are already reduced.
.PP
The
.I \-\fInup\fR
option selects the number of logical pages to put on each sheet of paper. This
can be any whole number;
.I psnup
tries to optimise the layout so that the minimum amount of space is wasted. If
.I psnup
cannot find a layout within its tolerance limit, it will abort with an error
message. The alternative form
.I \i \fInup\fR
can also be used, for compatibility with other n-up programs.
.PP
.I Psnup
normally prints the page numbers of the pages re-arranged; the
.I \-q
option suppresses this.
.SH EXAMPLES
The potential use of this utility is varied but one particular
use is in conjunction with
.I psbook(1).
For example, using groff to create a PostScript document and lpr as
the
.SM UNIX
print spooler a typical command line might look like this:
.sp
groff -Tps -ms \fIfile\fP | psbook | psnup -2 | lpr
.sp
Where file is a 4 page document this command will result in a
two page document printing two pages of \fIfile\fP 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.
.SH AUTHOR
Copyright (C) Angus J. C. Duggan 1991-1995
.SH "SEE ALSO"
psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psmerge(1), fixscribeps(1), getafm(1), fixdlsrps(1), fixfmps(1), fixmacps(1), fixpsditps(1), fixpspps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), extractres(1), includeres(1)
.SH TRADEMARKS
.B PostScript
is a trademark of Adobe Systems Incorporated.
.SH BUGS
.I Psnup
does not accept all DSC comments.
|