Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution not ajustable when choosing "source" with hpaio (HP Deskjet 3050) #6

Open
api2001 opened this issue May 29, 2021 · 0 comments

Comments

@api2001
Copy link

api2001 commented May 29, 2021

Hi,
I am not thaaat deep into SANE and do not know what is the exact way of using it.
But as phpSane scanned all documents with my hpaio HP Deskjet 3050 in resolution 75 dpi although offering 100, 200, 300, ... in the list, I found a solution:

# This command, generated by phpSane, will always result in 75 dpi scans ignoring the --resolution:
scanimage -d "hpaio:/usb/Deskjet_3050_J610_series?serial=CN12E3B12V05HX" -l 0mm -t 0mm -x 210mm -y 296.926mm --mode "Color" --resolution 200 --brightness 1000 --contrast 1000 --source Flatbed

# This command (without --source Flatbed) will just work perfectly:
scanimage -d "hpaio:/usb/Deskjet_3050_J610_series?serial=CN12E3B12V05HX" -l 0mm -t 0mm -x 210mm -y 296.926mm --mode "Color" --resolution 200 --brightness 1000 --contrast 1000

Solution:
With phpSane I managed to make it work by just setting do_source = false; in incl/config.php.
However I do not know if this still is a bug of phpSane's usage of scanimage or if the bug is located in scanimage/SANE itself?!

Best, APi

PS: By the way: Now phpSane works like a charm, combined with SANEdroid on smartphone and an old lazy Raspberry Pi Model B I have the perfect print&scan station now without any stupid outdated HP drivers nor apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant