background image

 

 PT-9230 Mobile Computer SDK Programming Manual

                                              85   

API_GetError 

To Get the error code. 

DWORD 

API_GetError

 


}

 

 

Parameters 

 

 

None 

 

Returned Values 

The returned value can be one of those in the table below: 

Constant 

Value 

Description 

ERR_WRITE_FAIL 

1  Send commands to scanner module failed. 

ERR_SETTING_FAIL 

2  Set scanner setting failed. 

ERR_SCANNER_NOT_OPEN  3  Open scanner module failed. 

ERR_INVALID_FILE 

4  Invalid setting file. 

 

 

Example 

 

dwError = API_GetError(); 

 

strMess.Format(_T("API Error Code: %d"), dwError); 

 

AfxMessageBox(strMess); 

 

Requirements 

 

 

OS Versions:

 Windows CE 6.0 or beyond. 

 

 

Header: 

scanapiax.h

 

 

 

Link Library: 

scanapiax.lib

 

Link DLL:

 scanapiax.dll 

Device: 

PT90

 

 

Summary of Contents for PT-9230

Page 1: ...PT 9230 Mobile Computer SDK Programming Manual DOC NO UM PT905 011 Nov 2010 Version 1 0 2010 ARGOXInformationCo Ltd http www argox com ...

Page 2: ...ghtStatus 14 PowerOnLCD 15 SetBacklightPWM 16 KEYPADRELA TEDFUNCTIONS 17 EnablePowerButton 17 GetKeypadAlphaMode 18 SendKbdVisualKey 19 SetKeypadAlphaMode 20 LEDRELA TEDFUNCTIONS 21 GetKeypadLEDStatus 21 GoodReadLEDOn 22 KeypadLEDOn 23 QueryKeypadLEDIntensity 24 SetKeypadPWM 26 SYSTEMRELA TEDFUNCTIONS 27 CallSuspend 27 EnableAutoConnect 28 RegisterAlphaKeyNotification 29 ShowChineseIME 30 ShowDesk...

Page 3: ... 46 GetFTPWriteable 47 SetFTPShareFolder 48 GetFTPShareFolder 49 InitSearchBTDevice 50 FindNextBTDevice 51 EndSearchBTDevice 53 InitSearchFTPDevice 54 FindFirstFTPDevice 55 FindNextFTPDevice 57 PairDevice 59 UnPairDevice 60 GetComInfo 61 ConnectDevice 63 GetConnectStatus 64 GetSPPClientChannel 65 FindFirstFTPFile 66 FindNextFTPFile 67 GetFTPFile 68 PutFTPFile 69 CreateFTPFolder 70 DeleteFTPFolder ...

Page 4: ..._SaveSettingsToScanner 92 S2K_IsLoad 93 S2K_Load 94 SCAN_QueryStatus 95 SCAN_SendCommand 96 SCAN_ResumeSystem 97 SCAN_BatchSetting 98 SCAN_BatchRead 99 SCAN2KEYRELA TEDFUNCTIONS 100 PT_OpenScan2Key 100 PT_CloseScan2Key 101 PT_SetT oDefault 102 SCANNERRELA TEDFUNCTIONS 103 PT_EnableScanner 103 PT_DisableScanner 104 PT_CheckBarcodeData 105 PT_GetBarcodeData 106 PT_SetDefault 108 SCANKEYRELA TEDFUNCT...

Page 5: ...3 Matrix25_SettingStructure 134 PDF417_SettingStructure 135 Code16K_SettingStructure 136 ChinaPost_SettingStructure 137 RSS14_SettingStructure 138 RSSLimited_SettingStructure 139 RSSExpanded_SettingStructure 140 Pharmacode_SettingStructure 141 MicroPDF_SettingStructure 142 EANUCC_SettingStructure 143 IATA25_SettingStructure 144 Trioptic_SettingStructure 145 PosiCode_SettingStructure 146 CodablockF...

Page 6: ...ngStructure 157 USPS_SettingStructure 158 UPU_SettingStructure 159 Aztec_SettingStructure 160 DataMatrix_SettingStructure 161 MaxiCode_SettingStructure 162 QRCode_SettingStructure 163 ChineseSensible_SettingStructure 164 SCANCOMMANDTABLE 165 FUNCTIONRETURNV ALUES 177 ...

Page 7: ...ections one for the system related functions and the other for value added scanning functions with the following information Argox Mobile Computer standard Application Programming Interface API Definitions for system related functions Audio Display Keypad Led and Vibrator Indicators Battery Status System Settings Bluetooth WLAN Argox Scanning module Application Programming Interface API Definition...

Page 8: ... will use Visual Studio 2005 to illustrate Example 1 Using LIB file First programmer should include sysapiax lib in the application project include Sysapiax h main SetBacklightPWM 100 100 Example 2 Using DLL file HINSTANCE dllHandle NULL typedef DWORD _stdcall pfnSetBacklightPWM int nACPowerPercent int nBatteryPercent pfnSetBacklightPWM m_SetBacklightPWM main dllHandle LoadLibrary L SYSAPIAX dll m...

Page 9: ...Display_QueryBacklightIntensity Query back light intensity GetBacklightStatus Gets screen backlight status PowerOnLCD Turn ON or OFF the power of LCD SetBacklightPWM Adjusts screen back light brightness KeyPad Related Functions EnablePowerButton ENABLE or DISABLE Power button GetAlphaMode Get the current keypad input MODE SendKbdVisualKey Sends a virtual key to key buffer SetAlphaMode Change keypa...

Page 10: ...inal discoverable status SetSPPService Enable Disable SPP Service GetSPPService Query SPP Service SetFTPService Enable Disable FTP service GetFTPService Query FTP service status SetFTPWriteable Enable Disable FTP service writeable GetFTPWriteable Query FTP service writeable status SetFTPShareFolder Setup the FTP share folder in terminal GetFTPShareFolder Query current FTP share folder in terminal ...

Page 11: ...FTPFile Get file from share folder in the connected device PutFTPFile Send file to share folder in the connected device CreateFTPFolder Create a new folder to share folder in the connected device DeleteFTPFolder Delete folder from share folder in connected device DeleteFTPFile Delete file from share folder in connected device Bluetooth Structure CONNECT_INFO Structure CONNECT_INFO Information used...

Page 12: ...es Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails thereturnedvalueis E_FUNC_ERROR Example DWORDdwResult dwV olume dwResult Audio_GetV olume dwV olume if dwResult E_FUNC_SUCCEED AfxMessageBox _T Audio_GetV olumefail else CStringstrTemp strTemp Format _T V olume d dwV olume AfxMessageBox strTemp Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysap...

Page 13: ...x99999999 ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails thereturnedvalueis E_FUNC_ERROR Example DWORDdwResult dwV olume dwV olume 0x11111111 dwResult Audio_SetV olume dwV olume if dwResult E_FUNC_SUCCEED AfxMessageBox _T Audio_SetV olumefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device P...

Page 14: ...Thereturnvaluecanbeoneofthevaluesinthefollowingtable Returnvalue Description 0 batteryhigh 1 batterylow 2 batterycritical 3 batterycharging 4 nobattery 5 batteryunknown Example switch GetBatteryStatus case0 AfxMessageBox _T BatteryHigh break case1 AfxMessageBox _T BatteryLow break case2 AfxMessageBox _T BatteryCritical break case3 AfxMessageBox _T BatteryCharging ...

