Unitech PA500 manual Read barcode data, Get DLL version no, Reset all symbologies to default

Page 22

4.4.Read barcode data

Function Description: Get input barcode data and its type from system buffer.

Function call: BOOL PT_GetBarcode( TCHAR *szBarcodeBuffer,TCHAR *cType);

Parameter: (output)

szBarcodeBuffer : string buffer for storing input data

cType : Type of Input data

=00H

Full Code 39

=01H

STD Code 39

=02H

EAN-13

=03H

UPC-A

=04H

EAN-8

=05H

UPC-E

=06H

I-25

=07H

CODABAR

=08H

Code 128

=09H

Code 93

=0Ah

STD 25

=0BH

MSI

=0CH

EAN-128

=0DH

Code 32

=0EH

DELTA

=0FH

LABEL

=10H

PLESSEY

=11H

Code 11

=12H

TOSHIBA

Return code: TRUE

= There is barcode input

FALSE = No Barcode Input

4.5.Get DLL version no

Function description:

This function is used to get DLL version no.

Function call:

INT PT_DllVersion(void);

Return :

Integer

4.6.Reset all symbologies to default

Function Description:

This function call will reset decoder chip's symbologies setting to system default value

Function call for VC:

int PT_ SetToDefault (VOID)

Function call for VB:

PT_ SetToDefault

-

Image 22
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 codeFunction Description Get scan dataParameter output 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 Code32set Upcaset Codabarset Labelcode UpcesetUPC a Check barcode input Disable DecoderPTEnableBarcode Function call Return codeRead barcode data Reset all symbologies to defaultGet DLL version no 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