LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bodhi (https://www.linuxquestions.org/questions/bodhi-92/)
-   -   XSANE configuration; not getting the full scan (https://www.linuxquestions.org/questions/bodhi-92/xsane-configuration%3B-not-getting-the-full-scan-4175637184/)

rrashkin 08-26-2018 12:51 PM

XSANE configuration; not getting the full scan
 
Greeting.
I'm sure this is way outside the scope of BL questions but I'm not sure where else to go.

In BL 4.5 I somehow got XSANE without doing anything on purpose about it, so I don't know if it was part of the BL disk or came with HPLIP. When I installed BL 5.0 I installed CUPS and then ran apt install --reinstall hplip and then hp-setup -i (before, I ran the HPLIP download that I had gotten from HP). I just accepted all the defaults and the printer works fine. There was no XSANE so I installed it (apt install xsane) and it sort of works but I only get the first inch or so of a 8.5x11 scan.

I couldn't find any parameters in the XSANE menus that did anything. Any chance anyone knows how to make this work?

ferrari 08-26-2018 02:26 PM

Which model HP device are you using? Does using 'hp-scan' result in a proper scan?

What is reported by the following?
Code:

export SANE_DEBUG_DLL=128
scanimage -L


rrashkin 08-26-2018 02:48 PM

@ferrari,
Thanks for responding. I have an HP Desk Jet 2132.
I don't know what "hp-scan" is. Is that something I have simply by virtue of hplip? How do I use/invoke it?

I'll check out the result of the command sequence you posted, but it's really hot in the office now so I'm going to wait until it cools off:)

Thanks again.

ferrari 08-26-2018 03:18 PM

Quote:

I don't know what "hp-scan" is. Is that something I have simply by virtue of hplip? How do I use/invoke it?
Yes, it's part of HPLIP. Run it from a terminal.

rrashkin 08-26-2018 03:24 PM

Thanks. I'll check it out.

rrashkin 08-27-2018 08:00 AM

@ferrari,

Indeed, hp-scan results in a proper scan. I need to study the parameters to use it better but that's great. Thanks.

As for
export SANE_DEBUG_DLL=128
scanimage -L

there's too much output to post here. What am I looking for specifically?

ferrari 08-27-2018 02:28 PM

Quote:

@ferrari,

Indeed, hp-scan results in a proper scan. I need to study the parameters to use it better but that's great. Thanks.
That is the HPLIP scanning utility that will use the hpaio backend automatically.

Quote:

As for
export SANE_DEBUG_DLL=128
scanimage -L

there's too much output to post here. What am I looking for specifically?
Not really needed now that we know that the scanner driver is working. However, in general you can upload lengthy output to https://pastebin.com/ and post the link that it provides here.

I'm wondering if the wrong SANE backend was being used here. Check for uncommented scanner backends in /etc/sane.d/dll.conf


All times are GMT -5. The time now is 10:30 PM.