ThierryHFR / scangearmp2

This project is a sane backend for the canon's scanner, based on the source code of scangearmp2.
Other
80 stars 17 forks source link

Xsane starts scanning and fails #8

Closed zerthimon closed 6 years ago

zerthimon commented 6 years ago

Says: Error during read: Error during device I/O. Somtimes I'm able to acquire preview, or scan at 75dpi other resolutions cause error.

Scanning works perfectly from the program scangearmp2 iself.

ThierryHFR commented 6 years ago

I do not reproduce your bugs. Can you give me more information. Your operating system. Have you compile scangearmp2 or taken a prepared version.

zerthimon commented 6 years ago

I've found the problem: had to replace pixma with canon_pixma in /etc/sane.d/dll.conf

Now, however, another problem: Looks like I cannot change default scan parameters, whatever settings I choose in Xsane. At least, resolution and scan area don't work - I always get the same resolution and same scan area.

This is a latest version of scangearmp2, compiled by me on Ubuntu Artful 17.10

ThierryHFR commented 6 years ago

You are right. The canon backend provides two resolutions. Document is the best resolution. Image the lower resolution. I decided to set the low resolution for the resol less than 100. And put the high resolution for the other cases.