Page 15: ...rogramming Manual 10 break case4 AfxMessageBox _T NoBattery break case5 AfxMessageBox _T BatteryUnknown break Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 16: ...valueisE_FUNC_SUCCEED Ifthisactionfails thereturnedvalueis E_FUNC_ERROR E_FUNC_PAR_ERROR Remarks AfterthisactionturningONorOFFthescreenback light theback lightwillbealwaysONorOFF Theback light settingofdisplaypropertiesincontrolpaneldoesnotworkuntiltheterminalbeenreseted Example DWORDdwResult dwResult BacklightOn TRUE if dwResult E_FUNC_SUCCEED AfxMessageBox _T BacklightOnfail Requirements OSVersi...

Page 17: ... ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_NULLPTR Remarks Theparameterswillbeoneofthevaluesinthefollowingtable Backlightintensity Backlightbrightness 4 super 3 normal 2 fine 1 micro 0 off Example DWORDdwResult dwV alue1 dwV alue2 dwResult Display_QueryBacklightIntensity dwV alue1 dwV alue2 if dwResult E_FUN...

Page 18: ...PT 9230 Mobile Computer SDK Programming Manual 13 dwV alue2 AfxMessageBox strTemp Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 19: ...s Thereturnedvalueindicateswhetherscreenback lightis 1 screenback lightisON or 0 screenback lightisoOFF Example DWORDdwResult dwResult GetBacklightStatus if dwResult 1 AfxMessageBox _T Backlighton else AfxMessageBox _T Backlightoff Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 20: ...rcallingthisfunctionwith bOn FALSE terminalwillonlyturnOFFtheLCDpower Itmeansthatterminal isstillworking Y oushouldeithercallthisfunctionagaintoturnONtheLCDpowerortoresetterminaltousethe terminalwiththeLCDscreenON Example DWORDdwResult dwResult PowerOnLCD FALSE poweroffLCD if dwResult E_FUNC_SUCCEED AfxMessageBox _T PowerOnLCDfail Sleep 3000 dwResult PowerOnLCD TRUE poweronLCD if dwResult E_FUNC_S...

Page 21: ...e 25 micro 0 off ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR Remarks TheBack lightSettingfunctionintheControlPanelsetsLCDscreenback lightbrightnesslevel Callingthis functionwillalsochangethebrightnesslevelinBack lightSetting Y oucanusethisfunctionorBack lightSetting functionintheControlPaneltoadjustb...

Page 22: ..._ERROR E_FUNC_PAR_ERROR Remarks IfthebOnparameterisFALSE thePOWERbuttonwillbeDISABLED ThePOWERbuttonwillnotwork whenbeenpressed Iftheterminalenterssuspendmode thePOWERbuttonwillworkonetimeonlytowakeup theterminal Whentheterminalwakesup thePOWERbuttonwillbeDISABLEDagainuntilthisfunctionbeen calledwithparameterTRUEtoENABLEthePOWERbutton Example DWORDdwResult dwResult EnablePowerButton FALSE if dwRes...

Page 23: ...w Returnvalue Alphamode 0 numericmode 1 lowercaselettermode 2 uppercaselettemode Example DWORDdwResult dwResult GetKeypadAlphaMode switch dwResult case0 AfxMessageBox _T Numericmode break case1 AfxMessageBox _T Lowercaselettermode break case2 AfxMessageBox _T Uppercaselettermode break Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Devic...

Page 24: ... ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_PAR_ERROR Example CStringstrTemp strTemp VisualKey for inti 0 i strTemp GetLength i SendKbdVisualKey unsignedchar strTemp GetAt i Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 25: ...0 numericmode 1 lowercaselettermode 2 uppercaselettermode ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR Example DWORDdwResult dwResult SetKeypadAlphaMode 1 if dwResult E_FUNC_SUCCEED AfxMessageBox _T SetKeypadAlphaModefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysap...

Page 26: ...None ReturnedValues Thereturnedvalueindicateswhetherkeypadback lightLEDisON TRUE orOFF FALSE Example BOOLbResult bResult GetKeypadLEDStatus if bResult TRUE AfxMessageBox _T KeypadLEDon elseif bResult FALSE AfxMessageBox _T KeypadLEDoff Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 27: ...hegoodreadLED ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR Example DWORDdwResult dwResult GoodReadLEDOn TRUE if dwResult E_FUNC_SUCCEED AfxMessageBox _T GoodReadLEDOnfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 28: ...FUNC_ERROR E_FUNC_PAR_ERROR Remarks TheKeyPadLEDSettinginControlPanelisusedtosettheKeypadLEDoperationtomeetactualapplication requirements CallingthisfunctionwillsettheKeyPadLEDtoalwaysONorOFF Programmercanusethis functionorKeyPadLEDSettingintheControlPaneltoalwaysturnONorOFFthekeypadLED Example DWORDdwResult dwResult KeypadLEDOn TRUE if dwResult E_FUNC_SUCCEED AfxMessageBox _T KeypadLEDOnfail Requ...

Page 29: ...ngbatterypower ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_NULLPTR Remarks Theparameterswillbeoneofthevaluesinthetablebelow KeypadLEDIntensity KeypadLEDBrightness 1 on 0 off Example DWORDdwResult dwV alue1 dwV alue2 dwResult Display_QueryKeypadLEDIntensity dwV alue1 dwV alue2 if dwResult E_FUNC_SUCCEED AfxMess...

Page 30: ...PT 9230 Mobile Computer SDK Programming Manual 25 Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 31: ...thisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR Remarks TheTimeout BrightnessfunctioninControlPanelcansetKeypadLEDBrightness Callingthisfunctionwill alsochangetheKeypadLEDBrightnessinTimeout Brighnessfunction Programmercanuseeitherthis functionorTimeout BrightnessfunctioninControlPaneltoadjusttheKeypadLEDBrightnesslevel ...

Page 32: ...unctions CallSuspend ToforcetheterminalenteringSUSPENDmode voidCallSuspend Parameters None ReturnedValues None Example suspenddevice CallSuspend Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 33: ...issuccessful otherwise FALSE Remarks IfcallingEnableAutoConnectwithbEnablesettoTRUE theterminalwillautomaticallyexecuteActiveSync programwhenuserplugcableintotheterminal IfcallingEnableAutoConnectwithbEnablesettoFALSE the terminalwillnotautomaticallyexecuteActiveSyncprogramwhenuserplugcableintotheterminal Example BOOLbResult bResult EnableAutoConnect TRUE if bResult FALSE AfxMessageBox _T EnableAu...

Page 34: ...applicationtoreceivethemessage uMsg in ThemessagevaluetobesentwhenAlphaKeyispressed ReturnedValues Return0iftheoperationissuccessful otherwisereturn1 Remarks TheapplicationshouldcallUnregisterAlphaKeyNotificationfunctiontounregisterthepromptmessagefromthe dll Example if RegisterAlphaKeyNotification this m_hWnd WM_USER 0x0001 AfxMessageBox _T RegisterAlphaKeyNotificationFAIL Requirements OSVersions...

