Open stuta opened 6 years ago
Is the scanner working properly when scanning in Preview? What if you take out the -browsesecs 1
param and also add -flatbed
?
For me with Canon MG3600 Series
using -flatbad
resolves the issue.
Good to know. I don't have a scanner without a doc feeder, but I'm guessing that's the issue. If anyone is able to submit a PR to properly handle flatbed-only scanners, I'd appreciate it!
Just ran into this with a Brother HL-L3290CDW series
all in one as well. The -flatbed
option worked perfectly.
I am seeing this with an EPSON ES-300W scanner. It's a feeder-only scanner, there's no flatbed.
The app loops forever with:
2020-11-23 18:54:30:437 scanline[17092:307] setting functional unit
2020-11-23 18:54:30:437 scanline[17092:307] current functional unit: 0
2020-11-23 18:54:30:440 scanline[17092:307] doc feeder is 3
2020-11-23 18:54:30:440 scanline[17092:307] flatbed is 0
2020-11-23 18:54:30:440 scanline[17092:307] selected functionalUnitType: 0
2020-11-23 18:54:30:440 scanline[17092:307] error: Error Domain=com.apple.ImageCaptureCore Code=-9922 "(null)"
Same thing whether I use -flatbed
or not.
Sorry, false alarm. The scanner driver was apparently broken on Catalina. Installing a new driver from Epson fixed things.
I always get error -9922 when trying to use this.
./scanline -verbose -browsesecs 1 -jpeg