Garage project for private purposes. Makes the non-network printer available to all devices in my home.
🐳 Make sure you have installed Docker.
See how to put this repo in action at IanStorm/my-smart-home-ras-pi.
- Follow "How to get a pre-built Docker image?"
- Start a Docker instance:
$ docker run \
--rm \
-t \
-p 631:631 \
-v /dev/bus/usb/:/dev/bus/usb/ \
--privileged \
ianstorm/my-home-printer:latest
-
-p 631:631
: Makes the CUPS configuration page available in network-v /dev/bus/usb/:/dev/bus/usb/
: Makes host's USB devices, e.g. printers, available to the Docker container--privileged
: Allows access to host's USB devices
- The printer is now reachable via
http://<ip-address-or-hostname>:631/printers/HP_Photosmart_5520
Make sure you have installed Visual Studio Code.
- Clone this repository.
cd
inside the cloned folder.- Build the Docker image: Run the vscode task
build
.
Get the latest Docker image from Docker Hub:
$ docker pull ianstorm/my-home-printer:latest
According to my printer's official HP Linux support page scanning is supported via SANE. Whereas the official SANE devices list classifies most Photosmart devices unsupported.