kopia lustrzana https://gitlab.com/sane-project/backends
Merge branch '333-canon-mf264dw-fails-to-scan'
See issue sane-project/backends#333merge-requests/244/head
commit
5207b12d5d
|
@ -120,7 +120,7 @@ typedef uint32_t uint32_t;
|
|||
/**@{*/
|
||||
#define PIXMA_VERSION_MAJOR 0
|
||||
#define PIXMA_VERSION_MINOR 28
|
||||
#define PIXMA_VERSION_BUILD 3
|
||||
#define PIXMA_VERSION_BUILD 4
|
||||
/**@}*/
|
||||
|
||||
/** \name Error codes */
|
||||
|
@ -157,8 +157,9 @@ typedef uint32_t uint32_t;
|
|||
#define PIXMA_CAP_NEGATIVE (1 << 10)
|
||||
#define PIXMA_CAP_TPUIR ((1 << 11) | PIXMA_CAP_TPU)
|
||||
#define PIXMA_CAP_ADF_WAIT (1 << 12)
|
||||
#define PIXMA_CAP_ADF_JPEG (1 << 13)
|
||||
#define PIXMA_CAP_GT_4096 (1 << 14) /* gamma table has 4096 8-bit values
|
||||
#define PIXMA_CAP_ADF_JPEG (1 << 13) /* scanner returns image as jpeg from ADF */
|
||||
#define PIXMA_CAP_JPEG (1 << 14) /* scanner always returns image as jpeg */
|
||||
#define PIXMA_CAP_GT_4096 (1 << 15) /* gamma table has 4096 8-bit values
|
||||
* only generation 1 scanners
|
||||
* usually gamma table has 1024 16-bit values
|
||||
*/
|
||||
|
|
|
@ -622,6 +622,8 @@ iclass_check_param (pixma_t * s, pixma_scan_param_t * sp)
|
|||
if ((s->cfg->cap & PIXMA_CAP_ADF) && sp->source == PIXMA_SOURCE_FLATBED)
|
||||
sp->h = MIN (sp->h, 877 * sp->xdpi / 75);
|
||||
|
||||
sp->mode_jpeg = (s->cfg->cap & PIXMA_CAP_JPEG);
|
||||
|
||||
/* PDBG (pixma_dbg (4, "*iclass_check_param***** Finally: channels=%u, depth=%u, x=%u, y=%u, w=%u, line_size=%" PRIu64 " , h=%u*****\n",
|
||||
sp->channels, sp->depth, sp->x, sp->y, sp->w, sp->line_size, sp->h)); */
|
||||
|
||||
|
@ -979,7 +981,7 @@ const pixma_config_t pixma_iclass_devices[] = {
|
|||
DEV ("Canon i-SENSYS MF110/910 Series", "MF110", MF110_PID, 600, 0, 640, 1050, 0),
|
||||
DEV ("Canon i-SENSYS MF520 Series", "MF520", MF520_PID, 600, 0, 640, 1050, PIXMA_CAP_ADFDUP),
|
||||
DEV ("Canon i-SENSYS MF420 Series", "MF420", MF420_PID, 600, 0, 640, 1050, PIXMA_CAP_ADFDUP),
|
||||
DEV ("Canon i-SENSYS MF260 Series", "MF260", MF260_PID, 600, 0, 640, 1050, PIXMA_CAP_ADFDUP),
|
||||
DEV ("Canon i-SENSYS MF260 Series", "MF260", MF260_PID, 600, 0, 640, 1050, PIXMA_CAP_JPEG | PIXMA_CAP_ADFDUP),
|
||||
DEV ("Canon i-SENSYS MF740 Series", "MF740", MF740_PID, 600, 0, 640, 1050, PIXMA_CAP_ADFDUP),
|
||||
DEV ("Canon i-SENSYS MF741C/743C", "MF741C/743C", MF743_PID, 600, 300, 640, 1050, PIXMA_CAP_ADFDUP), /* ADFDUP restricted to 300dpi */
|
||||
DEV ("Canon i-SENSYS MF640 Series", "MF642C/643C/644C", MF640_PID, 600, 0, 640, 1050, PIXMA_CAP_ADFDUP),
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
; See doc/descriptions.txt for details.
|
||||
|
||||
:backend "pixma" ; name of backend
|
||||
:version "0.28.3" ; version of backend (or "unmaintained")
|
||||
:version "0.28.4" ; version of backend (or "unmaintained")
|
||||
:manpage "sane-pixma" ; name of manpage (if it exists)
|
||||
;:comment "Devices marked as experimantal are disabled by default. See the manual page for how to enable them."
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue