Small Windows desktop app to select multiple PDFs, reorder them, choose a printer, and print them all silently via SumatraPDF.
- Python 3.10+
- SumatraPDF — installed automatically by
setup.batvia winget, or manually from https://www.sumatrapdfreader.org/download-free-pdf-viewer
SumatraPDF is a Windows app, not a Python package. It cannot go into the venv; winget installs it system-wide:
winget install SumatraPDF.SumatraPDF --accept-package-agreements --accept-source-agreementssetup.batThis creates .venv, installs Python dependencies, and installs SumatraPDF.
run.batOr manually:
.\.venv\Scripts\python.exe main.pybuild.batOutput: dist\BatchPdfPrinter.exe
- Click Add PDFs... and select one or more files.
- Reorder with Move Up / Move Down if needed.
- Pick a printer (defaults to your Windows default printer).
- Click Print All.
- If any files fail, use Retry Failed.
Settings (last printer and SumatraPDF path) are saved in %APPDATA%\BatchPdfPrinter\config.json.
The app calls SumatraPDF once per file:
SumatraPDF.exe -print-to "Your Printer" -silent "file.pdf"
This avoids opening a viewer window for each PDF.