Argox pt-80 Mode D'Emploi

Page de 76
 
SCANAPIAX.DLL 
We supply SCANAPIAX.DLL to allow programmer to control scan device status. There are total 
28 functions for user to use. User can use WINCE develop tool which like Visual Studio 2005 to 
develop application program to control scanner. 
 
In this library, there are three different ways to control scanner module. These are API_SCAN, 
Scan2Key and Scanner related functinos. Each related function can be used to control scanner 
module in different way. These three related functions can not be used at the same time. User 
should decide a suitably way to develop application. The following shows function description. 
 
User use API_SCAN related functions to register application to SCANAPIAX.dll. API_SCAN 
functions will send messages to report all activities, including error messages and scan data ready. 
 – Register the application to SCANAPIAX.dll 
 – Un-register the application from SCANAPIAX.dll 
 – Get barcode data into the buffer. 
 – Return the scan data length. 
 – Return the barcode type. 
 – Get the error code. 
 – Return the system error code. 
 – Play sound and flash LED. 
 – Loader scanner setting form file. 
 – Reset the scanner setting to default status. 
 – Clear the data buffer that the next new scan data can come 
in. 
 – Save current scanner setting to file. 
 – Write the current scanner setting into scanner. 
 – Check the scan.exe is running or not. 
 – Load or unload the scan.exe. 
 – Query scanner setting. 
 – Send scanner command to change scanner status. 
 
User use Scan2Key related functions to control scan.exe program. When scan.exe is loaded, 
scan data will send to key buffer. User application can be get scan data just like standard 
Programming Manual                                                                                            30