[sane-devel] Canon PIXMA MX890

Henry Ptasinski henry at logout.com
Wed Nov 28 17:43:58 UTC 2012


On 11/28/2012 09:38 AM, Henry Ptasinski wrote:
> Flatbed scans with resolutions up to 600 dpi all seem to be working
> fine.  At 1200 and 2400 dpi, the images are mangled.  Columns appear to
> be interleaved at both resolutions.  I assume the problem is due to a
> missing check in pixma_mp150.c:post_process_image_data().  Any
> suggestions for how to start fixing this issue?

With a little poking around, I found that this change fixes the 1200 and 
2400 dpi scanning problem:

--- a/backend/pixma_mp150.c
+++ b/backend/pixma_mp150.c
@@ -1081,6 +1081,7 @@ post_process_image_data (pixma_t * s, 
pixma_imagebuf_t * i
            /* special image format for *most* devices at high dpi.
             * MP220, MX360, MX370, MG5300 are exceptions */
            if (s->cfg->pid != MP220_PID && s->cfg->pid != MX360_PID
+              && s->cfg->pid != MX890_PID
                && s->cfg->pid != MX370_PID && s->cfg->pid != MG5300_PID 
&& n > 0
                reorder_pixels (mp->linebuf, sptr, c, n, m, 
s->param->wx, line_si


For people more familiar with the pixma code, does this seem like the 
right approach?

Thanks,
---
Henry Ptasinski
henry at logout.com




More information about the sane-devel mailing list