summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man1/psbook.1
blob: 5efc125481c09b17ad3b1e3ab7ff87289ffd1b9e (plain)
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
.TH PSPDFUTILS "1" "2024\-04\-08" "pspdfutils 3.3.2" "User Commands"
.SH NAME
pspdfutils
.SH SYNOPSIS
.B pspdfutils
[OPTION...] [INFILE [OUTFILE]]
.SH DESCRIPTION
.PP
.B psbook
uses
.B pstops
to rearrange pages from a PDF or PostScript document into \[oq]signatures\[cq] for
printing books or booklets, creating a new file.
A \[oq]signature\[cq], often called a \[oq]section\[cq] in bookbinding, is a
series of sheets that are folded together to be stitched into the book's
binding. Each sheet has two pages per side; the number of pages in a
signature must therefore be a multiple of four.
Extra blank sides will be added if the file does not contain a multiple of
four pages.
.PP
The output should be printed 2-up (this can be achieved with
.BR psnup )
and duplex, as for short-edge binding. Alternatively, the output of
.B psnup
can be passed through the following command:
.sp
pstops '2:0(0,0),1U(1w,1h)'
.sp
to rotate the verso page upside-down, and the result can be printed duplex
as for long-edge binding.
Rearrange pages in a PDF or PostScript document into signatures.

.TP
\fBINFILE\fR
`\-' or no INFILE argument means standard input

.TP
\fBOUTFILE\fR
`\-' or no OUTFILE argument means standard output

.SH OPTIONS
.TP
\fB\-s\fR \fI\,SIGNATURE\/\fR, \fB\-\-signature\fR \fI\,SIGNATURE\/\fR
number of pages per signature;
0 = all pages in one signature [default];
1 = do not rearrange the pages;
otherwise, a multiple of 4

.TP
\fB\-v\fR, \fB\-\-version\fR
show program's version number and exit

.TP
\fB\-q\fR, \fB\-\-quiet\fR
don't show progress

.SH COMMENTS
PAGES is a comma\-separated list of pages and page ranges; see pstops(1)
for more details.

.SH AUTHOR
.nf
Reuben Thomas <rrt@sc3d.org>
.fi