Skip to content

Non-public project to share the non-network printer in my home network.

Notifications You must be signed in to change notification settings

IanStorm/my-home-printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Home - Printer

GitHub Actions Docker Pulls Docker Stars

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.

How to use in "production"? 👨‍💼 👩‍💼

  1. Follow "How to get a pre-built Docker image?"
  2. 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
  1. The printer is now reachable via http://<ip-address-or-hostname>:631/printers/HP_Photosmart_5520

How to develop? 👨‍💻 👩‍💻

Make sure you have installed Visual Studio Code.

  1. Clone this repository.
  2. cd inside the cloned folder.
  3. Build the Docker image: Run the vscode task build.

Appendix

How to get a pre-built Docker image? ☁️

Get the latest Docker image from Docker Hub:

$	docker pull ianstorm/my-home-printer:latest

Scanner support

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.

Sources

About

Non-public project to share the non-network printer in my home network.

Topics

Resources

Stars

Watchers

Forks