[sane-devel] [SOLVED?, patch] Re: HP 1120 MFP (hpljm1005) - truncated scan area and wrong colors

Kamil Jońca kjonca at o2.pl
Tue Apr 26 22:43:49 UTC 2011




1. It looks like that backend drop data when got two packets of the same
   layer color, ie:
   1.Got 5000  byte packet  of red layer,
   2. another 5000 bytes of red layer <= this data were dropped.
   Unfortunately (my scanner at least) scanner send data red,green,
   blue, (so everythig were ok) during whole page, except .... at end
   where it send something like red,red, red, green, green ,green,
   blue, blue, blue. 
2. I have attached patch which works for me, but I don't know how to resolve
   page size - I think that max Y should be 297 mm not 330, for M1120 MFP
3. I hope that I can use realloc function agaist dev->buffer :)

KJ
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hpljm1005.c.patch
Type: text/x-diff
Size: 2714 bytes
Desc: Patch for backend
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20110427/0a50a712/attachment.patch>
-------------- next part --------------


-- 
http://modnebzdury.wordpress.com/2009/10/01/niewiarygodny-list-prof-majewskiej-wprowadzenie/
Suma inteligencji na planecie jest stala, liczba ludzi powieksza sie.


More information about the sane-devel mailing list