From c6bd0b3bded0e9317a879ed4fceca06f903090de Mon Sep 17 00:00:00 2001 From: Nicolas Martin Date: Mon, 4 Oct 2010 22:17:44 +0200 Subject: [PATCH] pixma: fixes MP800 and MP800R TPU at 2400 dpi by Gernot Hassenpflug modified: backend/pixma_mp150.c --- backend/pixma_mp150.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/pixma_mp150.c b/backend/pixma_mp150.c index ebee20c8d..05c21a4b7 100644 --- a/backend/pixma_mp150.c +++ b/backend/pixma_mp150.c @@ -590,8 +590,12 @@ calc_shifting (pixma_t * s) case MP800_PID: case MP800R_PID: - case MP830_PID: case MP960_PID: + if (s->param->xdpi == 2400) + mp->stripe_shift = 6; + break; + + case MP830_PID: case MP810_PID: if (s->param->xdpi == 2400) mp->stripe_shift = 3; @@ -615,7 +619,7 @@ calc_shifting (pixma_t * s) break; case MP980_PID: - case MP990_PID: + case MP990_PID: if (s->param->ydpi > 150) { mp->color_shift = s->param->ydpi / 75;