Skip to content

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

@api2001

Description

@api2001

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions