Skip to main content

Merge PDFs and split them into two files for manual duplex printing on simplex printers

Project description

pdf-duplex-prep

Merge multiple PDFs and split them into two print-ready files for manual duplex (double-sided) printing on simplex (one-sided) printers.

Each input PDF is guaranteed to start on an odd page. If needed, a blank page is automatically inserted so every document begins on the front of a fresh sheet.

Installation

pip install pdf-duplex-prep

Usage

# All PDFs in the current folder, sorted by name
pdf-duplex-prep --dir path/to/folder

# Explicit files in a specific order
pdf-duplex-prep doc1.pdf doc2.pdf doc3.pdf

Output

Two files are written to the input folder:

File Contents
print_1_odd.pdf Pages 1, 3, 5, … — print this first
print_2_even.pdf Even pages in reverse order — print this second

Printing instructions

  1. Print print_1_odd.pdf (all odd sides)

  2. Remove the stack from the output tray

  3. Flip the stack:

    • Printer outputs face-down → flip along the short edge
    • Printer outputs face-up → flip along the long edge

    Run a test with 4 pages first to confirm your printer's behaviour.

  4. Return the flipped stack to the input tray

  5. Print print_2_even.pdf (all even sides)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf_duplex_prep-0.1.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_duplex_prep-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file pdf_duplex_prep-0.1.1.tar.gz.

File metadata

  • Download URL: pdf_duplex_prep-0.1.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pdf_duplex_prep-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c539ecc64ca6328991abf25e0d3b31a9718bc8bc55639b671e3ccac537b85a7e
MD5 1a1ad525558fdfe4027ae3ce0237391b
BLAKE2b-256 25afd69c83049fa390a4d376dd1a0758803e47efe9b2271110573361bab22ae0

See more details on using hashes here.

File details

Details for the file pdf_duplex_prep-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pdf_duplex_prep-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3131c58e5b352da0ba56242e5bd3f1415c89da2516898404852393628011d0
MD5 c8189283043643ca38f8b4420298bfe1
BLAKE2b-256 9fff5ace84c4c466883d953d5b651d6a7249120ffadefed0b55a13407bbc7992

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page