[sane-devel] Genius: ColorPage-Slim 1200 USB2 support
Juan Jose Pablos
cheche at apache.org
Thu Nov 17 17:47:24 UTC 2005
This is what is needed for this scanner to be detected.
It is a copy from the cannon scanner, and I would like to find out which
values should requiered for this to work, please help!
Cheers,
cheche
-------------- next part --------------
? cpslim1200.diff
Index: genesys.conf
===================================================================
RCS file: /cvsroot/sane/experimental/genesys-new/genesys.conf,v
retrieving revision 1.1
diff -r1.1 genesys.conf
22a23,26
>
> # Genius ColorPage Slim 1200
> usb 0x0458 0x2020
>
Index: genesys_devices.c
===================================================================
RCS file: /cvsroot/sane/experimental/genesys-new/genesys_devices.c,v
retrieving revision 1.1
diff -r1.1 genesys_devices.c
324a325,366
> static Genesys_Model genius_cpslim_1200_model = {
> "genius-cpslim-1200", /* Name */
> "Genius", /* Device vendor string */
> "ColorPage Slim 1200", /* Device model name */
>
> &gl841_cmd_set,
>
> {1200, 600, 300, 150, 75, 0}, /* possible x-resolutions */
> {2400, 1200, 600, 300, 150, 75, 0}, /* possible y-resolutions */
> {16, 8, 0}, /* possible depths in gray mode */
> {16, 8, 0}, /* possible depths in color mode */
>
> SANE_FIX (3.5), /* Start of scan area in mm (x) */
> SANE_FIX (7.5), /* Start of scan area in mm (y) */
> SANE_FIX (218.0), /* Size of scan area in mm (x) */
> SANE_FIX (299.0), /* Size of scan area in mm (y) */
>
> SANE_FIX (0.0), /* Start of white strip in mm (y) */
> SANE_FIX (1.0), /* Start of black mark in mm (x) */
>
> SANE_FIX (0.0), /* Start of scan area in TA mode in mm (x) */
> SANE_FIX (0.0), /* Start of scan area in TA mode in mm (y) */
> SANE_FIX (100.0), /* Size of scan area in TA mode in mm (x) */
> SANE_FIX (100.0), /* Size of scan area in TA mode in mm (y) */
>
> SANE_FIX (0.0), /* Start of white strip in TA mode in mm (y) */
>
> 0, 0, 0, /* RGB CCD Line-distance correction in pixel */
>
> COLOR_ORDER_BGR, /* Order of the CCD/CIS colors */
>
> SANE_TRUE, /* Is this a CIS scanner? */
> CCD_UMAX,
> DAC_WOLFSON_UMAX,
> GPO_UMAX,
> MOTOR_UMAX,
> GENESYS_FLAG_UNTESTED, /* Which flags are needed for this scanner? */
> /* untested, values set by hmg */
> 20,
> 200
> };
>
636a679
> {0x0458, 0x2020, &genius_cpslim_1200_model},
More information about the sane-devel
mailing list