Re: [sane-devel] Canon Pixma MX495

2019-11-07 Thread Rolf Bensch
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
>> mailto:m.novosyo...@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
>> mailto:fr...@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 >> >:
>>>
>>> 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.
> 
--- /home/public/workspace/sane-backends/.git/.gitk-tmp.G6KdTH/1/[ee3f9b47ece844262f4614ebedfd9f21bebc3f24] pixma_mp150.c
+++ /home/public/workspace/sane-backends/.git/.gitk-tmp.G6KdTH/1/[ec7b84f5fce2fef84c4816306f0cfb55b8e66e05] pixma_mp150.c
@@ -1721,7 +1721,7 @@
   DEVICE ("Canon PIXMA E460 Series",  "E460",  E460_PID, 0,  600, 0, 0, 638, 877, PIXMA_CAP_CIS),
 
   /* Latest devices (2015) Generation 5 CIS */
-  DEVICE ("Canon PIXMA MX490 Series", "MX490", MX490_PID, 0, 600, 0, 0, 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
+  DEVICE ("Canon PIXMA MX490 Series", "MX490", MX490_PID, 0, 600, 0, 0, 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF | PIXMA_CAP_ADF_JPEG),
   DEVICE ("Canon PIXMA E480 Series",  "E480",  E480_PID, 0, 600, 0, 0, 638, 1050, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
   DEVICE ("Canon PIXMA MG3600 Series", "MG3600", MG3600_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),
   DEVICE ("Canon PIXMA MG7700 Series", "MG7700", MG7700_PID, 0, 2400, 0, 0, 638, 877, PIXMA_CAP_CIS),



Re: [sane-devel] Canon Pixma MX495

2019-10-29 Thread Mikhail Novosyolov via sane-devel
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  пишет:
>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 :
>> 
>> 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.

Re: [sane-devel] Canon Pixma MX495

2019-10-26 Thread Franz Felberer
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 :
> 
> 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
>>> 
>> 



Re: [sane-devel] Canon Pixma MX495

2019-10-26 Thread Rolf Bensch
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
>>
>



Re: [sane-devel] Canon Pixma MX495

2019-10-26 Thread Rolf Bensch
Hi Franz,

For adf scans I would prefer to use gscan2pdf.

Before scanning via WiFi, for reference please scan via USB with
disabled WiFi first.

If scanning from adf still fails, please create an issue here:
https://gitlab.com/sane-project/backends/issues and upload a logfile
created from a terminal (usually uploading logfiles to the mailing list
fails due to file size restrictions):

$ SANE_DEBUG_PIXMA=11 gscan2pdf &> mx495_adf.log

Many thanks for your help.

Cheers,
Rolf

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
>



Re: [sane-devel] Canon Pixma MX495

2019-10-23 Thread 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
>