Hi Jean-Marc,

The Pixma backend just doesn't support 600x1200dpi. Sorry, this was my
fault.

Please patch the source backend/pixma_mp150.c with the attached file and
try ADF scans again. I suppose that Canon changed ADF data format for
all new scanners.

Hope this helps.

Cheers,
Rolf


Am 28.10.19 um 20:51 schrieb Jean-Marc Spaggiari:
> Hi Rold,
> 
> 1200DPI reports an error. "Operation was canceled" in both xsame
> and gscan2pdf. Same error for the feeder.
> 
> Let me know if I can provide more information.
> 
> JMS
> 
> Le sam. 26 oct. 2019 à 08:38, Rolf Bensch <[email protected]
> <mailto:[email protected]>> a écrit :
> 
>     Hi JMS,
> 
>     Please report if both, (1) 1200dpi scans and (2) scanning from document
>     feeder are working. You scanner still is marked as "untested"
>     (http://www.sane-project.org/lists/sane-backends-cvs.html#S-PIXMA).
> 
>     I wouldn't use Ubuntu's deb packages for Debian. You need libjpeg if you
>     e.g. want to save images as jpeg from scanimage. Please install from
>     sources as described in INSTALL.linux
>     (http://www.sane-project.org/docs.html).
> 
>     Many thanks for your help.
> 
>     Cheers,
>     Rolf
> 
> 
>     Am 25.10.19 um 14:27 schrieb Jean-Marc Spaggiari:
>     > Hi Rolf,
>     >
>     > I tried to install the packages on Debian, but they have a dependency
>     > on libjpeg8, which is not available on Debian. And libjpeg8 has a
>     > dependency on libjpeg-turbo8. Not available on Debian neither.
>     >
>     > I installed on Ubuntu packages from Bionic version and ran
>     gscanpdf and
>     > so far everything seems to be working! Happy.
>     >
>     > Thanks for your guidance! Looking forward to get Debian upgrading the
>     > libsane package to a more recent version!
>     >
>     > JMS
>     >
>     > Le mer. 25 sept. 2019 à 15:41, Rolf Bensch <[email protected]
>     <mailto:[email protected]>
>     > <mailto:[email protected] <mailto:[email protected]>>> a
>     écrit :
>     >
>     >     Hi JMS,
>     >
>     >     Sorry, I was confused with the numbers. SANE 1.0.28 is the recent
>     >     version you need.
>     >
>     >     Hope this helps.
>     >
>     >     Cheers,
>     >     Rolf
>     >
>     >
>     >     Am 13.09.19 um 01:11 schrieb Jean-Marc Spaggiari:
>     >     > Hi Rolf,
>     >     >
>     >     > I'm running straight Debian and it seems that availble
>     version is
>     >     > 1.0.27. The Ubuntu link you sent shows 1.0.28. I searched on
>     Debian
>     >     > Packaged and they don't seems to have something more recent :-/
>     >     >
>     >     > Any idea where I can find it? Else I will just build from
>     the sources.
>     >     >
>     >     > Thanks,
>     >     >
>     >     > JMS
>     >     >
>     >     > Le jeu. 12 sept. 2019 à 16:26, Rolf Bensch
>     <[email protected] <mailto:[email protected]>
>     >     <mailto:[email protected] <mailto:[email protected]>>
>     >     > <mailto:[email protected] <mailto:[email protected]>
>     <mailto:[email protected] <mailto:[email protected]>>>> a
>     >     écrit :
>     >     >
>     >     >     Hi JMS,
>     >     >
>     >     >     What SANE version is installen on your system? You need
>     >     version 1.0.29.
>     >     >
>     >     >     If you're using Ubuntu or an Ubuntu clone, you can use
>     my ppa to
>     >     >     update SANE:
>     >     >     https://launchpad.net/~rolfbensch/+archive/ubuntu/sane-git .
>     >     >
>     >     >     If you have another Linux OS, please install SANE as
>     described in
>     >     >     INSTALL.linux (http://www.sane-project.org/docs.html).
>     >     >
>     >     >     Please try to scan all dpi resolutions and after this
>     the document
>     >     >     feeder.
>     >     >
>     >     >     Hope this helps.
>     >     >
>     >     >     Cheers,
>     >     >     Rolf
>     >     >
>     >     >      
>     >     >
>     >     >     Am 27.08.19 um 15:29 schrieb Jean-Marc Spaggiari:
>     >     >>     Hi,
>     >     >>
>     >     >>     I'm trying to get a Canon TR4529 work with Sane without any
>     >     >>     success. The support page said testers are needed. Here
>     am I ;)
>     >     >>
>     >     >>     http://www.sane-project.org/sane-mfgs.html#Z-CANON
>     >     >>
>     >     >>     Scanner works well with scangearmp2.
>     >     >>     sane-find-scanner can find it: found USB scanner
>     (vendor=0x04a9
>     >     >>     [Canon], product=0x1854 [TR4500 series]) at libusb:001:006
>     >     >>
>     >     >>     But scanimage doesn't return anything:
>     >     >>     $ ./frontend/scanimage -L
>     >     >>
>     >     >>     No scanners were identified. If you were expecting
>     something
>     >     >>     different,
>     >     >>     check that the scanner is plugged in, turned on and
>     detected
>     >     by the
>     >     >>     sane-find-scanner tool (if appropriate). Please read the
>     >     documentation
>     >     >>     which came with this software (README, FAQ, manpages).
>     >     >>
>     >     >>     I have downloaded the last snapshot and built from there.
>     >     >>     1008  27/08/2019 09:06:12 ./configure
>     >     >>     1009  27/08/2019 09:06:37 make
>     >     >>     1013  27/08/2019 09:11:15 ./tools/sane-find-scanner
>     >     >>     1016  27/08/2019 09:11:37 ./frontend/scanimage -L
>     >     >>
>     >     >>     From documentation it says:
>     >     >>     The  device  name  for  USB devices is in the form
>     >     pixma:xxxxyyyy_zzzzz
>     >     >>     where x, y and z are vendor ID, product ID and  serial 
>     >     number  respec‐
>     >     >>     tively.
>     >     >>
>     >     >>     So I tried:
>     >     >>     scanimage --device-name="pixma:04A91854_22811"
>     >     >>
>     >     >>     But I don't know what is the serial number. I took the
>     one from
>     >     >>     the printer, but doesn't work.
>     >     >>
>     >     >>     Can someone please provide some guidance on how I can make
>     >     process
>     >     >>     and how to help with the testing?
>     >     >>
>     >     >>     Thanks,
>     >     >>
>     >     >>     JMS
>     >     >>
>     >
> 
--- /home/public/workspace/sane-backends/.git/.gitk-tmp.kixwVO/1/[3c863c2bd9a2f06b3a92b93bc1031fe03c44c0a0] pixma_mp150.c
+++ /home/public/workspace/sane-backends/.git/.gitk-tmp.kixwVO/1/[f3a5fc846a695a59fb165acf416e9660d382163a] pixma_mp150.c
@@ -1771,7 +1771,7 @@
   DEVICE ("Canon PIXMA TR7530 Series", "TR7530", TR7530_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
   DEVICE ("Canon PIXUS XK50 Series", "XK50", XK50_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),
   DEVICE ("Canon PIXUS XK70 Series", "XK70", XK70_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),
-  DEVICE ("Canon PIXMA TR4500 Series", "TR4500", TR4500_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
+  DEVICE ("Canon PIXMA TR4500 Series", "TR4500", TR4500_PID, 0, 600, 0, 0, 638, 877, PIXMA_CAP_CIS | PIXMA_CAP_ADF | PIXMA_CAP_ADF_JPEG),
   DEVICE ("Canon PIXMA E4200 Series", "E4200", E4200_PID, 0, 600, 0, 0, 638, 877, PIXMA_CAP_CIS | PIXMA_CAP_ADF),
   DEVICE ("Canon PIXMA TS6200 Series", "TS6200", TS6200_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),
   DEVICE ("Canon PIXMA TS6280 Series", "TS6280", TS6280_PID, 0, 1200, 0, 0, 638, 877, PIXMA_CAP_CIS),

Reply via email to