Page 35: ...IMEfunctiondisplay ReturnedValues ReturningTRUEiftheoperationissuccessful otherwiseFALSE Remarks TheChineseIMEisonlysupportedinChineseOS Itwillworkaftercallingthisfunctionthenresettheterminal Example BOOLbResult bResult ShowChineseIME TRUE if bResult FALSE AfxMessageBox _T ShowChineseIMEfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dl...

Page 36: ...s ReturningTRUEiftheoperationissuccessful otherwiseFALSE Remarks AftercallingthisfunctionwithparameterFALSE theterminalwillHIDEalliconsonDesktop Aftercallingthis functionwithparameterTRUE theterminalwillSHOWalliconsonDesktop Example BOOLbResult bResult ShowDesktop TRUE if bResult FALSE AfxMessageBox _T ShowDesktopfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysap...

Page 37: ...E theInternetExplorertoolbarin WindowsIE ReturnedValues ReturningTRUEiftheoperationissuccessful otherwiseFALSE Remarks TheShowExploreT oolbarfunctiononlyaffectsWindowsInternetExplorersbeenopenedalready Example BOOLbResult bResult ShowExploreToolbar TRUE if bResult FALSE AfxMessageBox _T ShowExploreToolbarfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib L...

Page 38: ...ues ReturningTRUEiftheoperationissuccessful otherwiseFALSE Remarks Aftercallingthisfunction theterminalwillSHOWorHIDETaskbar IfTaskbarishiddenbythisfunction itneeds tocallthisfunctiontodisplayTaskbaragain Example BOOLbResult bResult ShowTaskbar TRUE if bResult FALSE AfxMessageBox _T ShowTaskbarfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysa...

Page 39: ...ssages DWORDUnregisterAlphaKeyNotification HANDLEhWnd Parameters hWnd in Thehandlingwindowoftheapplication ReturnedValues Returning0iftheoperationissuccessful otherwisereturn1 Example if UnregisterAlphaKeyNotification this m_hWnd AfxMessageBox _T UnregisterAlphaKeyNotificationFAIL Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT...

Page 40: ...sE_FUNC_SUCCEED Iftheactionfails possiblereturnedvalueaare E_FUNC_ERROR E_FUNC_PAR_ERROR Remarks Youcanusethisfunctiontoactivatethevibrationindicatoroftheterminaltoalerttheuserthatsomethingis happening Callingthisfunctionwillnotchangethe ScannerVibrator setting Example DWORDdwResult dwResult VibratorOn TRUE if dwResult E_FUNC_SUCCEED AfxMessageBox _T VibratorOnfail Requirements OSVersions WindowsC...

Page 41: ...LWL_Enable Parameters None ReturnedValues ReturningTRUEiftheoperationissuccessful otherwiseFALSE Example BOOLbResult bResult WL_Enable if bResult FALSE AfxMessageBox _T Wirelessenablefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 42: ...e Parameters None ReturnedValues ReturningTRUEiftheoperationissuccessful otherwiseFALSE Example BOOLbResult bResult WL_Disable if bResult FALSE AfxMessageBox _T Wirelessdisablefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 43: ...alues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare BT_ERR_CREA TE_FAIL BT_ERR_INUSING Example BOOLbResult bResult BT_On if bResult E_FUNC_SUCCEED AfxMessageBox _T Bluetoothenablefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 44: ...g Manual 39 BT_Off ToDISABLEtheBluetoothfunctionandpower voidBT_Off Parameters None ReturnedValues None Example BT_Off Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 45: ...hertoenable TRUE ordisable FALSE theterminaldiscoveredmode ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvalueis BT_ERR_SETTING_FAIL Example If SetDiscoverMode TRUE E_FUNC_SUCCEED AfxMessageBox Settingfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 46: ...de Parameters None ReturnedValues ReturnTRUEifterminalcanbediscovered otherwisereturnFALSE Example if GetDiscoverMode AfxMessageBox _T Discovermodeisenable Else AfxMessageBox _T Discovermodeisdisable Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 47: ...disable FALSE theserialportprofileservicemode ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare BT_ERR_SETTING_FAIL BT_ERR_REG_DEV_FAIL BT_ERR_SPP_COM_FAIL Example If SetSPPService TRUE E_FUNC_SUCCEED AfxMessageBox Settingfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Dev...

Page 48: ...etSPPService Parameters None ReturnedValues ReturnTRUEifSPPserviceisenable otherwisereturnFALSE Example if GetSPPService AfxMessageBox _T SPPserviceisenable Else AfxMessageBox _T SPPserviceisdisable Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 49: ...le TRUE ordisable FALSE theFileTransferProfileservice mode ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare BT_ERR_SETTING_FAIL Example if SetFTPService TRUE E_FUNC_SUCCEED AfxMessageBox _T SetFTPservicefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 50: ...GetFTPService Parameters None ReturnedValues ReturnTRUEifFTPserviceisenable otherwisereturnFALSE Example if GetFTPService AfxMessageBox _T FTPserviceisenable Else AfxMessageBox _T FTPserviceisdisable Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 51: ...ble in Flagthatindicateswhethertoenable TRUE ordisable FALSE theFileTransferProfilewriteable mode ReturnedValues ReturnE_FUNC_SUCCEEDiftheoperationissuccessful Example if SetFTPWriteable TRUE E_FUNC_SUCCEED AfxMessageBox _T SetFTPwriteablefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 52: ...PWriteable Parameters None ReturnedValues ReturnTRUEifFTPwriteableisenable otherwisereturnFALSE Example if GetFTPWriteable AfxMessageBox _T FTPserviceiswriteable else AfxMessageBox _T FTPserviceisdiswriteable Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 53: ...lder in ThefolderforFileTransferProfile ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvalueis E_FUNC_PAR_ERROR Example if SetFTPShareFolder Temp E_FUNC_SUCCEED AfxMessageBox _T SetFTPShareFolderfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 54: ...urnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_PAR_ERROR BT_ERR_INSUFFICIENT Remarks IffunctionreturnBT_ERR_INSUFFICIENT nFolderLenwillreceivethesharefolderlengthofterminal Example WCHAR strFolder intnFolderLen 256 strFolder newWCHAR nMax DWORDdwErr GetFTPShareFolder strFolder nFolderLen If dwErr BT_ERR_INSUFFICIENT DeletestrFolde...

Page 55: ...returnedvaluesare E_FUNC_ERROR BT_ERR_DEVICE_ERROR Remarks MustcallEndSearchBTDevicefunctionfreesthehandleaftercallstotheInitSearchBTDeviceand FindNextBTDevicefunction Example DWORDdwRe HANDLEhLookup ULONGLONGbtAddress WCHARszDeviceName 128 dwRe InitSearchBTDevice hLookup while dwRe E_FUNC_SUCCEED dwRe FindNextBTDevice hLookup szDeviceName btAddress 256 if dwRe BT_ERR_DEVICE_ERROR break EndSearchB...

Page 56: ...e Ifterminaldevicenamelength nNameLen the szDeviceNamebufferstoredataofnNameLenlength ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_ERROR Remarks MustcallEndSearchBTDevicefunctionfreesthehandleaftercallstotheInitSearchBTDeviceand FindNextBTDevicefunction Example defineGET_NAP _bt_addr USHOR...

