[sane-devel] about GT6801 CCD scanner

Fan Dan dan_fancn@hotmail.com
Thu, 05 Dec 2002 18:52:57 +0800


Hai, henning:
   Thanks you
   I set base_xdpi of  Mustek 2400usb scanner  to 1200, then the gray Image 
is OK . But when I scan in color Mode , the bytes per line only 1/3 of I 
set. In backend I can't understangding some parameters (what is the 
difference of bace_xdpi and optical_xdpi? what's mean of ld_shift_r , 
ld_shift_g, ld_shift_b? 
   There are some parameters in model.
 static GT68xx_Model mustek_2400usb_command_model_info={
	"mustek-2400usb",			/* 	name						*/
	"Mustek",					/*	vendor						*/
	"Mustek 2400USB",			/*	model						*/
	"P9fw.usb",				/* firmware file name 				*/

	&mustek_gt6801_command_descriptor,	/* Model info 		*/

	600,						/* optical_xdpi 					*/
	1200,					/* optical_ydpi 				*/
	1200,						/* base_xdpi 	600					*/
	600,						/* base_ydpi						*/
	1200,					/* ydpi_force_line_mode		*/
	SANE_TRUE,				/* use base_ydpi for all resolution 	*/				
	{600,300,150,75,50,0},		/* xdpi_value						*/
	{1200,600,300,100,50,0},	/*	ydpi_value				*/
	{8,0},					/* bpp_gray_values				*/
	{8,0},				/* bpp_color_values					*/
	SANE_FIX(15.0),			/*	start of scan area in mm			*/	
	SANE_FIX(25.0),			/*    start of scan area in mm			*/
	SANE_FIX(220.0),			/*	width of scan area in mm			*/
	SANE_FIX(299),			/*	high of scan area in mm				*/
	SANE_FIX(0.0),			/*	start of white strip in mm			*/
	SANE_FIX(7.0),			/*	start of black mark in mm			*/
	
	SANE_FIX(0.0),			/*	start of scan area in TA mode in mm	*/
	SANE_FIX(0.0),			/*	start of scan area in TA mode in mm	*/
	SANE_FIX(100.0),			/* 	width of scan area in TA mode in mm	*/
	SANE_FIX(100.0),			/*	high of scan area in TA mode in mm	*/
	SANE_FIX(0.0),			/*	start of white strip in TA mode in mm	*/

	0,						/*	ld_shift_r						*/
	16,						/*	ld_shift_g						*/
	32,						/*	ld_shift_b						*/
	0,						/* 	ld_shift_double				*/
	
	LampOrder_RGB,			/* 	color_order					*/

	{0x16,0x06,0x16,0x06,0x16,0x06},	/*	AFE param	0x13 0x04 0x0f	0x02*/
	{0x157,0x157,0x157},				/*	exposure	time		*/
	
	SANE_FALSE						/*	CCD scanner		*/
0
};





_________________________________________________________________
 MSN Explorer:  http://explorer.msn.com/lccn