Author: | Hartmut Goebel <h.goebel@crazy-compilers.com> |
---|---|
Version: | Version 0.1.0 |
Copyright: | 2010-2023 by Hartmut Goebel |
Licence: | GNU Affero General Public License v3 or later (AGPLv3+) |
Manual section: | 1 |
pdfbook <options> infile outfile
pdfbook can be used to create a large book by building it from multple pages and/or printing it on large media. It expects as input a PDF file, normally printing on a single page. The output is again a PDF file, maybe containing multiple pages together building the book.
pdfbook rearranges pages from a PDF document into "signatures" for printing books or booklets, creating a new PDF file. A signature is a group of pages in a document corresponding to sheets of paper folded and bound; these pages are normally not in sequential order in a document. For example, in a document with eight-page signatures, page 8 and page 1 might both be printed on the same sheet of paper.
To rearrange the pages of file newsletter.pdf into a signature and write it to the file newsletter.bound.pdf, type:
pdfbook newsletter.pdf newsletter.bound.pdf
By default, pdfbook uses one signature for the entire file. If the file doesn't contain a multiple of four pages, it adds blank pages to the end.
To specify the size of the signature to use - in other words, the number of pages that will appear on a single piece of paper - give the number as an argument to the -s option. Signature size is always a multiple of four.
To rearrange the pages of file newsletter.pdf into an eight-sided signature and write it to newsletter.bound.pdf, type:
pdfbook -s8 newsletter.pdf newsletter.bound.pdf
-h, --help | Show help message and exit |
--version | Show program's version number and exit |
-v, --verbose | Be verbose. Can be used more than once to increase the verbosity. |
-n, --dry-run | Show what would have been done, but do not generate files. |
-s NUMBER, --signature NUMBER | |
Specify the size of the signature (number of sides which will be folded and bound together). Default: 4. |
Examples are still to be done.
More examples including sample pictures can be found at https://pdfbook.readthedocs.io/en/latest/Examples.html
psbook(1), pdfnup(1) http://pypi.org/project/pdfnup/, pdfsplit(1) http://pypi.org/project/pdfsplit/, pdfgrid(1) http://pypi.org/project/pdfgrid/, pdfposter(1) https://pdfposter.readthedocs.io/, pdfjoin(1) https://pdfjoin.readthedocs.io/, flyer-composer(1) http://www.crazy-compilers.com/flyer-composer.html
Project Homepage https://pdfbook.readthedocs.io/