Page 57: ...okup szDeviceName btAddress 256 if dwRe BT_ERR_DEVICE_ERROR break wsprintf szAddress L 04X 08X GET_NAP btAddress GET_SAP btAddress EndSearchBTDevice hLookup Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 58: ...E_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR BT_ERR_DEVICE_ERROR Example DWORDdwRe HANDLEhLookup ULONGLONGbtAddress WCHARszDeviceName 128 dwRe InitSearchBTDevice hLookup while dwRe E_FUNC_SUCCEED dwRe FindNextBTDevice hLookup szDeviceName btAddress 256 if dwRe BT_ERR_DEVICE_ERROR break EndSearchBTDevice hLookup Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax ...

Page 59: ...nfails possiblereturnedvaluesare E_FUNC_ERROR BT_ERR_DEVICE_ERROR Example DWORDdwPos dwRe WCHARszDeviceName 128 ULONGLONGbtAddress If InitSearchFTPDevice E_FUNC_SUCCEED dwRe FindFirstFTPDevice dwPos szDeviceName btAddress 256 while dwRe E_FUNC_SUCCEED FindNextFPTDevice dwPos szDeviceName btAddress 256 if dwRe E_FUNC_SUCCEED break Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkL...

Page 60: ...eNamebuffermaxsize Ifterminaldevicenamelength nNameLen the szDeviceNamebufferstoredataofnNameLenlength ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_ERROR Example defineGET_NAP _bt_addr USHORT _bt_addr ULONGLONG 0xFFFF00000000 8 4 defineGET_SAP _bt_addr ULONG _bt_addr ULONGLONG 0x0000FFFFFF...

Page 61: ...mputer SDK Programming Manual 56 wsprintf szAddress L 04X 08X GET_NAP btAddress GET_SAP btAddress Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 62: ...e Ifterminaldevicenamelength nNameLen the szDeviceNamebufferstoredataofnNameLenlength ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_ERROR Example defineGET_NAP _bt_addr USHORT _bt_addr ULONGLONG 0xFFFF00000000 8 4 defineGET_SAP _bt_addr ULONG _bt_addr ULONGLONG 0x0000FFFFFFFF 0 DWORDdwPos d...

Page 63: ...mputer SDK Programming Manual 58 wsprintf szAddress L 04X 08X GET_NAP btAddress GET_SAP btAddress Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 64: ...airwith PinCode in Thepincodeforconnection ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare BT_ERR_PAIR_FAIL BT_ERR_DEVICE_ERROR Example if PairDevice btAddress PinCode E_FUNC_SUCCEED AfxMessageBox _T Pairfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 65: ...ddress in Thedeviceaddressforunpair ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvalueis BT_ERR_DEVICE_ERROR Example PairDevice btAddress PinCode UnPairDevice btAddress Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 66: ...lueLenreceivecurrentcomvaluelength ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvalueis E_FUNC_ERROR BT_ERR_INSUFFICIENT Remarks IffunctionreturnBT_ERR_INSUFFICIENT nComV alueLenwillreceivethecomvaluelengthofterminal Example WCHAR pComV alue intnComSum 0 nComV alueLen 10 pComV alue newWCHAR nComValueLen DWORDdwErr GetComInfo nComSum pComV alu...

Page 67: ...PT 9230 Mobile Computer SDK Programming Manual 62 Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 68: ...NFOdatastructure nConnect in Connectstatus 1 connect 0 disconnect ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_CHANNEL BT_ERR_REG_DEV_FAIL BT_ERR_DEVICE_ERROR Example if ConnectDevice btAddrecc Info 1 E_FUNC_SUCCEED ConnectDevice btAddress Info 0 Requirements OSVersions WindowsCE6 0orbeyond Heade...

Page 69: ...ofile mustbefourcharacterslong Contains COM com identifierindex forexample COM7 IfnConnectTypeparameteris2 FTP pComben ttocheck nStatus out Thedeviceconnectstatus ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvalueis E_FUNC_PAR_ERROR Example GetConnectStatus btAddress 1 _T COM7 nStatus if nStatus AfxMessageBox _T SPPConnect else AfxMessageBox ...

Page 70: ...ogetSPPchannel nChannel out Receivequeriedchannel ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR BT_ERR_DEVICE_ERROR Example if GetSPPClientChannel btAddress nChannel E_FUNC_SUCCEED AfxMessageBox _T Getchannelfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll ...

Page 71: ... seeFTP_FILEdatastructure ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT BT_ERR_FTP_DIR_FAIL BT_ERR_FTP_EMPTY_FILE Example FTP_FILEFile DWORDdwErr FindFirstFTPFile _T File If dwErr E_FUNC_SUCCEED Do dwErr FindNextFTPFile File while dwErr E_FUNC_SUCCEED Requirements OSVersions WindowsCE6 0orbe...

Page 72: ...turnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT BT_ERR_FTP_EMPTY_FILE Example FTP_FILEFile DWORDdwError FindFirstFTPFile _T File If dwErr E_FUNC_SUCCEED Do dwErr FindNextFTPFile File while dwErr E_FUNC_SUCCEED Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax li...

Page 73: ...connecteddevice ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT Example if GetFTPFile _T record txt E_FUNC_SUCCEED AfxMessageBox _T Getfilefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT90 ...

Page 74: ... pTargetPath in Thetargetpathintheconnecteddevicetosavefile ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT Example if PutFTPFie _T Temp record txt _T Collect E_FUNC_SUCCEED AfxMessageBox _T Putfilefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sys...

Page 75: ...refolderintheconnecteddevice ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT Example if CreateFTPFolder _T FTPFolder E_FUNC_SUCCEED AfxMessageBox _T Createfolderfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device...

Page 76: ...folderintheconnecteddevice ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT Example if DeleteFTPFolder _T FTPFolder E_FUNC_SUCCEED AfxMessageBox _T Deletefolderfail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device P...

Page 77: ...theconnecteddevice ReturnedValues Iftheactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Iftheactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR BT_ERR_DEVICE_NOT_CONNECT Example if DeleteFTPFile _T FTPFolder record txt E_FUNC_SUCCEED AfxMessageBox _T Deletefilefail Requirements OSVersions WindowsCE6 0orbeyond Header sysapiax h LinkLibrary sysapiax lib LinkDLL sysapiax dll Device PT...

Page 78: ...el intnConnectType WCHARstrCom 6 Members nChannel TheconnectchannelforSerialportprofile nCannectType Connectprofiletype 1 Serialportprofile 2 Filetransferprofile strCom TheconnectcomforSerialportprofile mustbefourcharacterslong Contains COM comidentifier index forexample COM7 IfnConnectTypememberis2 FTP strComben ttocheck StructureInformation Header sysapiax h Device PT90 ...

Page 79: ...NextFTPFile StructFTP_FILE intnFileType WCHARstrPath 260 WCHARstrFile 260 DWORDdwFileSize Members nFileType Fileobjectprofiletype 0 File 1 Folder strPath Thefilepath strFile Thefilename Itwillbenulliftheobjectisafolder dwFileSize Thefilesize inbytes Itwillbe0iftheobjectisafolder StructureInformation Header sysapiax h Device PT90 ...

Page 80: ... to register application to SCANAPIAX dll API_SCAN functions will then send messages to report all activities including error messages and scan data API_Register Register the application to SCANAPIAX dll API_Unregister Un register the application from SCANAPIAX dll API_GetBarData Get barcode data into the buffer API_GetBarDataLength Return length of the scanned data API_GetBarType Return the barco...

