 -      DBG (5, "sane_start: ERROR: cannot load page\n");
 -      goto errors;
 -    }
-+    DBG (5, "jbreiden 2\n");
 +    //    ret = object_position (s, SANE_TRUE);
 +    //    if (ret != SANE_STATUS_GOOD) {
 +    //      DBG (5, "sane_start: ERROR: cannot load page\n");

           if (ret != SANE_STATUS_GOOD) {
             DBG (5, "sane_start: ERROR: cannot start_scan\n");
             goto errors;
@@ -3447,6 +3451,8 @@
     }
   }
 
+  DBG (5, "jbreiden 4\n");
+
   /* reset jpeg params on each page */
   s->jpeg_stage=JPEG_STAGE_NONE;
   s->jpeg_ff_offset=0;

--- sane-backends-1.0.22/backend/canon_dr.c	2011-01-30 10:49:46.000000000 -0800
+++ /var/tmp/sane-backends-1.0.22/backend/canon_dr.c	2011-08-15 14:20:29.000000000 -0700
@@ -3259,16 +3259,16 @@
     }
 
     /* eject paper leftover*/
-    if(object_position (s, SANE_FALSE)){
-      DBG (5, "sane_start: ERROR: cannot eject page\n");
-    }
+    //    if(object_position (s, SANE_FALSE)){
+    //      DBG (5, "sane_start: ERROR: cannot eject page\n");
+    //    }
