A Raspberry PI turning a USB scanner into a network scanner with:
- An old Raspberry PI 3B v1.2 running Raspberry PI OS Lite
- The SANE software in the Debian libsane1 package
- A Canon Canoscan LiDE 400 USB scanner
I'll be using the Scanner page in the Debian Wiki as my guide and document my progress here ...
For initial tests I'm using a Hyper-V VM running a minimal install of Debian 12 (32-bits):
- 1 CPU, 1 GB memory (not dynamic) and a 32 GB disk
- One root partition of 32 GB, no swap partition (to allow for disk read-only mode)
Once the system is up and running, I install SANE with the Debian libsane1:
apt install libsane1
As I'm testing with the scanner of my old HP LaserJet Pro M1536dnf Multifunction Printer HP Linux Printing and Imaging System (HPLIP) support also needs to be installed:
apt install hplip libsane-hpaio
To be able to use the commands specified in the Scanner page in the Debian Wiki:
apt install usbutils gpg
Following the straightforward way as described in the wiki for HP all-in-one (aio) machines:
hp-setup -i
hp-plugin -i
To be tested ...
When everything is working okay, change the SD-card to read-only mode to prevent corruption: