ipp-usb -- HTTP reverse proxy, backed by IPP-over-USB connection to device
Repo OpenPrinting/ipp-usb, read from GitHub 10 h ago. OpenPrinting has not joined Take My Repo.
OpenPrinting/ipp-usb is a public repo on GitHub by OpenPrinting. ipp-usb -- HTTP reverse proxy, backed by IPP-over-USB connection to device. It declares the BSD-2-Clause license on GitHub. It is written mainly in Go, has 212 stars and last changed on 2026-11-23. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
IPP-over-USB allows using the IPP protocol, normally designed for network printers, to be used with USB printers as well.
The idea behind this standard is simple: It allows to send HTTP requests to the device via a USB connection, so enabling IPP, eSCL (AirScan) and web console on devices without Ethernet or WiFi connections.
Unfortunately, the naive implementation, which simply relays a TCP connection to USB, does not work. It happens because closing the TCP connection on the client side has a useful side effect of discarding all data sent to this connection from the server side, but it does not happen with USB connections. In the case of USB, all data not received by the client will remain in the USB buffers, and the next time the client connects to the device, it will receive unexpected data, left from the previous abnormally completed request.
Actually, it is an obvious flaw in the IPP-over-USB standard, but we have to live with it.
So the implementation, once the HTTP request is sent, must read the entire HTTP response, which means that the implementation must understand the HTTP protocol, and effectively implement a HTTP reverse proxy, backed by the IPP-over-USB connection to the device.
And this is what the ipp-usb program actually does.
Though looks simple, ipp-usb does many non obvious things under the hood
Being written on Go, ipp-usb has a large executable size. However, its memory consumption is not very high. When single device is connected, ipp-usb RSS is similar or even slightly less in comparison to ippusbxd. And because ipp-usb handles all devices in a single process, it uses noticeably less memory that ippusbxd, when serving 2 or more devices.
This program has very few external dependencies, namely:
libusb for USB accesslibavahi-common and libavahi-client for DNS-SDBinary packages available for the following Linux distros:
Linux Mint users may use Ubuntu packages:
Follow this link for downloads: https://download.opensuse.org/repositories/home:/pzz/
We are glad to announce that ipp-usb was recently included into the
FreeBSD ports: https://www.freshports.org/print/ipp-usb/
Hope, NetBSD/OpenBSD support will be added as well, so technology becomes not Linux-only, but UNIX-wide.
ipp-usb is also available as a Snap in the Snap Store: https://snapcraft.io/ipp-usb
Before you install the Snap, uninstall any already existing installation of ipp-usb.
Simply install it via any GUI client for the Snap Store (Like "Ubuntu Software") or via command line:
sudo snap install --edge ipp-usb
Now you can connect and disconnect IPP-over-USB devices and ipp-usb gets started by the Snap whenever needed. Also devices which are already connected during boot, start, or update of the Snap are considered.
You can also use
ipp-usb status
to check the status of the running ipp-usb daemon (supported device must be connected for the ipp-usb daemon to be running, accesses only the ipp-usb daemon of the Snap) and
ipp-usb check
to scan the USB for the presence of potentially supported USB devices (7/1/4 interface protocol). This command requires access to the raw USB and therefore on many systems root privileges are required.
The Snap is automatically updated when further development on ipp-usb happens.
The configuration file is here:
/var/snap/ipp-usb/common/etc/ipp-usb.conf
You can edit it and afterwards restart the Snap to use the changed configuration.
Incompatibilities of particular devices are handled by workarounds defined in the quirk files. You find them here:
/var/snap/ipp-usb/common/quirks
You can add your own quirk files (but if they solve your problem, please report an issue here, with your quirk file attached, so that others with the same problem will get helped, too).
For quick tests you can also edit the existing files, but they will get replaced (and so your changes lost) on the next update of the Snap, as we are changing them on any report of further device incompatibilities.
The log file is here
/var/snap/ipp-usb/common/var/log
and device state files (to assure that each device appears on the same port and with the same DNS-SD service name) are here:
/var/snap/ipp-usb/common/var/dev
You can also build the Snap locally. This is useful when
To do so, run from the main directory of this source repository
snapcraft snap
and then install the resulting Snap with
sudo snap install --dangerous ipp-usb*.snap
An installed Snap from the Snap Store will get overwritten/replaced by your Snap.
Some technical notes about this Snap:
Snapping the Go project with one Go library taken from upstream (and not from Ubuntu Core) was rather straight-forward. Only observation was that the Go plugin seems not to do "make install". So I had to use an "override-build" to manually install the auxiliary files (ipp-usb.conf, quirk files). I also have adapted the auxiliary file and state directories in paths.go in the "override-build" scriptlet.
The real challenge of this Snap was to trigger ipp-usb on the appearing (and also the presence) of IPP-over-USB devices.
In the classic installation of ipp-usb (via "make install" or RPM/DEB package installation) a UDEV rules file and a systemd service file (in systemd-udev/) are installed, so that the system automatically triggers the launch of ipp-usb when an appropriate device is connected or already present. A Snap is not able to do so. It cannot install any files into the system. It can only bring its own, static file system and create files only in its own state directory. These locations are not scanned for UDEV rules.
So the Snap must discover the devices without its own UDEV rules, but it still can use UDEV. The trick is to do a generic monitoring of UDEV events and filtering out the USB devices with IPP-over-USB interface (7/1/4). If such a device appears, we trigger and ipp-usb launch. We also check on startup of the Snap whether there is such a device already and if so, we also trigger an ipp-usb launch.
ipp-usb is run, as in the classic installation, with "udev" argument. This way it stops by itself when there is no device any more (and we do not need to observe the disappearal events of the devices) and it is assured that only one single instance of ipp-usb is running.
To do this with low coding effort I use the UDEV command line tool udevadm in a shell script (snap/local/run-ipp-usb). Once it runs in "monitor" mode to observe the UDEV events. Then we parse the output lines to only consider the ones for a device appearing and run "udevadm info -q property" on each device path, to get the properties and filter the 7/1/4 interface. In the beginning we use "udevadm trigger" to find the already passed appearal event of a device which is already present. So the shell script is an auxiliary daemon to start ipp-usb when needed.
sudo snap install docker
ipp-usb Container with Persistent StorageTo run the ipp-usb container while ensuring that its state persists across restarts, follow these steps.
ipp-usb Docker ImageThe latest image is available on the GitHub Container Registry. Pull it using:
sudo docker pull ghcr.io/openprinting/ipp-usb:latest
To ensure that configuration settings and printer state persist across container restarts, create two Docker volumes:
sudo docker volume create ipp-usb-state
sudo docker volume create ipp-usb-conf
These volumes store:
ipp-usb-state (/var/ipp-usb/)
/var/ipp-usb/dev/) – Ensures stable TCP port allocation and DNS-SD name resolution./var/ipp-usb/lock/) – Prevents multiple instances from running simultaneously./var/log/ipp-usb/) – Can be optionally mounted if needed for debugging.ipp-usb-conf (/etc/ipp-usb/)
/etc/ipp-usb/ipp-usb.conf) – Stores user-defined settings./etc/ipp-usb/quirks/) – Contains printer-specific workarounds.Start the container with appropriate options:
sudo docker run -d --network host \
-v /dev/bus/usb:/dev/bus/usb:ro \
-v ipp-usb-state:/var/ipp-usb \
-v ipp-usb-conf:/etc/ipp-usb \
--device-cgroup-rule='c 189:* rmw' \
--name ipp-usb \
ghcr.io/openprinting/ipp-usb:latest
--network host → Uses the host’s network to enable proper IPP-over-USB and Avahi service discovery.-v /dev/bus/usb:/dev/bus/usb:ro → Grants read-only access to USB devices for printer detection.-v ipp-usb-state:/var/ipp-usb → Mounts the persistent storage volume for printer state, lock files, and logs.-v ipp-usb-conf:/etc/ipp-usb → Ensures configuration and quirks files persist across reboots.--device-cgroup-rule='c 189:* rmw' → Grants read, write, and management permissions for USB printers inside the container.ipp-usb Locally sudo snap install docker
sudo snap install rockcraft --classic
To Build and Run the ipp-usb Rock Image Locally, follow these steps
ipp-usb Rock ImageThe first step is to build the Rock image from the rockcraft.yaml configuration file. This image will include all required dependencies and configurations for ipp-usb.
Navigate to the directory containing rockcraft.yaml and run:
rockcraft pack -v
Once the .rock file is built, convert it into a Docker image using:
sudo rockcraft.skopeo --insecure-policy copy oci-archive:<rock_image> docker-daemon:ipp-usb:latest
To ensure that configuration settings and printer state persist across container restarts, create two Docker volumes:
sudo docker volume create ipp-usb-state
sudo docker volume create ipp-usb-conf
These volumes store:
ipp-usb-state (/var/ipp-usb/)
/var/ipp-usb/dev/) – Ensures stable TCP port allocation and DNS-SD name resolution./var/ipp-usb/lock/) – Prevents multiple instances from running simultaneously./var/log/ipp-usb/) – Can be optionally mounted if needed for debugging.ipp-usb-conf (/etc/ipp-usb/)
/etc/ipp-usb/ipp-usb.conf) – Stores user-defined settings./etc/ipp-usb/quirks/) – Contains printer-specific workarounds.OpenPrinting/ipp-usb is a public repo on GitHub by OpenPrinting. ipp-usb -- HTTP reverse proxy, backed by IPP-over-USB connection to device.
It declares the BSD-2-Clause license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-23. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run ipp-usb. What is known comes from GitHub. It declares the BSD-2-Clause license on GitHub. Its last change was on 2026-11-23. It has 212 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.