LAN Network Scanner
Small FastAPI service on residencehome that scans from the HP DeskJet 5200 flatbed over eSCL
About This Project
LAN-Network-Scanner is a lightweight HTTP API designed to bridge the gap between network-connected HP DeskJet 5200 printers and local storage. By interacting with the scanner's eSCL interface, it allows users to trigger flatbed scans via simple REST requests, offering customizable parameters such as resolution, color mode, and file format. The service handles the conversion of scanner outputs into standard formats like PDF, PNG, or JPEG, and includes an automated retention policy to prune files after 30 days.
The project is built using Python, FastAPI, and Pillow for image processing, containerized via Docker for consistent deployment across local environments. It serves as a reliable replacement for ad-hoc scanning scripts, providing a centralized, accessible scanning endpoint for devices on a local area network or Tailnet. It is particularly useful for users requiring programmatic control over document digitization without relying on proprietary vendor software.