Unitech PA500 manual USI.DLL Unitech Scanner Interface DLL

Page 2

1.

INTRODUCTION

5

1.1

How to download data from scanner

5

1.2

COM definition for PA500

6

2.

USI.DLL – UNITECH SCANNER INTERFACE DLL

7

2.1.

Register the application to the USI DLL

7

2.2.

Unregister the application from the USI.DLL

8

2.3.

Enable / Disable Scanner

8

2.4.

Reset Scanner

8

2.5.

Get error code

8

2.6.

Returns the system error code

8

2.7.

Get scan data

9

2.8.

Get length of scanned data

10

2.9.

Get Symbology name

10

2.10. Clear scan data system buffer

11

2.11. Good read indicator

11

2.12. Wait for acknowledgement of the last sent command

11

2.13. Save setting to profiles

11

2.14. Save scanner setting into specified file

12

2.15. Change scanner setting from specified setting profile

12

2.16. Automatically enable scanner beam with pressing trigger key

12

2.17. Stop auto scanning function

13

2.18. Check if auto scanning is enable

13

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

13

2.20. Test if Scan2Key is enabled

13

2.21. Load/Unload Scan2Key.exe

13

2.22. Enable/Disable Scan2Key

14

2.23. Send scanner command to decoding chip

14

- 2

Image 2
Contents PA500 Programming Manual Automatically enable scanner beam with pressing trigger key USI.DLL Unitech Scanner Interface DLLSCANKEY3.DLL Backward Compatible API for PT930/PT930S’S GET Device ID Update Notes Introduction How to download data from scanner COM definition for PA500 Function call Parameter inputGet error code Enable / Disable ScannerReset Scanner Returns the system error codeParameter output Get scan dataFunction Description Get Symbology name Get length of scanned dataSave setting to profiles Good read indicatorWait for acknowledgement of the last sent command Clear scan data system bufferAutomatically enable scanner beam with pressing trigger key Save scanner setting into specified fileChange scanner setting from specified setting profile Parameter output ReturnStop auto scanning function Check if auto scanning is enableTest if Scan2Key is enabled Check if Scan2Key.exe program is running or notOnly send single command decoding chip Enable/Disable Scan2KeySend scanner command to decoding chip Esc, 0x80+cmd Function callSend command to decoding chip Esc, parameter1, parameter2, …, BCCSpecial Command for control Control command for decoder chipEnable in Communication TRACK1,5 TRACK2,6 TRACK3 Code32setUpcaset CodabarsetLabelcode UpcesetUPC a Check barcode input Disable DecoderPTEnableBarcode Function call Return codeGet DLL version no Reset all symbologies to defaultRead barcode data PTEnableBarToKey Disable laser trigger keyEnable laser trigger key Function call for VC INT PTVersionvoid Return IntegerReturn code Bool True Caps lock False Caps unlock SysIOAPI.DLLKeypad Related Functions Return code True Shift lock False Shift unlockScanner Related Functions ParameterInputLED related function ExampleLCD/Backlight related function ParametersInputDynamic Load DLL Get Device ID Update notes
Related manuals
Manual 84 pages 14.34 Kb