Page 81: ...ill be stored in system buffer PT_EnableScanner Enable scanner to scan barcode data PT_DiableScanner Disable scanner PT_CheckBarcodeData Check whether there is barcode data on system buffer PT_GetBarcodeData Get barcode data and type from system buffer PT_SetDeault Reset scanner settings to default status Scan Key Related Functions EnableTriggerKey Enable and disable scan key GetLibraryVersion Get...

Page 82: ...Structure Information of Italian Pharmacode 39 settings MicroPDF_Setting Structure Information of MicroPDF settings EANUCC_Setting Structure Information of EAN UCC composite settings IATA25_Setting Structure Information of IATA 2 of 5 settings Trioptic_Setting Structure Information of TRI OPTIC settings PosiCode_Setting Structure Information of PosiCode settings CodablockF_Setting Structure Inform...

Page 83: ...ble_Setting Structure Information of Chinese Sensible Code settings Scan Command Table The Scan Command Table of PT 90 terminal is used for SCAN_QueryStatus and SCAN_SendCommand functions The Scan Command provides a different way to setup the scanning device When user wants to use this library user should link SCANAPIAX DLL SCANAPIAX LIB and the relate functions header file SCANAPIAX H ...

Page 84: ...urnFALSE Remarks ThetargetapplicationmustcallAPI_Unregistertounregisterfromthedllandclosethescanningdeviceafterthe actionbeendone Themessagescanbeoneofthefollowing SM_DA TA_READY Indicatingthatthebarcodedataissuccessfullyreadandreadyforretrieval SM_ERROR_SYS Indicatingasystemerroriscausedbycallingsystemfunction Calling API_GetSysErrorcangetthesystemerrorcode SM_ERROR_API Indicatinganerror CallingA...

Page 85: ...egisterthetargetapplicationfromSCANAPIAX dllandclosethescanningdevice voidAPI_Unregister Parameters None ReturnedValues None Example API_Unregister Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 86: ...ersize uiBarType out barcodetype ThisparameterisignoredandshouldbesettoNULL ReturnedValues Return1iftheoperationissuccessful otherwisereturn0 Remarks Ifthebuffersizeissmallerthanthescanneddata thisfunctionwillreturn0andtheparameteruiLengthwillreturn thesizeofthebuffertoadoptthescanneddata Example if message SM_DA TA_READY CStringstrBarData strBarType UINT uiSize uiType i char pBuf uiSize uiType 0 ...

Page 87: ... LPBYTE pBuf uiSize uiType strBarType Format _T d uiType for i 0 i strlen pBuf i strBarData pBuf i AfxMessageBox _T Type strBarType _T r nBarcode strBarData return0 Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 88: ...tringstrData UINTuiSize uiType i uiLength char pBuf uiLength API_GetBarDataLength if uiLength 0 strData _T NoData else uiSize uiLength 1 pBuf char newchar uiSize memset pBuf 0 uiSize API_GetBarData LPBYTE pBuf uiSize uiType for i 0 i strlen pBuf i strData pBuf i AfxMessageBox strData return0 Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax...

Page 89: ...type ThisfunctionisnolongersupportedasofPT90 Alwaysreturnzero UINTAPI_GetBarType Parameters None ReturnedValues Alwaysreturnzero Example uiType API_GetBarType Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 90: ...AIL WM_USER 1 Sendcommandstoscannermodulefailed ERR_SETTING_FAIL WM_USER 2 Setscannersettingfailed ERR_SCANNER_NOT_OPEN WM_USER 3 Openscannermodulefailed ERR_INV ALID_FILE WM_USER 4 Invalidsettingfile Example dwError API_GetError strMess Format _T APIErrorCode d dwError AfxMessageBox strMess Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax...

Page 91: ...nedValues ReturningthesystemerrorcodethatisreturnedbyGetLastError Descriptionsofsystemerrorcodecanbefound inMSDN Example dwError API_GetSysError strMess Format _T SystemErrorCode d dwError AfxMessageBox strMess Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 92: ... UseAPI_GoodRead tonotifytheuserthatabarcodedataissuccessfullyscanned Thebuzzerfunctionofthe scanningdevicecanbesetbyScanConfigurationinthecontrolpanel Thegood readLEDfunctionofthe scanningdevicecanbesetbySCAN_SendCommand function Ifthebuzzerandgood readLEDfunctionsare disabled theAPI_GoodReadwilldonothing Example API_GoodRead Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLib...

Page 93: ...heoperationissuccessful otherwise returnFALSE Example CStringstrFile CFileDialog dlg TRUE NULL NULL OFN_FILEMUSTEXIST OFN_PA THMUSTEXIST if dlg DoModal IDOK return strFile dlg GetPathName if theApp m_API_LoadSettingsFromFile strFile AfxMessageBox _T LoadformfileSucceed else AfxMessageBox _T LoadfromfileFail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib L...

Page 94: ...I_Reset Parameters None ReturnedValues ReturnTRUEiftheoperationissuccessful otherwisereturnFALSE Example if API_Reset AfxMessageBox _T ResetSucceed else AfxMessageBox _T ResetFail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 95: ...Data ToClearthedatabuffertoallowthenextscanneddatacomingin voidAPI_ResetBarData Parameters None ReturnedValues None Example API_ResetBarData Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 96: ...ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Example CStringstrFile CfileDialogdlg FALSE _T axs NULL OFN_CREA TEPROMPT _T ScannerSettingsFiles axs axs if dlg DoModal IDOK return strFile dlg GetPathName if API_SaveSettingsToFile strFile AfxMessageBox _T SavetofileSucceed else AfxMessageBox _T SavetofileFail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary...

Page 97: ... oScanner Parameters None ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Example if API_SaveSettingsToScanner AfxMessageBox _T SavetoScannerSucceed else AfxMessageBox _T SavetoScannereFail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 98: ...2K_IsLoad Parameters None ReturnV alues ThereturnedvalueTRUEindicatesthatscan exeisrunning ThereturnedvalueFALSEindicatesthatscan exeis notrunning Example if S2K_IsLoad AfxMessageBox _T scan exeload else AfxMessageBox _T scan exedoesnotload Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 99: ...exe dwTimeOut in WhenUnloadscan exeitwillwaituntilthescan exebeenclosedorTimeoutbythisparameter ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Example if S2K_Load FALSE 1000 AfxMessageBox _T unloadscan exesuccess else AfxMessageBox _T unloadscan exefailed Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll De...

Page 100: ...sbuffersizemustbelargerthan100 ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Remarks ThepReturnvalueisdependingonnCommand1andnCommand2 ThenCommand1andnCommand2decide whichscannersettingstobequeried Example char pV alue pV alue char newchar 100 memset pV alue 0 100 queryBuzzerindicationsetting SCAN_QueryStatus 5 3 pV alue Requirements OSVersions WindowsCE6 0orbeyond H...

Page 101: ...commandtable nCommand2 in Seescancommandtable pV alue in Seescancommandtable ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Example EnableBuzzerindicationsetting if SCAN_SendCommand 5 3 1 AfxMessageBox _T Setupcomplete else AfxMessageBox _T Setupfalse Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device...

