• Welcome to the new Mac-Forums. See News and Community Announcements for more details.

TWAIN SANE on Mojave

Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
Has anyone managed to install TWAIN SANE scanner software on Mojave? It was working fine for me on an old Canon Lide 30 through High Sierra but broke with Mojave. The old developer (Mathew Ellert?) has not produced an update in years. There is a current project

GitHub - genose/macos-scanner-interface-twain-sane-binaries: TWAIN Sane Scanner Driver for MacOS (Yosemite 10.10 to Mojave 10.14)

But I cannot get it to work.

And, yes, we have a newer scanner, but I like the idea of keeping the ancient Canon running. It’s very fast when using scanimage from the command line.
 
Joined
May 21, 2012
Messages
7,818
Reaction score
139
Points
63
Location
13th state, U.S.A.
Your Mac's Specs
Late 2014 Mac Mini macOS 10.15, iPhone 11 iOS 13, 12.9" iPad Pro 1 iPadOS 13
I believe a scanners speed has to do with settings for the scan (mostly).
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
I believe a scanners speed has to do with settings for the scan (mostly).
What I meant was that if you start the scan from the command line with scanimage the scan begins right away as there is no GUI app to get in the way.
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
Well, it turns out this was easier than I thought with a little help from a Raspberry Pi.

Since there seems to be no SANE backend for Mojave, I decided to use a Raspberry Pi.

Installing and configuring SANE on the Pi was pretty easy.

The existing AppleScript and Bash script only had to be slightly modified. So, now I can remotely run the scan from my iMac, the scanner hangs off a R Pi and the image ends up on the iMac, converted to JPEG and opened in Graphic Converter.

The Canon LiDE 30 Lives!
 

IWT


Joined
Jan 23, 2009
Messages
6,544
Reaction score
232
Points
63
Location
Born Scotland. Worked all over UK. Live in Wales
Your Mac's Specs
iMac 5K Retina 27", August 2019, 3.6GHz Intel Core i9, Memory 32GB, 2TB SSD, macOS Mojave 10.14.6
Well done, Mike. Even if I understood half of what you were talking about, it would still look impressive.;D

Ian
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
It's really not that impressive. The actual impressive part is that I actually started and finished a project all in one day….
 
Joined
Oct 16, 2010
Messages
13,214
Reaction score
206
Points
63
Location
Brentwood Bay, BC, Canada
It's really not that impressive. The actual impressive part is that I actually started and finished a project all in one day….

That's quite a work-around and from your comment, I thought you might appreciate this small poster and in case you might like to go back to your old ways: :Smirk:

67892390_10157605372464319_2095142835773767680_n.jpg




- Patrick
======
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
Thanks for that thought, Patrick.

And, now for a bit of irony (?). Soon after I finished the software project and got the scanner working again it had a mechanical failure. Now it will only scan half a page before the scan head stops moving and starts making terrible noise.

I'm hoping it's just a low voltage problem. The Pi's USB ports were really not designed to power something like a flatbed scanner. Powered USB hub should be delivered today.
 
Joined
Oct 16, 2010
Messages
13,214
Reaction score
206
Points
63
Location
Brentwood Bay, BC, Canada
Now it will only scan half a page before the scan head stops moving and starts making terrible noise.

From that description it sounds like something is jamming the moving scanner head.

Like has a shipping/moving block fallen into the shipping mode slot??? That can cause the cogged belt to jump on the cogged drive causing a heck of a noise.



- Patrick
======
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
It's working fine this morning so it must have been a temporary jam or a voltage problem.
 
Top