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.3.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.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pdf_duplex_prep-0.1.3.tar.gz
Algorithm Hash digest
SHA256 48339b95dac9f11de4c8973e9106b7e3c902ea4c83bb786869397dc442af2583
MD5 0e461121c0d8fd222cd45586437ef8fb
BLAKE2b-256 525aaa0f53d21720b973c73862ea20781f68feeeb9a287aa845a0cca20ef0884

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdf_duplex_prep-0.1.3.tar.gz:

Publisher: publish.yml on iamraghuveer/pdf-duplex-prep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for pdf_duplex_prep-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d0b14052106e0eb250a7c7e5e858b58da31eb7744144ecdab616fa30732c938
MD5 24572538a850abdecca2cb308271329b
BLAKE2b-256 7e6c18a07e07aca1e39f637de3a03de5a12a553033c3909f5d06e7a9acaf2955

See more details on using hashes here.

Provenance

The following attestation bundles were made for pdf_duplex_prep-0.1.3-py3-none-any.whl:

Publisher: publish.yml on iamraghuveer/pdf-duplex-prep

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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