Page 102: ...eturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR E_FUNC_SCANNER_NOT_OPEN Example Enablescankeytoresumesystem if SCAN_ResumeSystem 1 0 AfxMessageBox _T Enablescankeytoresumesystemsucceed else AfxMessageBox _T Enablescankeytoresumesystemfail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h Lin...

Page 103: ...ctionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR E_FUNC_SCANNER_NOT_OPEN E_FUNC_SETTING_FAIL Example ScannerSetting setting setting generalsetting m_uiLED 0 setting Code11 m_uiRead 1 setting Code39 m_uiRead 1 SCAN_BatchSetting setting Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib Lin...

Page 104: ... PointertoScannerSettingdatastructure ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails possiblereturnedvaluesare E_FUNC_SCANNER_NOT_OPEN E_FUNC_PAR_ERROR Example ScannerSetting setting SCAN_BatchRead setting Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 105: ...oterminalkeybuffer BOOLPT_OpenScan2Key Parameters None ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Example BOOLbResult bResult PT_OpenScan2Key if bResult AfxMessageBox _T PT_OpenScan2Keyfail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 106: ..._CloseScan2Key ToCloseapplicationprogramscan exe voidPT_CloseScan2Key Parameters None ReturnedValues None Example PT_CloseScan2Key Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 107: ...ultvalue intPT_SetT oDefault Parameters None ReturnedValues Returning1iftheoperationissuccessful otherwise return0 Example if PT_SetToDefault AfxMessageBox _T PT_SetToDefaultfail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 108: ...mbuffer Applicationcanusetheotherfunction PT_GetBarcodeData toretrievescanneddatafromsystembuffer intPT_EnableScanner Parameters None ReturnedValues Returning0iftheoperationissuccessful otherwise return1 Example if PT_EnableScanner AfxMessageBox _T PT_EnableScannerfail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 109: ... PT_DisableScanner Toclosethescanningdevice voidPT_DisableScanner Parameters None ReturnedValues None Example PT_DisableScanner Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 110: ...lues ThisfunctionreturnsTRUEifthereisscannedbarcodedatainsystembufferandFALSEifthereisnoscanned barcodedatainsystembuffer Example if PT_CheckBarcodeData m_strScanData _T Therearebarcodedatainsystembuffer else m_strScanData _T Therearenobarcodedatainsystembuffer Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 111: ...rstoringscanneddata uiMaxBufferLen in out Themaximumbuffersize ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Remarks Ifthebuffersizeissmallerthanscanneddata thisfunctionwillreturn0andtheparameteruiMaxBufferLenwill returnthelengthofthescannedbarcodedata Example if PT_CheckBarcodeData if PT_GetBarcodeData uiBarType pBarData uiMaxLen for i 0 i strlen pBarData i m_strSca...

Page 112: ...PT 9230 Mobile Computer SDK Programming Manual 107 Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 113: ...Parameters None ReturnedValues ReturningTRUEiftheoperationissuccessful otherwise returnFALSE Example if PT_SetDefault AfxMessageBox _T PT_SetDefaultsucceed else AfxMessageBox _T PT_SetDefaultfail Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 114: ...eeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails thereturnedvaluesare E_FUNC_ERROR E_FUNC_PAR_ERROR Remarks Thisfunctionisvalidonlyifthescanningdeviceisenabled AWarmResetwillenablethescanTriggerKey automatically Example BOOLbResult bResult EnableTriggerKey TRUE if bResult AfxMessageBox _T EnableTriggerKeySucceed Else AfxMessageBox _T EnableTriggerKeyFail Requirements OSVersions WindowsCE6 0...

Page 115: ...rnedValues Theversioninformation forexample ifthereturnedvalueis401 itmeansthatdllversionis4 01 Example intnV ersion CStringstrTemp nV ersion GetLibraryV ersion strTemp Format _T V ersion d nV ersion AfxMessageBox strTemp Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 116: ...rnedValues Returnedvalue1indicatesthatthescanTriggerKeyisenabled Returnedvalue0indicatesthatthescanTrigger Keyisdisabled Example if GetTriggerKeyStatus AfxMessageBox _T scankeyensable else AfxMessageBox _T scankeydisable Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 117: ...FALSE thescanTriggerKey ReturnedValues Ifthisactionsucceeds thereturnedvalueisE_FUNC_SUCCEED Ifthisactionfails thereturnedvalueis E_FUNC_ERROR Remarks Thisfunctionisvalidonlyifthescanningdeviceisenabled Example PressTriggerKey TRUE Sleep 1000 PressTriggerKey FALSE Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 118: ...ReturnedValues Thereturnedvalue1indicatesthatthescanTriggerKeyispressedand0indicatesthatscanTriggerKeyisreleased Example if TriggerStatus AfxMessageBox _T scankeypressed else AfxMessageBox _T scankeyrelease Requirements OSVersions WindowsCE6 0orbeyond Header scanapiax h LinkLibrary scanapiax lib LinkDLL scanapiax dll Device PT90 ...

Page 119: ...rial25_Setting Indust25 structInterleaved25_Setting Inter25 structMSI_Setting MSIPlessey structUK_Setting UKPlessey structTelepen_Setting Telepen structUPCA_Setting UPCA structUPCE_Setting UPCE structMatrix25_Setting Matrix25 structPDF417_Setting PDF417 structCode16K_Setting Code16K structChinaPost_Setting ChinaPost structRSS14_Setting Rss14 structRSSLimited_Setting RssLimited structRSSExpanded_Se...

Page 120: ...aPost_Setting KoreaPost structUSPS_Setting USPS structUPU_Setting UPU structAztec_Setting Aztec structDataMatrix_Setting DataMatrix structMaxiCode_Setting MaxiCode structQRCode_Setting QRCode structChineseSensible_Setting ChineseSensible Members cbSize Thisisrequired ItisthesizeofstructureScannerSetting inbytes generalsetting GeneralSettingStructure Code11 Code11_SettingStructure Code39 Code39_Set...

Page 121: ...ture UPCE UPCE_SettingStructure Matrix25 Matrix25_SettingStructure PDF417 PDF417_SettingStructure Code16K Code16K_SettingStructure ChinaPost ChinaPost_SettingStructure Rss14 RSS14_SettingStructure RssLimited RSSLimited_SettingStructure RssExpanded RSSExpanded_SettingStructure Pharmacode Pharmacode_SettingStructure MicroPDF MicroPDF_SettingStructure EANUCC EANUCC_SettingStructure IATA25 IA TA25_Set...

Page 122: ... AustralianPost_SettingStructure BritishPost BritishPost_SettingStructure CanadianPost CanadianPost_SettingStructure JapanesePost JapanesePost_SettingStructure KIXPost KIXPost_SettingStructure KoreaPost KoreaPost_SettingStructure USPS USPS_SettingStructure UPU UPU_SettingStructure Aztec Aztec_SettingStructure DataMatrix DataMatrix_SettingStructure MaxiCode MaxiCode_SettingStructure QRCode QRCode_S...

Page 123: ...PT 9230 Mobile Computer SDK Programming Manual 118 Remarks ThecbSizemustbethesizeofStructureScannerSetting inbytes StructureInformation Header scanapiax h Device PT90 ...

