SimulPiscator / AirSane

Publish SANE scanners to MacOS, Android, and Windows via Apple AirScan.
GNU General Public License v3.0
243 stars 26 forks source link

Error with Mustek Bearpaw 1200 CU with scanimage: sane_start: Invalid argument #94

Closed matkor closed 1 year ago

matkor commented 1 year ago

I am running airsaned commit: 806e57d (branch master, revision 247) on Ubuntu 20.04.5 LTS.

Though scanning previews works via http://192.168.3.41:8090/eSCL , scanner seems be available:

$ scanimage -L
device `escl:http://192.168.3.41:8090' is a ESCL Mustek Bearpaw 1200 CU Plus flatbed scanner

Any try to scan fails with:

$ scanimage -d 'escl:http://192.168.3.41:8090' > t.img
Output format is not set, using pnm as a default.
Capability : [(null)]
Capability : [image/jpeg]
Capability : [image/png]
scanimage: rounded value of br-x from 0 to 0
scanimage: rounded value of br-y from 0 to 0
scanimage: sane_start: Invalid argument
SimulPiscator commented 1 year ago

Unfortunately, the escl SANE backend is not compatible with AirSane. You will need to use the sane-airscan backend. It should be available in your distribution through sudo apt install sane-airscan.

matkor commented 1 year ago

Absolutely right. Using -d "airscan:e0:Mustek Bearpaw 1200 CU Plus" seems to work very well. Thanks for explanation!