kopia lustrzana https://gitlab.com/sane-project/backends
2002-12-04 Matthew Duggan <stauff1@users.sourceforge.net>
* backend/canon_pp-dev.c: Don't compare firmware version numbers - multiple versions do actually exist. * doc/descriptions/canon_pp.desc: Bump version number.DEVEL_2_0_BRANCH-1
rodzic
5602be214a
commit
d44ae2c92e
|
@ -1,3 +1,8 @@
|
|||
2002-12-04 Matthew Duggan <stauff1@users.sourceforge.net>
|
||||
* backend/canon_pp-dev.c: Don't compare firmware version numbers -
|
||||
multiple versions do actually exist.
|
||||
* doc/descriptions/canon_pp.desc: Bump version number.
|
||||
|
||||
2002-12-03 Peter Fales <peter@fales-lorenz.net>
|
||||
|
||||
* backend/gphoto2.c: Don't display the "low resolution" option when
|
||||
|
|
|
@ -92,14 +92,14 @@ static void DBG(int level, const char *format, ...)
|
|||
|
||||
|
||||
/* Constants */
|
||||
#define ID_FB320P "CANON IX-03055C 1.00"
|
||||
#define ID_FB620P "CANON IX-06025C 1.00"
|
||||
#define ID_FB320P "CANON IX-03055C"
|
||||
#define ID_FB620P "CANON IX-06025C"
|
||||
|
||||
#define ID_FB330P "CANON IX-03075E 1.00"
|
||||
#define ID_FB630P "CANON IX-06075E 1.00"
|
||||
#define ID_FB330P "CANON IX-03075E"
|
||||
#define ID_FB630P "CANON IX-06075E"
|
||||
|
||||
#define ID_N340P "CANON IX-03095G 1.00"
|
||||
#define ID_N640P "CANON IX-06115G 1.00"
|
||||
#define ID_N340P "CANON IX-03095G"
|
||||
#define ID_N640P "CANON IX-06115G"
|
||||
|
||||
/*const int scanline_count = 6;*/
|
||||
static const char *header = "#CANONPP";
|
||||
|
@ -369,7 +369,7 @@ int sanei_canon_pp_initialise(scanner_parameters *sp, int mode)
|
|||
sp->scanheadwidth = (scanner_info[2] << 8) | scanner_info[3];
|
||||
|
||||
/* Set up various known values */
|
||||
if (strncmp(&(sp->id_string[8]), ID_FB320P, sizeof(ID_FB320P)) == 0)
|
||||
if (strncmp(&(sp->id_string[8]), ID_FB320P, sizeof(ID_FB320P)-3) == 0)
|
||||
{
|
||||
strcpy(sp->name, "FB320P");
|
||||
sp->natural_xresolution = 2;
|
||||
|
@ -379,7 +379,7 @@ int sanei_canon_pp_initialise(scanner_parameters *sp, int mode)
|
|||
sp->scanheadwidth = 2552;
|
||||
sp->type = 0;
|
||||
}
|
||||
else if (strncmp(&(sp->id_string[8]), ID_FB330P, sizeof(ID_FB330P))==0)
|
||||
else if (strncmp(&(sp->id_string[8]), ID_FB330P, sizeof(ID_FB330P)-3)==0)
|
||||
{
|
||||
strcpy(sp->name, "FB330P");
|
||||
sp->natural_xresolution = 2;
|
||||
|
@ -387,7 +387,7 @@ int sanei_canon_pp_initialise(scanner_parameters *sp, int mode)
|
|||
sp->scanbedlength = 3508;
|
||||
sp->type = 1;
|
||||
}
|
||||
else if (strncmp(&(sp->id_string[8]), ID_FB620P, sizeof(ID_FB620P))==0)
|
||||
else if (strncmp(&(sp->id_string[8]), ID_FB620P, sizeof(ID_FB620P)-3)==0)
|
||||
{
|
||||
strcpy(sp->name, "FB620P");
|
||||
sp->natural_xresolution = 3;
|
||||
|
@ -397,7 +397,7 @@ int sanei_canon_pp_initialise(scanner_parameters *sp, int mode)
|
|||
sp->scanheadwidth = 5104;
|
||||
sp->type = 0;
|
||||
}
|
||||
else if (strncmp(&(sp->id_string[8]), ID_FB630P, sizeof(ID_FB630P))==0)
|
||||
else if (strncmp(&(sp->id_string[8]), ID_FB630P, sizeof(ID_FB630P)-3)==0)
|
||||
{
|
||||
strcpy(sp->name, "FB630P");
|
||||
sp->natural_xresolution = 3;
|
||||
|
@ -405,7 +405,7 @@ int sanei_canon_pp_initialise(scanner_parameters *sp, int mode)
|
|||
sp->scanbedlength = 7016;
|
||||
sp->type = 1;
|
||||
}
|
||||
else if (strncmp(&(sp->id_string[8]), ID_N640P, sizeof(ID_N640P)) == 0)
|
||||
else if (strncmp(&(sp->id_string[8]), ID_N640P, sizeof(ID_N640P)-3) == 0)
|
||||
{
|
||||
strcpy(sp->name, "N640P");
|
||||
sp->natural_xresolution = 3;
|
||||
|
@ -413,7 +413,7 @@ int sanei_canon_pp_initialise(scanner_parameters *sp, int mode)
|
|||
sp->scanbedlength = 7016;
|
||||
sp->type = 1;
|
||||
}
|
||||
else if (strncmp(&(sp->id_string[8]), ID_N340P, sizeof(ID_N340P)) == 0)
|
||||
else if (strncmp(&(sp->id_string[8]), ID_N340P, sizeof(ID_N340P)-3) == 0)
|
||||
{
|
||||
strcpy(sp->name, "N340P");
|
||||
sp->natural_xresolution = 2;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
:backend "canon_pp" ; name of backend
|
||||
:manpage "sane-canon_pp"
|
||||
:version "0.3" ; version of backend
|
||||
:version "0.31" ; version of backend
|
||||
:status :alpha ; :alpha, :beta, :stable, :new
|
||||
|
||||
:url "http://canon-fb330p.sourceforge.net" ; backend home page
|
||||
|
|
Ładowanie…
Reference in New Issue