Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-12 Thread Rolf Bensch
Hi Rogério,

I opened a merge request for your issue here:
https://gitlab.com/sane-project/backends/merge_requests/213

Please build SANE from source as described in INSTALL.linux
(http://www.sane-project.org/docs.html).

If this is working, please pull recent code from git ($ git pull),
checkout our test code ($ git checkout pixma/e4200-adf) and build SANE
again. Then ADF should work. Please report your results in the merge
request.

Many thanks for your help.

Cheers,
Rolf

Am 09.10.19 um 07:16 schrieb Rogério Brito:
> Dear Rolf,
> 
> On Oct 07 2019, Rolf Bensch wrote:
>> I can see an error response in your log file.
> 
> First of all, sorry for not being able to respond earlier, but I'm having
> some quite hectic days. Second, thank you very much for helping with this.
> 
>> To fix this I need an USB snoop file from Canon's ScanGear Software. You
>> can use wireshark for snooping (to enable USB support read this:
>> https://wiki.wireshark.org/CaptureSetup/USB).
> 
> I took 2 captures of 2 pages from the ADF: once in "Text Mode" and another
> in whatever other mode is available.
> 
> In both cases, the resulting PDF file had files in 300dpi in JPEG format and
> they were 3-channel JPEGs. There doesn't seem to be any way of changing the
> resolution or format that the files will be saved in.
> 
> Regarding the captures, I don't know if I should send them attached via
> email or posted somewhere, but I will send the 1st one here and post both on
> my homepage at:
> 
> https://www.ime.usp.br/~rbrito/linux/canon-e4210/
> 
>> Many thanks for your help.
> 
> Many thanks for your help! If you need other information, please let me know
> and I will try my best.
> 
> 
> Thank you very much again,
> 
> Rogério Brito.
> 



Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-09 Thread Rogério Brito
Dear Rolf and other developers,

I'm resending the message below because it was potentially not allowed to
reach the list (due to the attachment inflating its size).

The comments below (of course) still apply.


Thanks,

Rogério Brito.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

On Oct 09 2019, Rogério Brito wrote:
> On Oct 07 2019, Rolf Bensch wrote:
> > I can see an error response in your log file.
> 
> First of all, sorry for not being able to respond earlier, but I'm having
> some quite hectic days. Second, thank you very much for helping with this.
> 
> > To fix this I need an USB snoop file from Canon's ScanGear Software. You
> > can use wireshark for snooping (to enable USB support read this:
> > https://wiki.wireshark.org/CaptureSetup/USB).
> 
> I took 2 captures of 2 pages from the ADF: once in "Text Mode" and another
> in whatever other mode is available.
> 
> In both cases, the resulting PDF file had files in 300dpi in JPEG format and
> they were 3-channel JPEGs. There doesn't seem to be any way of changing the
> resolution or format that the files will be saved in.
> 
> Regarding the captures, I don't know if I should send them attached via
> email or posted somewhere, but I will send the 1st one here and post both on
> my homepage at:
> 
> https://www.ime.usp.br/~rbrito/linux/canon-e4210/
> 
> > Many thanks for your help.
> 
> Many thanks for your help! If you need other information, please let me know
> and I will try my best.
> 
> 
> Thank you very much again,
> 
> Rogério Brito.
> 
> -- 
> Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
> http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
> DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-08 Thread Rogério Brito
Dear Jeroen,

On Oct 07 2019, Jeroen Van den Keybus wrote:
> I use a HP C309a and X576dw (fast scanning) daily and reliably with their
> hplip drivers and gscan2pdf. No issues.

Thanks for the feedback. They both seem like considering as fine
replacements to this current Canon E4210, especially considering their
optical resolutions.

Unfortunately, it doesn't seem like I can get the HP C309a in my
country. :-( The X576dw, OTOH, is beyond my budget. :-(

> I needed the Canon LiDE220 as a scan-only device (work on desk) and HP's
> ScanJets are a bit expensive.

Like the first one from HP, and according to the specs on Canon's site, it
seems to be capable of amazing high resolutions and it is not that
expensive (this one I can find on my local market).

> I would expect the drivers to be working well on that device too.

I will keep this in consideration for a future purchase for my parents (they
will need an all-in-one device soon, it seems).


Thank you very much for your recommendations,

Rogério

-- 
Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br



Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-07 Thread Jeroen Van den Keybus
Rogerio,


I use a HP C309a and X576dw (fast scanning) daily and reliably with their
hplip drivers and gscan2pdf. No issues.

I needed the Canon LiDE220 as a scan-only device (work on desk) and HP's
ScanJets are a bit expensive. I would expect the drivers to be working well
on that device too.


J.

Op zo 6 okt. 2019 om 15:14 schreef Rogério Brito :

> Dear Rolf and others,
>
> On Oct 05 2019, Rolf Bensch wrote:
> > Am 05.10.19 um 00:00 schrieb Rogério Brito:
> > > Since I read the code and it mentioned that it needed testers, here is
> a
> > > report.  With the newer version of sane-backends, I can scan from the
> > > flatbed, as expected, and it works as well as I could expect (minus the
> > > fragility of this piece of hardware---disappointed with that, but
> that's not
> > > software-related, of course).
> >
> > Many thanks for your report.
>
> You're welcome.
>
> > $ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder"
> > --mode Lineart --output-file foo%02d.pbm
> >
> > For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane.
> > You can see some logs with:
> >
> > $ SANE_DEBUG_PIXMA=11 gscan2pdf
>
> I tried:
>
> $ SANE_DEBUG_PIXMA=11 scanadf -d pixma:04A91855_103CD1 --source "Automatic
> Document Feeder" --mode Lineart --output-file foo%02d.pbm 2> scanadf.log
>
> I still couldn't get anything scanned from the ADF (even though I put there
> 3 sheets of paper).  I'm attaching the log to this message. Any help would
> be highly appreciated.
>
> If further information (or more detailed logs) are desired, please let me
> know.
>
> > You can decrease the log level to reduce log depth (see 'man sane-pixma'
> > for details).
>
> Thanks for the hint of that manpage.
>
> > > In the case of it being possible to return this device and get
> something
> > > else in its place, which manufacturer/model would be preferred to have
> > > *full* functionality with Free Software only? Any recommendations?
> >
> > Please have a look at this table:
> > http://www.sane-project.org/sane-backends.html
>
> Regarding this device, unfortunately, it seems that I can't return it. :-(
> So, I will have to live with it for the moment.
>
> If/when possible, I may be getting another one more compatible and robust
> with Free Software support in the future. :-( OTOH, that table is huge.
> Which manufacturers are generally good bets/collaborative with Free
> Software
> developers in general?  HP?
>
> > Hope this helps.
>
> It sure did.
>
>
> Thanks,
>
> Rogério
>
> --
> Rogério Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFC
> http://cynic.cc/blog/ : github.com/rbrito : profiles.google.com/rbrito
> DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br
>


Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-07 Thread Rolf Bensch
Hi Rogério,

I can see an error response in your log file.

To fix this I need an USB snoop file from Canon's ScanGear Software. You
can use wireshark for snooping (to enable USB support read this:
https://wiki.wireshark.org/CaptureSetup/USB).

Many thanks for your help.

Cheers,
Rolf


Am 06.10.19 um 15:14 schrieb Rogério Brito:
> Dear Rolf and others,
> 
> On Oct 05 2019, Rolf Bensch wrote:
>> Am 05.10.19 um 00:00 schrieb Rogério Brito:
>>> Since I read the code and it mentioned that it needed testers, here is a
>>> report.  With the newer version of sane-backends, I can scan from the
>>> flatbed, as expected, and it works as well as I could expect (minus the
>>> fragility of this piece of hardware---disappointed with that, but that's not
>>> software-related, of course).
>>
>> Many thanks for your report.
> 
> You're welcome.
> 
>> $ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder"
>> --mode Lineart --output-file foo%02d.pbm
>>
>> For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane.
>> You can see some logs with:
>>
>> $ SANE_DEBUG_PIXMA=11 gscan2pdf
> 
> I tried:
> 
> $ SANE_DEBUG_PIXMA=11 scanadf -d pixma:04A91855_103CD1 --source "Automatic 
> Document Feeder" --mode Lineart --output-file foo%02d.pbm 2> scanadf.log
> 
> I still couldn't get anything scanned from the ADF (even though I put there
> 3 sheets of paper).  I'm attaching the log to this message. Any help would
> be highly appreciated.
> 
> If further information (or more detailed logs) are desired, please let me
> know.
> 
>> You can decrease the log level to reduce log depth (see 'man sane-pixma'
>> for details).
> 
> Thanks for the hint of that manpage.
> 
>>> In the case of it being possible to return this device and get something
>>> else in its place, which manufacturer/model would be preferred to have
>>> *full* functionality with Free Software only? Any recommendations?
>>
>> Please have a look at this table:
>> http://www.sane-project.org/sane-backends.html
> 
> Regarding this device, unfortunately, it seems that I can't return it. :-(
> So, I will have to live with it for the moment.
> 
> If/when possible, I may be getting another one more compatible and robust
> with Free Software support in the future. :-( OTOH, that table is huge.
> Which manufacturers are generally good bets/collaborative with Free Software
> developers in general?  HP?
> 
>> Hope this helps.
> 
> It sure did.
> 
> 
> Thanks,
> 
> Rogério
> 



Re: [sane-devel] Sending confirmation about the pixma backend

2019-10-05 Thread Rolf Bensch
Hi Rogério,

Am 05.10.19 um 00:00 schrieb Rogério Brito:
> Dear people,
>
> I just (yesterday night) bought myself a Canon PIXMA E4210 that I want to
> use *purely* with Free Software.
>
> In my limited hours with it, I found that the scanning wasn't working with
> the programs in Debian testing nor sid but that I could make it work with an
> USB cable if I installed sane-backends 1.0.28 (I actually grabbed a package
> uploaded to mentors.debian.org).
>
> Since I read the code and it mentioned that it needed testers, here is a
> report.  With the newer version of sane-backends, I can scan from the
> flatbed, as expected, and it works as well as I could expect (minus the
> fragility of this piece of hardware---disappointed with that, but that's not
> software-related, of course).

Many thanks for your report.

>
> Unfortunately, I can't scan from the ADF (which was one of the main reasons
> for me to choose this printer instead of others--with money being a 2nd
> factor, of course).



> - - - - - - - - - - - - - - - - - - - - - -
> $ scanadf -d pixma:04A91855_103CD1 --mode Lineart --gamma 1 --source 
> "Automatic Document Feeder" --output-file foo%02d.pbm
> scanadf: sane_read: Document feeder out of documents
> Scanned 0 pages
> - - - - - - - - - - - - - - - - - - - - - -
>
> The printer doesn't do anything, nothing moves etc.  The ADF works if I tell
> it to scan from my Android device (but, then, the Canon app doesn't allow me
> to specify resolution, nor if I want B/W images etc.---yes, it's that
> limited).

--souce option usually resets previous settings.

Please try this:

$ scanadf -d pixma:04A91855_103CD1 --source "Automatic Document Feeder"
--mode Lineart --output-file foo%02d.pbm

For testing ADF I prefer to use gscan2pdf and for "normal" scans xsane.
You can see some logs with:

$ SANE_DEBUG_PIXMA=11 gscan2pdf

or

$ SANE_DEBUG_PIXMA=11 xsane

add this if you want to save the log into a file:

&> pixma.log

You can decrease the log level to reduce log depth (see 'man sane-pixma'
for details).



> In the case of it being possible to return this device and get something
> else in its place, which manufacturer/model would be preferred to have
> *full* functionality with Free Software only? Any recommendations?

Please have a look at this table:
http://www.sane-project.org/sane-backends.html

Hope this helps.

Cheers,
Rolf