https://github.com/marijnvanwezel/duplexer
Super simple Python utility to prepare PDF files for duplex printing
https://github.com/marijnvanwezel/duplexer
duplex
Last synced: 8 months ago
JSON representation
Super simple Python utility to prepare PDF files for duplex printing
- Host: GitHub
- URL: https://github.com/marijnvanwezel/duplexer
- Owner: marijnvanwezel
- License: mit
- Created: 2025-04-10T14:12:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-10T19:19:44.000Z (about 1 year ago)
- Last Synced: 2025-10-13T15:24:38.585Z (8 months ago)
- Topics: duplex
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# duplexer
Super simple Python utility to prepare PDF files for duplex printing.
## Prerequisites
The following software should be installed on your system:
- [Python 3](https://www.python.org/)
- [pypdf](https://pypdf.readthedocs.io/en/stable/)
## Installation
Follow the steps below to install `duplexer`:
1. Clone this repository and navigate to it:
```commandline
git clone https://github.com/marijnvanwezel/duplexer.git
cd duplexer
```
2. Make the Python script executable:
```commandline
chmod +x duplexer.py
```
3. Move the script into `/usr/local/bin`:
```commandline
mv duplexer.py /usr/local/bin/duplexer
```
## Usage
To use the utility, follow the steps below:
1. Invoke the utility with one or more filenames, like so:
```commandline
duplexer my_pdf1.pdf my_pdf2.pdf my_pdf3.pdf
```
2. Print the PDF `first.pdf`;
3. Go to your printer;
4. Reinsert the pages, and (depending on the model of your printer), flip the pages;
5. Go back to your computer;
6. Print the PDF `second.pdf`.