[sane-devel] New scanner Canon MF4770N Multi function
littlesincanada
littlesincanada at yahoo.co.uk
Thu Sep 19 06:10:58 UTC 2013
Hi,
OK further to this I have managed to get the ADF working.
Can someone who knows about Canon pixma printers give me a little
assistance?
Firstly, the ADF:
In pixma_imageclass.c
I had to modify the has_paper() function to:
static int
has_paper (pixma_t * s)
{
iclass_t *mf = (iclass_t *) s->subdriver;
return ((mf->current_status[1] == 0) ||
((mf->current_status[1] == 0x10) && (s->cfg->pid == MF4770_PID)));
}
The paper in the status byte alternates between 0x10 for "Paper in ADF"
and 0x01 for (No paper in ADF). This is quite a bit different to the
other printers which are looking for 0 when there is paper. Anyone know
why this might be?
Secondly, there seems to be a mismatch in the expected image size and
that received:
[pixma] WARNING:image size mismatches
[pixma] 1683840 expected (877 lines) but 1614720 received (841 lines)
[pixma] pixma_read_image(): completed (underrun detected)
I'm also getting some of these:
[pixma] *sane_read***** Warning: padding may cause incomplete scan results
I'm guessing there is a geometry calculation problem somewhere.
The scan received looks fine so it is obviously overcoming whatever
difficulty is being detected, however I would like to fix this.
Any help with how I might resolve this?
Cheers,
Ralph
-------- Original Message --------
Subject: New scanner Canon MF4770N Multi function
Date: Mon, 16 Sep 2013 23:11:00 -0700
From: littlesincanada <littlesincanada at yahoo.co.uk>
To: sane-devel at lists.alioth.debian.org
Hi,
I got one of these (Canon MF4770N) and managed to get it to pretty much
work with the MF4410 driver.
I rebuilt the pixma backend and substituted the 4770N pid (04A9-2774)
and I can get scanning *mostly* working.
1) Preview/scan in 75/150/300/600 dpi works fine in both colour and b/w.
I do rarely get an error on the printer and I have to switch it on and
off again. This might be a timing issue I guess.
Cancelling scans works OK.
2) xsane will not print using the ADF. xsane generates an error and
reckons that there is nothing in the ADF.
So, looking for a bit of advice. What can I do to track this down? In
particular, I would like to get the ADF working.
Cheers,
Ralph
More information about the sane-devel
mailing list