Closed jwlampe closed 5 years ago
My apologies. Wrote a little bit of code to test using jfreesane on my system and everything worked fine - scanned properly, no wacky port assignments. Seems like whatever issue I'm having is on the SwingSane side.
Sorry...
https://github.com/sjamesr/jfreesane/blob/15ad0f73df0a8d0efec5167a2141cbd53afd862d/src/main/java/au/com/southsky/jfreesane/SaneSession.java#L224
Running jfreesane through SwingSane. Attempting to kick off a scan runs appropriately up to SaneSession acquireImage, which returns port = 4 at line 224. Eventual opening of the image socket fails with a "connection refused" error.
Some background: Running sane/saned on a Raspberry Pi 3 B+ with an HP multifunction printer attached by USB. Scans run successfully over the network with xsane. SwingSane fails in the same fashion on both a linux laptop (Linux Mint) and a MacBook Pro (Mojave).
Appreciate any help!