pdfbook2(1)
π pdfbook2 β the manual, but make it cute π
okay so bestie, welcome to pdfbook2, the little icon that turns your regular PDFs into actual booklets you can print and fold like a real-life zine. she's giving craft night, she's giving printer energy. let's go. π
β¨ NAME β¨
pdfbook2 β transform pdf files into booklets for double-sided printing π
πΈ SYNOPSIS πΈ
pdfbook2 [ options ] INPUT [ INPUT, ...]
π¦ DESCRIPTION π¦
so basically: you give her some INPUT PDF files and she hands you back print-ready PDF files formatted for booklet printing. the resulting files need to be printed in landscape / long edge double sided printing, okay? don't come for her if you print them wrong, she told you. β
the default paper format depends on the locale and is chosen by pdfjam. you can set it yourself with the --paper option if the vibe is off. π
before the pdf gets composed, the INPUT file is cropped to the relevant area so all that unnecessary white space justβ¦ leaves. no cap. and in this process, all pages are cropped to the same dimensions β she's consistent like that. you can also define extra margins at the edges of the booklet and in the middle, where the binding happens. that's the little spine moment, the main character of the whole thing. π
the OUTPUT gets written to INPUT-book.pdf. existing files will be overwritten β yes really, she will not hesitate, so back up your stuff bestie. π and all input files are processed seperately.
π EXAMPLE π
to simply create a booklet from input.pdf you can use
pdfbook2 input.pdf
to create input-book.pdf. slay. π
to select a special type of paper you can do
pdfbook2 --paper=letter input.pdf
for letter, or
pdfbook2 --paper=a4paper input.pdf
for standard A4. πΈ
to increase the inner margin for binding use
pdfbook2 --inner-margin=200 input.pdf
to increase the default value of 150. π
you can submit multiple files to the script for processing like
pdfbook2 input1.pdf input2.pdf
which will result in input1-book.pdf and input2-book.pdf. two booklets, two vibes, one command. iconic. π
β¨ OPTIONS β¨
--versionβ show the program's version number and exit π«Ά-h,--helpβ show the help message and exit
π GENERAL π
-p,--paper=STRβ the format of the output paper dimensions, as a latex keyword (e.g.a4paper,letterpaper,legalpaper, ...) π-s,--short-edgeβ format the booklet for short-edge double-sided printing-n,--no-cropβ prevent the cropping to the content area (she'll leave your whitespace alone, respect) π§
π MARGINS π
-o,--outer-margin=INTβ defines the outer margin in the booklet (default:40)-i,--inner-margin=INTβ defines the inner margin between the pages in the booklet (default:150) β this is the binding baddie π-t,--top-margin=INTβ defines the top margin in the booklet (default:30)-b,--bottom-margin=INTβ defines the bottom margin in the booklet (default:30)
π ADVANCED π
--signature=INTβ define the signature for the booklet handed topdfjam. needs to be multiple of 4 (default:4)--signature*=INTβ same as--signature--resolution=INTβ resolution used by ghostscript inbp(default:72) π»
π SEE ALSO π
pdfbook(1), pdfjam(1), pdfcrop(1)
π ABOUT π
pdfbook2v1.4 (<https://github.com/jenom/pdfbook2>)- (c) 2015 - 2020 Johannes Neumann (<http://www.neumannjo.de>)
- licensed under GPLv3 (<http://www.gnu.org/licenses/gpl-3.0>)
- based on
pdfbookby David Firth with help from Marco Pessotto
π LICENSE π
this program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details. you should have received a copy of the GNU General Public License along with this program. if not, see <http://www.gnu.org/licenses/>.
okay that's the whole page bestie, no notes, everything's there, we didn't skip a single flag π β¨
and that's a wrap!! this whole thing is pdfbook2 v1.4 β the source lives at <https://github.com/jenom/pdfbook2> β and the page itself is dated January 22, 2020. mwah. π go print a booklet, you deserve it. ππ¦π
π¦ where this page comes from
- arch rolling: texlive-doc 2026.1-1 Β· GPL
- debian bookworm: texlive-extra-utils 2022.20230122-4
- debian trixie: texlive-extra-utils 2024.20250309-2
- fedora 43: texlive-pdfbook2 11:svn53521-93.fc43 Β· GPL-3.0-or-later
- fedora 43: texlive-pdfbook2 11:svn53521-95.fc43.1 Β· GPL-3.0-or-later
- fedora 44: texlive-pdfbook2 12:svn76924-105.fc44 Β· GPL-3.0-or-later
- fedora 44: texlive-pdfbook2 12:svn76924-111.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: texlive-pdfbook2-doc 2025.221.1.4svn53521-160000.3.1 Β· GPL-2.0-or-later
- ubuntu jammy: texlive-extra-utils 2021.20220204-1
- ubuntu noble: texlive-extra-utils 2023.20240207-1
- ubuntu questing: texlive-extra-utils 2024.20250309-2
- ubuntu resolute: texlive-extra-utils 2025.20260124-1
- ubuntu stonking: texlive-extra-utils 2026.20260711-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms