[sane-devel] NET BJNP Canon imageCLASS MF4880DW

Rolf Bensch rolf at bensch-online.de
Sat Feb 8 16:41:16 UTC 2014


Hi Louis,

Other Pixma sub-backends use '#define IMAGE_BLOCK_SIZE (512*1024)'.

I would exceed IMAGE_BLOCK_SIZE to the same size (0x80000).

Cheers,
Rolf



Am 08.02.2014 00:00, schrieb Louis Lagendijk:
> On Tue, 2014-01-07 at 13:05 +0100, Louis Lagendijk wrote:
> Hi Rolf,
> I am working with Yvan L. Gélinas <gelinasyl at gmail.com> to get the laser
> multi-functionals to work over the mfnp protocol (usb over IP).
> Yvan has kindly given me access to his scanner over a tunnel.
> 
> I found that the MF4880DW sends pretty big image blocks to the backend:
> I see sizes of 261640 (just below 256K), so we exceed the currently
> defined :
> #define IMAGE_BLOCK_SIZE (0xffff) and as a result the backend crashes.
> 
> Would it be ok for you if I change  this to:
> #define IMAGE_BLOCK_SIZE (0x3ffff).
> 
> Thanks in advance for your feedback
> 
> Kind regards, Louis
> 
> 
> 
> 



More information about the sane-devel mailing list