ipp-usb

Edit Package ipp-usb
https://github.com/OpenPrinting/ipp-usb

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.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000546 546 Bytes
ipp-usb-0.9.25.tar.zst 0000073743 72 KB
ipp-usb.changes 0000000152 152 Bytes
ipp-usb.service 0000000207 207 Bytes
ipp-usb.spec 0000002994 2.92 KB
Comments 0
openSUSE Build Service is sponsored by