特别是对于高速扫描仪。我现在大致已经知道如何控制平板扫描仪的工作,可是不清楚,
对于twain如何控制它的高速扫描仪的方法和函数。我手上的例子是对于一款扫描仪它自身
的控制函数://1>InitializeDriver
@InitDrv:=GetProcAddress(hDll,'InitializeDriver');
i:=@InitDrv;
//2>TerminateDriver
//@TerminateDrv:=GetProcAddress(hDll,'TerminateDrv');
//3>InitializeScanner
@InitScanner:=GetProcAddress(hDll,'InitializeScanner');
i:=@InitScanner;
//4>GetADFStatus
@GetADFStatus:=GetProcAddress(hDll,'GetADFStatus');
i:=@GetADFStatus;
//5>GetScannerAbility
@GetScannerAbility:=GetProcAddress(hDll,'GetScannerAbility');
i:=@GetScannerAbility;
//6>ResetScanner
@ResetScanner:=GetProcAddress(hDll,'ResetScanner');
i:=@ResetScanner;
//7>SetScanParameterm
@SetScanParameter:=GetProcAddress(hDll,'SetScanParameter');
i:=@SetScanParameter;
//8>DoCalibration
@DoCalibration:=GetProcAddress(hDll,'DoCalibration');
i:=@DoCalibration;
//9>StartScan
@StartScan:=GetProcAddress(hDll,'StartScan');
//InitSuccess:=StartScan;
i:=@StartScan;
//10>ResetScan
@ReadScan:=GetProcAddress(hDll,'ReadScan');
i:=@ReadScan;
//11>StopScan
@StopScan:=GetProcAddress(hDll,'StopScan');
i:=@StopScan;
//12>DoPaperFeed
@DoPaperFeed:=GetProcAddress(hDll,'DoPaperFeed');
i:=@DoPaperFeed;
//13>SetGammaTable
@SetGammaTable:=GetProcAddress(hDll,'SetGammaTable');
i:=@SetGammaTable;
//14>ChooseScanner
@ChooseScanner:=GetProcAddress(hDll,'ChooseScanner');
i:=@ChooseScanner;
//15>GetEOPStatus
@GetEOPStatus:=GetProcAddress(hDll,'GetEOPStatus');
i:=@GetEOPStatus;
//16>SetSpeedMode
@SetSpeedMode:=GetProcAddress(hDll,'SetSpeedMode');
i:=@SetSpeedMode;
//17> GetScannerStatus
@GetScannerStatus:=GetProcAddress(hDll,'GetScannerStatus');
i:=@GetScannerStatus;
//18>SetPrintPortMode
@SetPrintPortMode:=GetProcAddress(hDll,'SetPrintPortMode');
i:=@SetPrintPortMode;
//19>LampOn
@LampOn:=GetProcAddress(hDll,'LampOn');
i:=@LampOn;
//20>LampOff
@LampOff:=GetProcAddress(hDll,'LampOff');
i:=@LampOff;
@TerminateDrv:=GetProcAddress(hDll,'TerminateDriver');
请注意4,它好像是启动了高速扫描仪的高速扫描,可是现在我要求对各种扫描仪都适用,
因而不能使用这些AVASPI32.DLL(自带的驱动),请问twain中对高速扫描仪的控制函数等。
望知道这方面问题的兄弟赐教。