[sane-devel] scanning a single line
Hi I am looking at getting info back from the scanner as singles rows of pixels, without moving the head between the lines of pixels returned. From looking at sane it looks like I will need to dig deeper into the driver of a scanner to get that kind of info back. Does anyone know of any scanners whose drivers lend themselves to tht, or any examples of this already having been done? Thanks -- next part -- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20120115/05fd11b9/attachment.html
[sane-devel] Subject: [PATCH 0/4] fix and cleanup portable PATH_SEP and DIR_PATH defines
From: Ruediger Meier ruediger.me...@ga-group.nl This patch-set is to fix and unify PATH_SEP and DIR_PATH defines in the context of seeing them conflicting on cygwin. Ruediger Meier (4): fix, PATH_SEP and DIR_SEP were inconsistently defined on cygwin since 5168206e (also see a28bd843) cleanup, remove all unused PATH_SEP defines cleanup, always use the same portable PATH_SEP define (note _WIN32 is not defined on cygwin) update ChangeLog for previous commits ChangeLog|6 ++ backend/canon_dr.h |8 backend/cardscan.h |8 backend/dll.c|6 +- backend/epjitsu.h|8 backend/fujitsu.h|8 backend/gt68xx.c |2 +- backend/kodak.h |8 backend/microtek2.h |2 +- sanei/sanei_access.c |2 +- sanei/sanei_config.c |5 + 11 files changed, 11 insertions(+), 52 deletions(-) -- 1.7.6.1
[sane-devel] [PATCH 1/4] fix, inconsistent PATH_SEP and DIR_SEP defines
From: Ruediger Meier ruediger.me...@ga-group.nl PATH_SEP and DIR_SEP were inconsistently defined on cygwin since 5168206e (also see a28bd843) --- sanei/sanei_config.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/sanei/sanei_config.c b/sanei/sanei_config.c index 1279a3e..5fbc37f 100644 --- a/sanei/sanei_config.c +++ b/sanei/sanei_config.c @@ -62,6 +62,9 @@ #if defined(HAVE_OS2_H) # define DIR_SEP ; # define PATH_SEP '\\' +#elif defined(__CYGWIN__) +# define DIR_SEP : +# define PATH_SEP '/' #elif defined(HAVE_WINDOWS_H) # define DIR_SEP ; # define PATH_SEP '\\' -- 1.7.6.1
[sane-devel] [PATCH 2/4] cleanup, remove all unused PATH_SEP defines
From: Ruediger Meier ruediger.me...@ga-group.nl --- backend/canon_dr.h |8 backend/cardscan.h |8 backend/epjitsu.h |8 backend/fujitsu.h |8 backend/kodak.h|8 5 files changed, 0 insertions(+), 40 deletions(-) diff --git a/backend/canon_dr.h b/backend/canon_dr.h index b1a05c1..f7240c3 100644 --- a/backend/canon_dr.h +++ b/backend/canon_dr.h @@ -433,14 +433,6 @@ enum { # define PATH_MAX 1024 #endif -#ifndef PATH_SEP -#ifdef HAVE_OS2_H -# define PATH_SEP '\\' -#else -# define PATH_SEP '/' -#endif -#endif - /* - */ SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize); diff --git a/backend/cardscan.h b/backend/cardscan.h index d4f9802..a673dc6 100644 --- a/backend/cardscan.h +++ b/backend/cardscan.h @@ -133,14 +133,6 @@ struct scanner # define PATH_MAX 1024 #endif -#ifndef PATH_SEP -#ifdef HAVE_OS2_H -# define PATH_SEP '\\' -#else -# define PATH_SEP '/' -#endif -#endif - /* - */ SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize); diff --git a/backend/epjitsu.h b/backend/epjitsu.h index 53642da..ed63504 100644 --- a/backend/epjitsu.h +++ b/backend/epjitsu.h @@ -292,14 +292,6 @@ struct scanner # define PATH_MAX 1024 #endif -#ifndef PATH_SEP -#ifdef HAVE_OS2_H -# define PATH_SEP '\\' -#else -# define PATH_SEP '/' -#endif -#endif - /* - */ SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize); diff --git a/backend/fujitsu.h b/backend/fujitsu.h index 1bfd300..5c97275 100644 --- a/backend/fujitsu.h +++ b/backend/fujitsu.h @@ -662,14 +662,6 @@ struct fujitsu # define PATH_MAX 1024 #endif -#ifndef PATH_SEP -#ifdef HAVE_OS2_H -# define PATH_SEP '\\' -#else -# define PATH_SEP '/' -#endif -#endif - /* - */ SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize); diff --git a/backend/kodak.h b/backend/kodak.h index 9de427b..ea2a3e4 100644 --- a/backend/kodak.h +++ b/backend/kodak.h @@ -198,14 +198,6 @@ struct scanner # define PATH_MAX 1024 #endif -#ifndef PATH_SEP -#ifdef HAVE_OS2_H -# define PATH_SEP '\\' -#else -# define PATH_SEP '/' -#endif -#endif - /* - */ SANE_Status sane_init (SANE_Int * version_code, SANE_Auth_Callback authorize); -- 1.7.6.1
[sane-devel] [PATCH 3/4] cleanup, uniq PATH_SEP defines
From: Ruediger Meier ruediger.me...@ga-group.nl Always use the same portable PATH_SEP define (note _WIN32 is not defined on cygwin). --- backend/dll.c|6 +- backend/gt68xx.c |2 +- backend/microtek2.h |2 +- sanei/sanei_access.c |2 +- sanei/sanei_config.c |8 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/backend/dll.c b/backend/dll.c index 8e893e6..83d8550 100644 --- a/backend/dll.c +++ b/backend/dll.c @@ -108,11 +108,7 @@ # define PATH_MAX 1024 #endif -#if defined(HAVE_OS2_H) -# define DIR_SEP; -#elif defined(__CYGWIN__) -# define DIR_SEP: -#elif defined(HAVE_WINDOWS_H) +#if defined(_WIN32) || defined(HAVE_OS2_H) # define DIR_SEP; #else # define DIR_SEP: diff --git a/backend/gt68xx.c b/backend/gt68xx.c index c3fdca0..efdb5e0 100644 --- a/backend/gt68xx.c +++ b/backend/gt68xx.c @@ -934,7 +934,7 @@ attach_one_device (SANE_String_Const devname) return SANE_STATUS_GOOD; } -#if defined(HAVE_OS2_H) +#if defined(_WIN32) || defined(HAVE_OS2_H) # define PATH_SEP \\ #else # define PATH_SEP / diff --git a/backend/microtek2.h b/backend/microtek2.h index faa856e..4100fad 100644 --- a/backend/microtek2.h +++ b/backend/microtek2.h @@ -64,7 +64,7 @@ #ifdef HAVE_AUTHORIZATION #ifndef PATH_SEP -#if defined(HAVE_OS2_H) +#if defined(_WIN32) || defined(HAVE_OS2_H) # define PATH_SEP \\ #else # define PATH_SEP / diff --git a/sanei/sanei_access.c b/sanei/sanei_access.c index ca77d8c..b77cdd9 100644 --- a/sanei/sanei_access.c +++ b/sanei/sanei_access.c @@ -62,7 +62,7 @@ # define PATH_MAX 1024 #endif -#if defined(HAVE_OS2_H) || defined(HAVE_WINDOWS_H) +#if defined(_WIN32) || defined(HAVE_OS2_H) # define PATH_SEP '\\' #else # define PATH_SEP '/' diff --git a/sanei/sanei_config.c b/sanei/sanei_config.c index 5fbc37f..c158766 100644 --- a/sanei/sanei_config.c +++ b/sanei/sanei_config.c @@ -59,13 +59,7 @@ # define PATH_MAX 1024 #endif -#if defined(HAVE_OS2_H) -# define DIR_SEP ; -# define PATH_SEP '\\' -#elif defined(__CYGWIN__) -# define DIR_SEP : -# define PATH_SEP '/' -#elif defined(HAVE_WINDOWS_H) +#if defined(_WIN32) || defined(HAVE_OS2_H) # define DIR_SEP ; # define PATH_SEP '\\' #else -- 1.7.6.1
[sane-devel] [PATCH 4/4] update ChangeLog for previous commits
From: Ruediger Meier ruediger.me...@ga-group.nl --- ChangeLog |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 458575e..140fb7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-01-15 Ruediger Meier sweet_f_a at gmx.de + * backend/canon_dr.h, backend/cardscan.h, backend/dll.c, + backend/epjitsu.h, backend/fujitsu.h, backend/gt68xx.c, + backend/kodak.h, backend/microtek2.h, sanei/sanei_access.[hc]: fix and + cleanup portable PATH_SEP and DIR_PATH defines + 2012-01-14 m. allan noah kitno455 at gmail dot com * backend/Makefile.{am,in}, backend/pixma.[ch], backend/pixma_common.c, backend/pixma_mp[17]50.c, -- 1.7.6.1
[sane-devel] Backend for Kodak ESP and Hero AIOs
I have a first version of a backend here http://sourceforge.net/projects/cupsdriverkodak/files/Scanning%20-%20sane%20backend/ I'm using an untidy distribution method currently. I've added the new backend, kodakaio, to sane-backends and then deleted most of the other backends to make a smaller package. My attempts at using a patch instead, were not very sucessful. Too much time was being spent between me and potential users trying to get the patch applied properly. kodakaio is working well using the WiFi network interface of the AIOs, but not so well using the USB interface. It seems unreliable when the data is large. Paul Newall
[sane-devel] scanning a single line
Le dimanche 15 janvier 2012 14:10:25 nick weldin a ?crit : Hi I am looking at getting info back from the scanner as singles rows of pixels, without moving the head between the lines of pixels returned. From looking at sane it looks like I will need to dig deeper into the driver of a scanner to get that kind of info back. Does anyone know of any scanners whose drivers lend themselves to tht, or any examples of this already having been done? Thanks Hello, genesys based scanner are able to scan without moving. In fact this is used during calibration. Regards, Stef
[sane-devel] Support for CanoScan 9000F and others: 48 bit support for flatbed mode
On 15-01-12 at 04:02, m. allan noah wrote: After discussions with Gernot, I have committed his code to SANE git repo, on his behalf. Hopefully one of you will be able to step forward and lend a hand with whatever ongoing maintenance or enhancements are required. allan Thanks, Allan. Sure, I'm willing to lend a hand when needed. Best regards, Eddy
[sane-devel] Support for CanoScan 9000F and others: 48 bit support for flatbed mode
Am So, 15 Jan 2012 21:34:53 CET schrieb Eddy De Greef: On 15-01-12 at 04:02, m. allan noah wrote: After discussions with Gernot, I have committed his code to SANE git repo, on his behalf. Hopefully one of you will be able to step forward and lend a hand with whatever ongoing maintenance or enhancements are required. allan Thanks, Allan. Sure, I'm willing to lend a hand when needed. Me too, no time to test in the next time, but I will give a feedback ASAP if git works. -- ?l