Vibe coded Qt application to scan documents on Epison DS 7500
README.md

openepison #

Open-source Epson DS-7500 network scanner tool — a Qt/Python GUI for scanning pages from the lab scanner (IP 192.0.2.41) without relying on broken SANE backends or the crashing Epson Scan 2 Flatpak.

Features #

  • Choose scanner IP manually or auto-discover on 192.0.2.0/26 (port 1865)
  • Scan a page and view it in-app
  • Scan another page (multi-page support)
  • Save all pages as a multi-page PDF to ~/Downloads

Status #

Protocol reverse-engineering in progress. The Epson IS protocol (port 1865) packet format has been recovered from the SANE epson2 backend source (epson2_net.c). The GUI, image viewer, discovery, and PDF export are complete. The actual scan command sequence still needs to be reverse-engineered — the DS-7500 currently closes its IS connection on any command sent (likely a stale lock from the crashed Epson Scan 2 backend; a scanner power-cycle may help).

Install & run #

cd openepison
uv sync          # create venv + install deps
uv run openepison  # launch the GUI

Or directly:

cd openepison
.venv/bin/python -m openepison

Requirements #

  • Python 3.12+
  • PyQt6
  • Pillow

Managed via uv (see pyproject.toml, .python-version).

Background #

See AGENTS.md for full reverse-engineering context: why SANE and Epson Scan 2 failed, the observed welcome banner, packet format, and next steps for completing the IS protocol implementation.