Page 124: ..._uiLED UINT m_uiBeep UINT m_uiVibrator UINT m_uiScanResume UINT m_uiPosition UINT m_uiTransmit UINT m_uiAimID UINT m_uiInverte UINT m_uiScanTout UINT m_uiIdleTout Unsignedchar m_strPreamble 10 Unsignedchar m_strPostamble 10 Members Allmembers SeeIndication Transmission ScanandStringsettingsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 125: ...tingStructure ThissettingcontainsinformationusedbyStructureScannerSetting StructCode11_Setting UINT m_uiRead UINT m_uiChkDig UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeCode11settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 126: ...ormationusedbyStructureScannerSetting StructCode39_Setting UINT m_uiRead UINT m_uiChkDig UINT m_uiMaxLen UINT m_uiMinLen UINT m_uiFullASCII UINT m_uiXmitStarStop UINT m_uiAppend UINT m_uiCodePage Members Allmembers SeeCode39settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 127: ...gStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructCode93_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen UINT m_uiCodePage Members Allmembers SeeCode93settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 128: ...e ThissettingfilecontainsinformationusedbyStructureScannerSetting StructCode128_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen UINT m_uiISBT128 UINT m_uiCodePage Members Allmembers SeeCode128settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 129: ...ingfilecontainsinformationusedbyStructureScannerSetting StructCodabar_Setting UINT m_uiRead UINT m_uiChkDig UINT m_uiMaxLen UINT m_uiMinLen UINT m_uiXmitStarStop UINT m_uiConcat Members Allmembers SeeCodabarsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 130: ...ingfilecontainsinformationusedbyStructureScannerSetting StructEAN8_Setting UINT m_uiRead UINT m_uiXmitChkDig UINT m_ui2DigSupp UINT m_ui5DigSupp UINT m_uiSuppReq UINT m_uiSuppSep Members Allmembers SeeEAN8settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 131: ...ainsinformationusedbyStructureScannerSetting StructEAN13_Setting UINT m_uiRead UINT m_uiXmitChkDig UINT m_uiISBNConvert UINT m_ui2DigSupp UINT m_ui5DigSupp UINT m_uiSuppReq UINT m_uiSuppSep Members Allmembers SeeEAN13settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 132: ...ettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructIndustrial25_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeIndustrial2of5settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 133: ...ucture ThissettingfilecontainsinformationusedbyStructureScannerSetting StructInterleaved25_Setting UINT m_uiRead UINT m_uiChkDig UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeInterleaved2of5settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 134: ...ructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructMSI_Setting UINT m_uiRead UINT m_uiXmitChkDig UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeMSIPlesseysettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 135: ...ructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructUK_Setting UINT m_uiRead UINT m_uiXmitChkDig UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeUKPlesseysettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 136: ...Structure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructTelepen_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen UINT m_uiFullASCII Members Allmembers SeeTelepensettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 137: ...ormationusedbyStructureScannerSetting StructUPCA_Setting UINT m_uiRead UINT m_uiXmitChkDig UINT m_uiCoupon UINT m_uiXmitNumSys UINT m_ui2DigSupp UINT m_ui5DigSupp UINT m_uiSuppReq UINT m_uiSuppSep Members Allmembers SeeUPCAsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 138: ...byStructureScannerSetting StructUPCE_Setting UINT m_uiRead UINT m_uiXmitChkDig UINT m_uiUPCE1 UINT m_uiConvertT oUPCA UINT m_uiXmitNumSys UINT m_ui2DigSupp UINT m_ui5DigSupp UINT m_uiSuppReq UINT m_uiSuppSep Members Allmembers SeeUPCEsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 139: ...5_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructMatrix25_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeMatrix25settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 140: ...7_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructPDF417_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeePDF 417settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 141: ...K_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructCode16K_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeCode 16KsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 142: ..._SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructChinaPost_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeChinaPostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 143: ...g Manual 138 RSS14_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructRSS14_Setting UINT m_uiRead Members Allmembers SeeRSS14settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 144: ...l 139 RSSLimited_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructRSSLimited_Setting UINT m_uiRead Members Allmembers SeeRSSLimitedsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 145: ...SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructRSSExpanded_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeRSSExpandedsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 146: ... Pharmacode_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructPharmacode_Setting UINT m_uiRead Members Allmembers SeeItalianPharmacode39settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 147: ...F_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructMicroPDF_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeMicroPDFsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 148: ...ture ThissettingfilecontainsinformationusedbyStructureScannerSetting StructEANUCC_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen UINT m_uiUPCEANV er Members Allmembers SeeEAN UCCcompositesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 149: ..._SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructIATA25_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeIA TA2of5settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 150: ...ual 145 Trioptic_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructTrioptic_Setting UINT m_uiRead Members Allmembers SeeTRI OPTICsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 151: ...gStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructPosiCode_Setting UINT m_uiRead UINT m_uiLimit UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeePosiCodesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 152: ..._SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructCodablockF_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeCodablockFsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 153: ...49_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructCode49_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeCode49settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 154: ...g Manual 149 TLC39_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructTLC39_Setting UINT m_uiRead Members Allmembers SeeTLC39settingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 155: ...Planet_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructPlanet_Setting UINT m_uiRead UINT m_uiXmitChkDig Members Allmembers SeePlanetCodesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 156: ...Postnet_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructPostnet_Setting UINT m_uiRead UINT m_uiXmitChkDig Members Allmembers SeePostnetsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 157: ...AustralianPost_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructAustralianPost_Setting UINT m_uiRead Members Allmembers SeeAustralianPostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 158: ...153 BritishPost_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructBritishPost_Setting UINT m_uiRead Members Allmembers SeeBritishPostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 159: ...54 CanadianPost_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructCanadianPost_Setting UINT m_uiRead Members Allmembers SeeCanadianPostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 160: ...55 JapanesePost_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructJapanesePost_Setting UINT m_uiRead Members Allmembers SeeJapanesePostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 161: ...anual 156 KIXPost_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructKIXPost_Setting UINT m_uiRead Members Allmembers SeeKIXPostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 162: ..._SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructKoreaPost_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeKoreaPostsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 163: ...ing Manual 158 USPS_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructUSPS_Setting UINT m_uiRead Members Allmembers SeeUSPSsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 164: ...ming Manual 159 UPU_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructUPU_Setting UINT m_uiRead Members Allmembers SeeUPUsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 165: ...gStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructAztec_Setting UINT m_uiRead UINT m_uiRunes UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeAztecCodesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 166: ..._SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructDataMatrix_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeDataMatrixsettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 167: ...e_SettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructMaxiCode_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeMaxiCodesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 168: ...ettingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructQRCode_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeQR MicroQRCodesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 169: ...ingStructure ThissettingfilecontainsinformationusedbyStructureScannerSetting StructChineseSensible_Setting UINT m_uiRead UINT m_uiMaxLen UINT m_uiMinLen Members Allmembers SeeChineseSensibleCodesettingsinScanCommandTable StructureInformation Header scanapiax h Device PT90 ...

Page 170: ...orecodedata SeeNote1 1 Aftercodedata 8 CodeIDtransmission 0 Disable 1 Enable 12 AIMID 0 Disable 1 Enable 7 Scan 8 Invertedimagescan 0 Disable 1 Enable 17 ScanTimeout Sec 0 300 SeeNote2 2 18 IdleTimeout Sec 0 300 SeeNote2 5 8 Stringsetting 3 Preamblecharacterssettings 0x01 0x7FASCIIcode 1 10characters 00 4 Postamblecharacterssettings 0x01 0x7FASCIIcode 1 10characters 00 10 Code11 1 Read 0 Disable 1...

