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
-
Print
print_1_odd.pdf(all odd sides) -
Remove the stack from the output tray
-
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.
-
Return the flipped stack to the input tray
-
Print
print_2_even.pdf(all even sides)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48339b95dac9f11de4c8973e9106b7e3c902ea4c83bb786869397dc442af2583
|
|
| MD5 |
0e461121c0d8fd222cd45586437ef8fb
|
|
| BLAKE2b-256 |
525aaa0f53d21720b973c73862ea20781f68feeeb9a287aa845a0cca20ef0884
|
Provenance
The following attestation bundles were made for pdf_duplex_prep-0.1.3.tar.gz:
Publisher:
publish.yml on iamraghuveer/pdf-duplex-prep
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pdf_duplex_prep-0.1.3.tar.gz -
Subject digest:
48339b95dac9f11de4c8973e9106b7e3c902ea4c83bb786869397dc442af2583 - Sigstore transparency entry: 1650447698
- Sigstore integration time:
-
Permalink:
iamraghuveer/pdf-duplex-prep@1c17e473dfc065efbd5362584c1d56627210e69f -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/iamraghuveer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1c17e473dfc065efbd5362584c1d56627210e69f -
Trigger Event:
push
-
Statement type:
File details
Details for the file pdf_duplex_prep-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pdf_duplex_prep-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d0b14052106e0eb250a7c7e5e858b58da31eb7744144ecdab616fa30732c938
|
|
| MD5 |
24572538a850abdecca2cb308271329b
|
|
| BLAKE2b-256 |
7e6c18a07e07aca1e39f637de3a03de5a12a553033c3909f5d06e7a9acaf2955
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pdf_duplex_prep-0.1.3-py3-none-any.whl -
Subject digest:
9d0b14052106e0eb250a7c7e5e858b58da31eb7744144ecdab616fa30732c938 - Sigstore transparency entry: 1650447724
- Sigstore integration time:
-
Permalink:
iamraghuveer/pdf-duplex-prep@1c17e473dfc065efbd5362584c1d56627210e69f -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/iamraghuveer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1c17e473dfc065efbd5362584c1d56627210e69f -
Trigger Event:
push
-
Statement type: