[sane-devel] Canon Pixma MX495
Rolf Bensch
rolf at bensch-online.de
Thu Nov 7 21:24:38 GMT 2019
Hi,
scanimage needs a redirection to the image output and a separate
redirection to the debug outputs, e.g.
SANE_DEBUG_PIXMA=11 scanimage <...> 2> mx495_adf.log > image.pnm
For gui frontends you can use the combined redirection, e.g.
SANE_DEBUG_PIXMA=11 xsane &> mx495_adf.log
SANE_DEBUG_PIXMA=11 gscan2pdf &> mx495_adf.log
I suppose that you need to patch pixma_mp150.c with attached patch file
for enabling adf scans.
Please report your results.
Hope this helps.
Cheers,
Rolf
Am 01.11.19 um 12:51 schrieb Franz Felberer:
> Hi,
>
> Ok, thanks:
>
> SANE_DEBUG_PIXMA=11 scanimage &> mx495_adf.log
>
> SANE_DEBUG_PIXMA=11 scanimage --source "Automatic Document Feeder" &>
> mx495_adf_source.log
>
>
> Let me know if you need additional logs/information… (I didn’t manage to
> run SANE_DEBUG_PIXMA=11 scanimage <...> 2>&1 > mx495_adf.log => zsh:
> parse error near `>&’,
> With bash: bash: ...: No such file or directory)
>
>
>
>
>
>
>
>> Am 29.10.2019 um 19:16 schrieb Mikhail Novosyolov
>> <m.novosyolov at rosalinux.ru <mailto:m.novosyolov at rosalinux.ru>>:
>>
>> You can make the log that Rolf asked for with any program which uses
>> sane, including scanimage
>>
>> SANE_DEBUG_PIXMA=11 scanimage <...> 2>&1 > mx495_adf.log
>>
>>
>> 26 октября 2019 г. 20:32:00 GMT+03:00, Franz Felberer
>> <franz at felberer.at <mailto:franz at felberer.at>> пишет:
>>
>> Dear Rolf,
>>
>> Thanks for your help. I have a headless server (no gscan2pgf) and
>> I would like to use the sane interface with mayan-edms.
>> This works for scanning for the flatbed but not for adf.
>>
>> Same is true for the cli:
>>
>> scanimage --source "Flatbed" --format=png > test.png
>> => scan is saved as image
>>
>> scanimage --source "Automatic Document Feeder" --format=tiff >
>> test.tiff
>> => scanimage: sane_read: Operation was canceled
>>
>> scanimage --source "Automatic Document Feeder" --format=png >
>> test.png -v
>> scanimage: scanning image of size 638x1050 pixels at 24 bits/pixel
>> scanimage: acquiring RGB frame
>> scanimage: min/max graylevel value = 255/0
>> scanimage: sane_read: Operation was canceled
>>
>> Best
>> Franz
>>
>>> Am 26.10.2019 um 15:31 schrieb Rolf Bensch <rolf at bensch-online.de
>>> <mailto:rolf at bensch-online.de>>:
>>>
>>> Hi,
>>>
>>> I just had a look at this ppa. The builds are ancient (from
>>> 2013). Canon
>>> released MX495 in 2015 (as documented in Sane sources).
>>>
>>> If you need to install recent Sane to Ubuntu or an Ubuntu clone,
>>> you can
>>> use my ppa:
>>> https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git
>>>
>>> Hope this helps.
>>>
>>> Cheers,
>>> Rolf
>>>
>>>
>>> Am 23.10.19 um 13:39 schrieb Ulf Zibis:
>>>> Hi Franz,
>>>>
>>>> you may try the PPA from Micael Gruz:
>>>> https://forum.ubuntuusers.de/topic/schwarz-weiss-druck-auf-canon-mx885-geht-nicht
>>>> https://forum.ubuntuusers.de/topic/problem-mit-dem-einrichten-von-repository-ppa-/#post-8056358
>>>>
>>>> Hope that helps,
>>>>
>>>> Ulf
>>>>
>>>> Am 22.10.19 um 18:34 schrieb Franz Felberer:
>>>>> Dear all,
>>>>>
>>>>> Thanks for your great work. I can verify that scan image works
>>>>> with the Canon Pixma MX495 (it gets recognised as a 490, which
>>>>> is often the case with all kind of software).
>>>>> (Cubietruck wird ARMBIAN via wifi). I dient get the scanadf
>>>>> correctly working yet. (It doesn’t pull-in the paper).
>>>>>
>>>>> Franz
>>>>>
>>>>
>>
>>
>> --
>> Простите за краткость, создано в K-9 Mail.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixma-mp150.c.patch
Type: text/x-patch
Size: 990 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20191107/69d87e5a/attachment-0001.bin>
More information about the sane-devel
mailing list