Giter Site home page Giter Site logo

Comments (8)

kleinweby avatar kleinweby commented on August 22, 2024

I'm sill running SaneNetScanner on a 10.11 installation without any problems.

To your actual question:

I'm not completely sure whether this would work. Without testing it I would guess, bonjour might be in your war. (As it advertises the scanner, but by default ignores scanners it advertises when showing them).

But no way of being sure, so give it a try :)

from sanenetscanner.

m-urban avatar m-urban commented on August 22, 2024

Sounds great, I'll give it a try. The installation routine hasn't changed, right? Compile Xcode project, and copy SaneNetScanner.app into /Library/Image Capture/Devices/. I don't need to make any adjustments to the code or some config file, right?

from sanenetscanner.

kleinweby avatar kleinweby commented on August 22, 2024

The installation stayed the same.

from sanenetscanner.

m-urban avatar m-urban commented on August 22, 2024

After toying around with your tool for a couple of hours, I am afraid I still didn't get it to scan properly. Here is what I tried:

  • I followed the installation instructions
  • I am able to announce my scanner on the network via Bonjour.
  • Adding the scanner in OS X' system settings works, too
  • Using Preview.app or Image Capture.app, I can initialize a scan job, which results in a gray box in the preview window that keeps saying "Waiting for Scanner …" ("Auf Scanner warten …") — and that's it. Nothing else happens anymore.

According to the NSLogger log, SaneNetScanner successfully opens the connection and queries the scanner's parameters. However, I have a feeling that it fails somewhere in there because it throws a fair amount of "Failed get <SaneOption: … Invalid argument" errors.

This happens both in the case that the scanner is directly connected to my Mac (the desired scenario) but also when it's connected to my Linux machine. A manual scanimage via the net backend from the command line does work in both cases.

Would you mind taking a look at my log file? Thank you very much!

from sanenetscanner.

kleinweby avatar kleinweby commented on August 22, 2024

Sad to hear that it does not work.

Please follow the following steps to produce more debug output:

  • Terminate SaneNetScanner via Activity Monitor (if running)
  • open a Terminal
  • run SANE_DEBUG_NET=128 <your/path/to/SaneNetScanner.app>/Contents/MacOS/SaneNetScanner
  • attempt to scan via Image Capture

You should see additional log output in the terminal now. (If not, it may end up in the system log accessible via the Console app)

from sanenetscanner.

m-urban avatar m-urban commented on August 22, 2024

I am happy to report that I finally got SaneNetScanner running under 10.11. Turns out that I needed to disable NSAssert in the build settings for the Release target. Otherwise, the code would get stuck in the non-implemented addToDeviceDictionary: of the CSSaneOptionConstraint -base class. Possibly related to my more recent version of Xcode (7.2).

Currently, this bridge via the saned server to a local device might in fact be the only solution to get TWAIN scanners to show up in recent versions of OS X, after Apple decided to remove Image Capture's TwainBridge.app device in 10.8 or so.

Two features I haven't quite gotten to work yet:

  • Selection of the resolution (the drop-down menu is empty, see screenshot)
  • Selection of the correct paper size (might be related to #2)

bildschirmfoto 2016-03-15 um 15 47 04

from sanenetscanner.

mklein-de avatar mklein-de commented on August 22, 2024

The resolution list is empty because CSSaneOptionEnumConstraint::addToDeviceDictionary is not implemented. Resolution list looks good with mklein-de@6fab63f (Epson GT-7000, epson backend). Having the NSAssert in the base class is perfectly ok.

from sanenetscanner.

runninghead avatar runninghead commented on August 22, 2024

Looks like this branch is getting a little advanced for mere mortals who just want to get their scanner fixed ;)
I too can report that it does not work, which is disappointing after downloading and installing several items. I believe m-urban has resolved the issue successfully but I'm not a coder the explanation lost me.
Can anyone point to a resolution walkthrough that gets us the rest of the way? Thanks.

from sanenetscanner.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.