Unitech PA500 manual Stop auto scanning function, Check if auto scanning is enable

Page 13

2.17.Stop auto scanning function

Function Description:

Stop auto scanning

Function call:

void USI_StopAutoScan();

2.18.Check if auto scanning is enable

Function Description:

Check if auto scanning function is enabled or not

Function call:

BOOL USI_IsAutoScanning()

Return:

BOOL: TRUE : auto-scanning is running

 

FALSE : auto-scanning is disabled.

2.19.Check if Scan2Key.exe program is running or not

Function Description:

Test whether Scan2Key application is running at background. (It doesn’t mean Scan2Key is routing scanner input to keyboard, please call S2K_IsEnabled() to check if routing function is enable or not)

Function call:

HWND S2K_IsLoaded();

Return:

NULL : Scan2Key is not running

 

Non-NULL : indicates scan2key is running. It actually returns

 

window handle for scan2key, but it is for internal use – send messages.

2.20.Test if Scan2Key is enabled

Function Description:

Test whether Scan2Key is enabled. Scan2Key routes scanning input from scanner to keypad buffer, so that barcode data can be input as like from keystrokes on keypad.

Function call:

BOOL S2K_IsEnabled();

Return: TRUE = enabled.

FALSE = disable

2.21.Load/Unload Scan2Key.exe

Function Description:

Load or unload Scan2Key

Function call:

BOOL S2K_Load(BOOL load, DWORD timeout);

Parameter: (input)

 

 

 

load:

BOOL:

TRUE = load Scan2Key

 

 

FALSE

= unload Scan2Key

timeout:

 

DWORD:

when unload Scan2Key, it will wait until

 

 

Scan2Key has been removed from memory or timeout

Parameter: (output)

 

specified by this parameter.

 

 

 

Return:

TRUE = successfully loaded.

 

-

Image 13
Contents PA500 Programming Manual USI.DLL Unitech Scanner Interface DLL Automatically enable scanner beam with pressing trigger keySCANKEY3.DLL Backward Compatible API for PT930/PT930S’S GET Device ID Update Notes Introduction How to download data from scanner COM definition for PA500 Parameter input Function callReset Scanner Enable / Disable ScannerGet error code Returns the system error codeFunction Description Get scan dataParameter output Get length of scanned data Get Symbology nameWait for acknowledgement of the last sent command Good read indicatorSave setting to profiles Clear scan data system bufferChange scanner setting from specified setting profile Save scanner setting into specified fileAutomatically enable scanner beam with pressing trigger key Parameter output ReturnTest if Scan2Key is enabled Check if auto scanning is enableStop auto scanning function Check if Scan2Key.exe program is running or notSend scanner command to decoding chip Enable/Disable Scan2KeyOnly send single command decoding chip Esc, 0x80+cmd Function callEsc, parameter1, parameter2, …, BCC Send command to decoding chipControl command for decoder chip Special Command for controlEnable in Communication Code32set TRACK1,5 TRACK2,6 TRACK3Labelcode CodabarsetUpcaset UpcesetUPC a PTEnableBarcode Function call Disable DecoderCheck barcode input Return codeRead barcode data Reset all symbologies to defaultGet DLL version no Enable laser trigger key Disable laser trigger keyPTEnableBarToKey Function call for VC INT PTVersionvoid Return IntegerKeypad Related Functions SysIOAPI.DLLReturn code Bool True Caps lock False Caps unlock Return code True Shift lock False Shift unlockParameterInput Scanner Related FunctionsExample LED related functionParametersInput LCD/Backlight related functionDynamic Load DLL Get Device ID Update notes
Related manuals
Manual 84 pages 14.34 Kb