Page 171: ...TransmitStart StopCharacters 0 Disable 1 Enable 16 Append 0 Disable SeeNote3 1 Enable 18 CodePage 1 3 81 90 SeeNote4 2 12 Code93 1 Read 0 Disable 1 Enable 4 Max codelength 0 80 80 5 Min codelength 0 80 0 18 CodePage 1 3 81 90 SeeNote4 2 13 Code128 1 Read 0 Disable 1 Enable 4 Max codelength 0 80 80 5 Min codelength 0 80 0 14 ISBT128 0 Disable 1 Enable 18 CodePage 1 3 81 90 SeeNote4 2 14 Codabar 1 R...

Page 172: ...ransmitCheckDigit 0 Disable 1 Enable 16 TwoDigitSupplements 0 Disable 1 Enable 17 FiveDigitSupplements 0 Disable 1 Enable 18 SupplementsRequired 0 Disable 1 Enable 19 SupplementsSeparator 0 Disable 1 Enable 16 EAN13 1 Read 0 Disable 1 Enable 3 TransmitCheckDigit 0 Disable 1 Enable 12 ISBNconversion 0 Disable 1 Enable 16 TwoDigitSupplements 0 Disable 1 Enable 17 FiveDigitSupplements 0 Disable 1 Ena...

Page 173: ... 2 V alidateandTransmit 4 Max codelength 4 80 80 5 Min codelength 4 80 4 20 MSIPlessey 1 Read 0 Disable 1 Enable 3 TransmitCheckDigit 0 Disable 1 Enable 4 Max codelength 4 48 48 5 Min codelength 4 48 4 21 UKPlessey 1 Read 0 Disable 1 Enable 3 TransmitCheckDigit 0 Disable 1 Enable 4 Max codelength 4 48 48 5 Min codelength 4 48 4 22 Telepen 1 Read 0 Disable 1 Enable 4 Max codelength 1 60 60 5 Min co...

Page 174: ... Disable 1 Enable 18 SupplementsRequired 0 Disable 1 Enable 19 SupplementsSeparator 0 Disable 1 Enable 24 UPCE 1 Read 0 Disable 1 Enable 3 TransmitCheckDigit 0 Disable 1 Enable 13 UPCE 1 0 Disable 1 Enable 14 ConverttoUPC A 0 Disable 1 Enable 15 TransmitNumberSystem 0 Disable 1 Enable 16 TwoDigitSupplements 0 Disable 1 Enable 17 FiveDigitSupplements 0 Disable 1 Enable 18 SupplementsRequired 0 Disa...

Page 175: ...le 1 Enable 4 Max codelength 1 160 160 5 Min codelength 1 160 1 28 ChinaPost 1 Read 0 Disable 1 Enable 4 Max codelength 4 80 80 5 Min codelength 4 80 4 29 RSS14 1 Read 0 Disable 1 Enable 30 RSSLimited 1 Read 0 Disable 1 Enable 31 RSSExpanded 1 Read 0 Disable 1 Enable 4 Max codelength 4 74 74 5 Min codelength 4 74 4 32 ItalianPharmacode39 1 Read 0 Disable SeeNote7 1 Enable 33 MicroPDF 1 Read 0 Disa...

Page 176: ...36 IA TA2of5 1 Read 0 Disable 1 Enable 4 Max codelength 4 48 48 5 Min codelength 4 48 4 37 TRI OPTIC 1 Read 0 Disable 1 Enable 39 PosiCode 1 Read 0 Disable 1 Enable 4 Max codelength 4 48 48 5 Min codelength 4 48 4 9 Limit 0 A BOn NoLimited 1 A B LimitedAOn LimitedBOff 2 A B LimitedBOn LimitedAOff 40 CodablockF 1 Read 0 Disable 1 Enable 4 Max codelength 1 2048 2048 5 Min codelength 1 2048 1 41 Code...

Page 177: ...smitCheckDigit 0 Disable 1 Enable 45 AustralianPost 1 Read 0 Disable 1 Enable 46 BritishPost 1 Read 0 Disable 1 Enable 47 CanadianPost 1 Read 0 Disable 1 Enable 48 JapanesePost 1 Read 0 Disable 1 Enable 49 KIXPost 1 Read 0 Disable 1 Enable 50 KoreaPost 1 Read 0 Disable 1 Enable 4 Max codelength 4 48 48 5 Min codelength 4 48 4 51 USPS 1 Read 0 Disable 1 Enable 52 UPU 1 Read 0 Disable 1 Enable 53 Az...

Page 178: ... Max codelength 1 3116 3116 5 Min codelength 1 3116 1 55 MaxiCode 1 Read 0 Disable 1 Enable 4 Max codelength 1 150 150 5 Min codelength 1 150 1 56 QR MicroQRCode 1 Read 0 Disable 1 Enable 4 Max codelength 1 7089 7089 5 Min codelength 1 7089 1 57 ChineseSensibleCode 1 Read 0 Disable 1 Enable 4 Max codelength 1 7833 7833 5 Min codelength 1 7833 1 ...

Page 179: ...Post A UKPlessey n BritishPost B Telepen t CanadianPost C UPCA c JapanesePost J UPCE E KIXPost K Matrix25 m KoreaPost PDF417 r USPS M Code16k o UPU N ChinaPost Q Aztec z RSS14 y DataMatrix w RSSLimited y MaxiCode x RSSExpanded y QRCode s ItalianPharmacode39 ChineseSensibleCode H MicroPDF R Note2 ScanTimeout themaximumtime inseconds duringwhichtheilluminationlightsremainsonwithout decodinganybarcod...

Page 180: ...eplacement Characters 83 ISO 2022 69 Fra French Belgium Replacement Characters 81 ISO 2022 25 Fra French Belgium Replacement Characters 84 ISO 2022 11 Ger German Replacement Characters 85 ISO 2022 11 Ita Italian Replacement Characters 86 ISO 2022 11 Swi Swiss Replacement Characters 87 ISO 2022 11 UK British Replacement Characters 88 ISO 2022 11 Dan Danish Replacement Characters 89 ISO 2022 11 Nor ...

Page 181: ...T 9230 Mobile Computer SDK Programming Manual 176 format Note7 Code39mustbeturnedonandTriopticCodemustbeturnedoffwhilescanningItalianPharmacode Note8 Code39andMicroPDF417mustbeturnedonwhilescanningTLC39 ...

Page 182: ...R_INUSING 0x00001002 BlueToothmoduleisusingbyotherapplication BT_ERR_DEVICE_ERROR 0x00001003 BlueToothInitialsettingfail BT_ERR_SETTING_FAIL 0x00001004 BlueToothsetupfail BT_ERR_REG_DEV_FAIL 0x00001005 Registercommunicationportfail BT_ERR_SPP_COM_FAIL 0x00001006 SPPservicecomopenfail BT_ERR_INSUFFICIENT 0x00001007 Thebufferforreceivcdataisinsufficient BT_ERR_PAIR_FAIL 0x00001008 Paittodevicefail B...

Reviews: