Skip to content

Prepare double page scan of a book to print in a booklet mode. Split and rearrange pages automatically. Input and output in PDF.

License

Notifications You must be signed in to change notification settings

vsbogd/pdf2book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Script tries to automatically find pages to be splitted and splits them. It adds a blank page after the title page if required to ensure the splitted pages are properly aligned after converting to the Brochure mode. Then it adds required number of empty pages at the end to have right number of pages. Finally it forms the PDF which contains original pages in Brochure mode.

To print this file print odd pages first then turn over the paper and print even pages.

Installation

pip install -r requirements.txt

Usage

Run script:

python pdf2book.py <input.pdf> <output.pdf>

Get help:

python pdf2book.py --help

About

Prepare double page scan of a book to print in a booklet mode. Split and rearrange pages automatically. Input and output in PDF.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published