Generate mini booklets with paper, scissors, and staples#
A simple Python script to generate a PDF for an 8-double-sided-page mini 2.75x4.25 inch booklet. Feel free to fork this and modify the script to support other booklet sizes.
Assembly instructions#
- Create a 16-page PDF with pages of width 2.75 and height 4.25 inches in your favorite word processor.
- Install and run
generate-booklet.pyas shown in the Install section. - Print the generated 2-page 8.5x11 inch PDF double sided (use the short-edge binding printer setting).
- Cut the printed page in half twice. Once vertically and once horizontally. You will have four double-sided pieces.
- Collate the sheets in the correct order for a booklet, fold in the middle, and attach with two staples along the fold.
Install#
- Install Python 3 via uv.
- Run the following terminal commands:
git clone cd mini-booklet uv sync - Use the script:
uv run generate-booklet.py pdf-with-2.75x4.25-pages.pdf output-pdf-to-print.pdf