AI/AIZENME
🧾 AUTOMATION · Agents & IoT Level: Beginner ⏱ 10 MIN Free & Open Source

Merge Dozens of Electronic Invoice PDFs into 2-Up A4 Printable Sheets Automatically

Stop opening 40 separate invoice PDFs to print them one by one. Use a 20-line local Python script or browser tool to tile 2 invoices per A4 page and sum the total automatically.

CORE TOOLS Python (PyMuPDF / pypdf), DeepSeek / Claude
BEST FOR Frequent business travelers, consultants, finance & admin staff
REQUIREMENTS Python with `pymupdf`; folder of PDF invoices
✦ WHY THIS WORKFLOW

Printer N-up settings only work within a single document. Merging, deduplicating and laying out 2-up A4 pages in one script turns a 30-minute monthly chore into 3 seconds.

✦ Interactive Workflow Animation Preview

Step-by-Step Action Checklist

0 / 4 Completed
READY-TO-USE PROMPT TEMPLATE
Open Official Tool / Repo ↗
Write a self-contained `Python + PyMuPDF (fitz)` script to batch-process electronic invoice PDFs in the current folder:
1) Extract invoice numbers from text to automatically skip duplicate PDFs;
2) Create portrait A4 pages (595 x 842 pt) and place 2 landscape invoices per page (top and bottom halves) with a light dashed cut line in between;
3) Save the combined output as `invoices_2up_A4.pdf` and print a summary count.
Use Cases & Tags:
2-up A4 invoice imposition for reimbursementDuplicate invoice number detectionChronological PDF sorting and mergingExpense summary cover sheet generation#pymupdf