No Description

Bachir Soussi Chiadmi ed3854d5b7 added booklets 7 months ago
exemples ed3854d5b7 added booklets 7 months ago
.gitignore cbdb905772 imposition is working 8 months ago
Screenshot_20191216_110215.png 45b8734415 added screen shots to readme 7 months ago
Screenshot_20191216_110307.png 45b8734415 added screen shots to readme 7 months ago
pymposer.py ed3854d5b7 added booklets 7 months ago
readme.md ed3854d5b7 added booklets 7 months ago

readme.md

PyMposer

a python script to make booklet imposition

needs

  • python 3
  • PyPDF2 sudo pip install PyPDF2

how to use

git clone https://esadhar.net/gogs/bachir/pymposer.git
cd pymposer
./pymposer.py [--nocrop] [--booklet [--sheets <numberofsheetsbybooklet>]] -i /path/to/your/source.pdf -o /path/to/your/destination.pdf

todos

  • merge interior (between to pages) bleedbox
  • make booklets
  • choose booklets settings (sheets by booklets)
  • decalage profondeur livrets (en fonction du grammage papier)

screenshots

before

before

after

after

exemples

check the exemples in exemples folder

ressources

https://pythonhosted.org/PyPDF2/index.html

https://webdevdesigner.com/q/split-each-pdf-page-in-two-155177/