Table of Contents

Advertisement

Quick Links

PT-9230 Mobile Computer
SDK Programming Manual
DOC NO. UM-PT905-011
Nov. 2010
Version 1.0
© 2010 ARGOX Information Co., Ltd.
http://www.argox.com

Advertisement

Table of Contents
loading

Summary of Contents for Argox PT-9230

  • Page 1 PT-9230 Mobile Computer SDK Programming Manual DOC NO. UM-PT905-011 Nov. 2010 Version 1.0 © 2010 ARGOX Information Co., Ltd. http://www.argox.com...
  • Page 2: Table Of Contents

    ELA TED UNCTIONS CallSuspend ....................................27 EnableAutoConnect ................................. 28 RegisterAlphaKeyNotification .............................. 29 ShowChineseIME ..................................30 ShowDesktop ....................................31 ShowExploreT oolbar ................................32 ShowTaskbar ....................................33 UnRegisterAlphaKeyNotification ............................34 ..................................35 IBRA TOR ELA TED UNCTIONS PT-9230 Mobile Computer SDK Programming Manual...
  • Page 3 GetSPPClientChannel ................................65 FindFirstFTPFile..................................66 FindNextFTPFile ..................................67 GetFTPFile ....................................68 PutFTPFile ....................................69 CreateFTPFolder ..................................70 DeleteFTPFolder ..................................71 DeleteFTPFile.................................... 72 ....................................73 LUETOOTH TRUCTURE CONNECT_INFO Structure ............................... 73 FTP_FILE Structure ................................74 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 4 PT_DisableScanner ................................104 PT_CheckBarcodeData ............................... 105 PT_GetBarcodeData ................................106 PT_SetDefault ..................................108 .................................. 109 ELA TED UNCTIONS EnableTriggerKey................................... 109 GetLibraryV ersion .................................. 110 GetTriggerKeyStatus ................................111 PressTriggerKey ..................................112 TriggerStatus ..................................... 113 ....................................... 114 TRUCTURE PT-9230 Mobile Computer SDK Programming Manual...
  • Page 5 Code49_Setting Structure ..............................148 TLC39_Setting Structure............................... 149 Planet_Setting Structure ................................ 150 Postnet_Setting Structure ..............................151 AustralianPost_Setting Structure ............................152 BritishPost_Setting Structure ............................... 153 CanadianPost_Setting Structure ............................154 JapanesePost_Setting Structure ............................155 KIXPost_Setting Structure ..............................156 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 6 UPU_Setting Structure ................................159 Aztec_Setting Structure ................................160 DataMatrix_Setting Structure ............................. 161 MaxiCode_Setting Structure..............................162 QRCode_Setting Structure ..............................163 ChineseSensible_Setting Structure ............................. 164 SCAN COMMAND TABLE ....................................165 FUNCTION RETURN V ALUES ..................................177 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 7: Overview

    Argox PT-90 Mobile Computers under Microsoft® Windows® CE6.0 Operating System. It gives all the details needed to call functional subroutines controling the devices on the Argox PT-90 Mobile Computer or access value-added devices on board such as Scanning and Wireless module.
  • Page 8: Sdk Functions

    ..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_SetBacklightPWM = (pfnSetBacklightPWM) ::GetProcAddress(dllHandle, _T("SetBacklightPWM")); m_SetBacklightPWM(0, 0); FreeLibrary(dllHandle); PT-9230 Mobile Computer SDK Programming Manual...
  • Page 9: Sysapiax.dll

    – Turn ON or OFF keypad backlight LED. QueryKeypadLEDIntensity – Query keypad backlight LED brightness. SetKeypadPWM – Adjusts keypad backlight LED brightness. System Related Functions CallSuspend – Enter SUSPEND mode. EnableAutoConnect – Turn auto-connect ON or OFF. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 10: Pt-9230 Mobile Computer Sdk Programming Manual

    – Get next device supported FTP service position. PairDevice – Pair with device. UnPairDevice – Unpair with device. GetComInfo – Get com identifier index and amount. ConnectDevice – Connect to Bluetooth device for SPP or FTP. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 11: Pt-9230 Mobile Computer Sdk Programming Manual

    – 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 by ConnectDevice. FTP_FILE Structure – FTP_FILE Information used by FindFirstFTPFile and FindNextFTPFile. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 12: F Unctions

    = Audio_GetV olume(&dwV olume); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("Audio_GetV olume fail")); else CString strTemp; strTemp.Format(_T("V olume: %d"),dwV olume); AfxMessageBox(strTemp); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 13 DWORD dwResult,dwV olume; dwV olume = 0x11111111; dwResult = Audio_SetV olume(dwV olume); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("Audio_SetV olume fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 14: F Unction

    Example switch (GetBatteryStatus()) case 0: AfxMessageBox(_T("Battery High")); break; case 1: AfxMessageBox(_T("Battery Low")); break; case 2: AfxMessageBox(_T("Battery Critical")); break; case 3: AfxMessageBox(_T("Battery Charging")); PT-9230 Mobile Computer SDK Programming Manual...
  • Page 15 4: AfxMessageBox(_T("No Battery")); break; case 5: AfxMessageBox(_T("Battery Unknown")); break; Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 16: F Unctions

    Example DWORD dwResult; dwResult = BacklightOn(TRUE); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("BacklightOn fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 17 Example DWORD dwResult, dwV alue1, dwV alue2; dwResult = Display_QueryBacklightIntensity(&dwV alue1, &dwV alue2); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("Display_QueryBacklightIntensity fail")); else CString strTemp; strTemp.Format(_T("AC backlight intensity: %d, Battery backlight intensity: %d"), dwV alue1, PT-9230 Mobile Computer SDK Programming Manual...
  • Page 18 AfxMessageBox(strTemp); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 19: Getbacklightstatus

    0 = screen back-light is oOFF. Example DWORD dwResult; dwResult = GetBacklightStatus(); if(dwResult == 1) AfxMessageBox(_T("Backlight on")); else AfxMessageBox(_T("Backlight off")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 20: Poweronlcd

    != E_FUNC_SUCCEED) AfxMessageBox(_T("PowerOnLCD fail")); Sleep(3000); dwResult = PowerOnLCD(TRUE); //power on LCD if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("PowerOnLCD fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 21: Setbacklightpwm

    Control Panel to adjust back-light brightness level. Example DWORD dwResult = SetBacklightPWM(100,100); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("SetBacklightPWM fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 22: Keypad Related Functions

    TRUE to ENABLE the POWER button. Example DWORD dwResult; dwResult = EnablePowerButton(FALSE); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("EnablePowerButton fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 23: Getkeypadalphamode

    0: AfxMessageBox(_T("Numeric mode")); break; case 1: AfxMessageBox(_T("Lowercase letter mode")); break; case 2: AfxMessageBox(_T("Uppercase letter mode")); break; Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 24: Sendkbdvisualkey

    If this action succeeds, the returned value is E_FUNC_SUCCEED. If this action fails, possible returned values are E_FUNC_PAR_ERROR. Example CString strTemp; strTemp = "VisualKey"; for(int i=0;i<strTemp.GetLength();i++) SendKbdVisualKey((unsigned char)strTemp.GetAt(i)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 25: Setkeypadalphamode

    If this action succeeds, the returnedvalue is E_FUNC_SUCCEED. If this action fails, possible returned values are E_FUNC_ERROR, E_FUNC_PAR_ERROR. Example DWORD dwResult; dwResult = SetKeypadAlphaMode(1); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("SetKeypadAlphaMode fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 26: Led Related Functions

    = GetKeypadLEDStatus(); if(bResult == TRUE) AfxMessageBox(_T("Keypad LED on")); else if(bResult == FALSE) AfxMessageBox(_T("Keypad LED off")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 27: Goodreadledon

    If this action succeeds, the returned value is E_FUNC_SUCCEED. If this action fails, possible returned values are E_FUNC_ERROR, E_FUNC_PAR_ERROR. Example DWORD dwResult; dwResult = GoodReadLEDOn(TRUE); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("GoodReadLEDOn fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 28: Keypadledon

    KeyPad LED Setting in the Control Panel to always turn ON or OFF the keypad LED. Example DWORD dwResult; dwResult = KeypadLEDOn(TRUE); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("KeypadLEDOn fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 29: Querykeypadledintensity

    DWORD dwResult, dwV alue1, dwV alue2; dwResult = Display_QueryKeypadLEDIntensity(&dwV alue1, &dwV alue2); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("QueryKeypadLEDIntensity fail")); else CString strTemp; strTemp.Format(_T("AC Keypad LED intensity: %d, Battery Keypad LED intensity: %d"), dwV alue1, dwV alue2); AfxMessageBox(strTemp); PT-9230 Mobile Computer SDK Programming Manual...
  • Page 30 Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 31: Setkeypadpwm

    Timeout&Brightness function in Control Panel to adjust the Keypad LED Brightness level. Example DWORD dwResult = SetKeypadPWM(100,100); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("SetKeypadPWM fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 32: System Related Functions

    To force the terminal entering SUSPEND mode. void CallSuspend Parameters None. Returned Values None. Example //suspend device CallSuspend(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 33: Enableautoconnect

    ActiveSync program when user plug cable into the terminal. Example BOOL bResult; bResult = EnableAutoConnect(TRUE); if(bResult == FALSE) AfxMessageBox(_T("EnableAutoConnect fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 34: Registeralphakeynotification

    The application should call UnregisterAlphaKeyNotification function to unregister the prompt message from the dll. Example if(RegisterAlphaKeyNotification(this->m_hWnd,WM_USER+0x0001)) AfxMessageBox(_T("RegisterAlphaKeyNotification FAIL!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 35: Showchineseime

    The Chinese IME is only supported in Chinese OS. It will work after calling this function then reset the terminal. Example BOOL bResult; bResult = ShowChineseIME(TRUE); if(bResult == FALSE) AfxMessageBox(_T("ShowChineseIME fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 36: Showdesktop

    TRUE, the terminal will SHOW all icons on Desktop. Example BOOL bResult; bResult = ShowDesktop(TRUE); if(bResult == FALSE) AfxMessageBox(_T("ShowDesktop fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 37: Showexploretoolbar

    The ShowExploreT oolbar function only affects Windows Internet Explorers been opened already. Example BOOL bResult; bResult = ShowExploreToolbar(TRUE); if(bResult == FALSE) AfxMessageBox(_T("ShowExploreToolbar fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 38: Showtaskbar

    Taskbar again. Example BOOL bResult; bResult = ShowTaskbar(TRUE); if(bResult == FALSE) AfxMessageBox(_T("ShowTaskbar fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 39: Unregisteralphakeynotification

    Returned Values Returning 0 if the operation is successful, otherwise return 1. Example if(UnregisterAlphaKeyNotification(this->m_hWnd)) AfxMessageBox(_T("UnregisterAlphaKeyNotification FAIL!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 40: Functions

    Calling this function will not change the “Scanner Vibrator” setting. Example DWORD dwResult; dwResult = VibratorOn(TRUE); if(dwResult != E_FUNC_SUCCEED) AfxMessageBox(_T("VibratorOn fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 41: Wlan Related Function

    Returning TRUE if the operation is successful; otherwise FALSE. Example BOOL bResult; bResult = WL_Enable(); if(bResult == FALSE) AfxMessageBox(_T("Wireless enable fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 42: Wl_Disable

    Returning TRUE if the operation is successful; otherwise FALSE. Example BOOL bResult; bResult = WL_Disable(); if(bResult == FALSE) AfxMessageBox(_T("Wireless disable fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 43: Bluetooth Related Function

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are BT_ERR_CREA TE_FAIL, BT_ERR_INUSING. Example BOOL bResult; bResult = BT_On(); if(bResult != E_FUNC_SUCCEED) AfxMessageBox(_T("Bluetooth enable fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 44: Bt_Off

    To DISABLE the Bluetooth function and power. void BT_Off Parameters None. Returned Values None Example BT_Off(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 45: Setdiscovermode

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned value is BT_ERR_SETTING_FAIL. Example If(SetDiscoverMode(TRUE) != E_FUNC_SUCCEED) AfxMessageBox(“Setting fail”); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 46: Getdiscovermode

    Return TRUE if terminal can be discovered, otherwise return FALSE. Example if(GetDiscoverMode()) AfxMessageBox(_T("Discover mode is enable")); Else AfxMessageBox(_T(“Discover mode is disable”)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 47: Setsppservice

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are BT_ERR_SETTING_FAIL, BT_ERR_REG_DEV_FAIL, BT_ERR_SPP_COM_FAIL. Example If(SetSPPService(TRUE) != E_FUNC_SUCCEED) AfxMessageBox(“Setting fail”); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 48: Getsppservice

    Return TRUE if SPP service is enable, otherwise return FALSE. Example if(GetSPPService()) AfxMessageBox(_T("SPP service is enable")); Else AfxMessageBox(_T(“SPP service is disable”)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 49: Setftpservice

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are BT_ERR_SETTING_FAIL. Example if(SetFTPService(TRUE) != E_FUNC_SUCCEED) AfxMessageBox(_T("Set FTP service fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 50: Getftpservice

    Return TRUE if FTP service is enable, otherwise return FALSE. Example if(GetFTPService()) AfxMessageBox(_T("FTP service is enable")); Else AfxMessageBox(_T(“FTP service is disable”)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 51: Setftpwriteable

    Returned Values Return E_FUNC_SUCCEED if the operation is successful. Example if(SetFTPWriteable(TRUE) != E_FUNC_SUCCEED) AfxMessageBox(_T("Set FTP writeable fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 52: Getftpwriteable

    Return TRUE if FTP writeable is enable, otherwise return FALSE. Example if(GetFTPWriteable()) AfxMessageBox(_T("FTP service is writeable")); else AfxMessageBox(_T(“FTP service is diswriteable)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 53: Setftpsharefolder

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned value is E_FUNC_PAR_ERROR. Example if(SetFTPShareFolder(“\\Temp”) != E_FUNC_SUCCEED) AfxMessageBox(_T("Set FTP Share Folder fail!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 54: Getftpsharefolder

    DWORD dwErr = GetFTPShareFolder(strFolder, & nFolderLen);; If(dwErr == BT_ERR_INSUFFICIENT){ Delete strFolder; strFolder = new WCHAR[nFolderLen]; GetFTPShareFolder(strFolder, & nFolderLen); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 55: Initsearchbtdevice

    = InitSearchBTDevice(&hLookup) while(dwRe == E_FUNC_SUCCEED){ dwRe = FindNextBTDevice(hLookup, szDeviceName, &btAddress, 256); if(dwRe == BT_ERR_DEVICE_ERROR) break; ………… EndSearchBTDevice(hLookup); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 56: Findnextbtdevice

    #define GET_NAP(_bt_addr) ( (USHORT) (((_bt_addr) & (ULONGLONG)0xFFFF00000000) >> (8*4)) ) #define GET_SAP(_bt_addr) ( (ULONG) (((_bt_addr) & (ULONGLONG)0x0000FFFFFFFF) >> (0)) ) DWORD dwRe; HANDLE hLookup; ULONGLONG btAddress; WCHAR szAddress[16], szDeviceName[128]; dwRe = InitSearchBTDevice(&hLookup) while(dwRe == E_FUNC_SUCCEED){ PT-9230 Mobile Computer SDK Programming Manual...
  • Page 57 = FindNextBTDevice(hLookup, szDeviceName, &btAddress, 256); if(dwRe == BT_ERR_DEVICE_ERROR) break; ………… wsprintf(szAddress, L"%04X%08X", GET_NAP(btAddress), GET_SAP(btAddress)); ………… EndSearchBTDevice(hLookup); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 58: Endsearchbtdevice

    = InitSearchBTDevice(&hLookup) while(dwRe == E_FUNC_SUCCEED){ dwRe = FindNextBTDevice(hLookup, szDeviceName, &btAddress, 256); if(dwRe == BT_ERR_DEVICE_ERROR) break; ………… EndSearchBTDevice(hLookup); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 59: Initsearchftpdevice

    = FindFirstFTPDevice(&dwPos, szDeviceName, & btAddress, 256); while(dwRe == E_FUNC_SUCCEED){ FindNextFPTDevice(&dwPos, szDeviceName, & btAddress, 256); if(dwRe != E_FUNC_SUCCEED) break; ………… Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 60: Findfirstftpdevice

    #define GET_SAP(_bt_addr) ( (ULONG) (((_bt_addr) & (ULONGLONG)0x0000FFFFFFFF) >> (0)) ) DWORD dwPos, dwRe; WCHAR szDeviceName[128], szAddress[16]; ULONGLONG btAddress; 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; ………… PT-9230 Mobile Computer SDK Programming Manual...
  • Page 61 L"%04X%08X", GET_NAP(btAddress), GET_SAP(btAddress)); ………… Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 62: Findnextftpdevice

    #define GET_SAP(_bt_addr) ( (ULONG) (((_bt_addr) & (ULONGLONG)0x0000FFFFFFFF) >> (0)) ) DWORD dwPos, dwRe; WCHAR szDeviceName[128], szAddress[16]; ULONGLONG btAddress; 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; ………… PT-9230 Mobile Computer SDK Programming Manual...
  • Page 63 L"%04X%08X", GET_NAP(btAddress), GET_SAP(btAddress)); ………… Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 64: Pairdevice

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are BT_ERR_PAIR_FAIL, BT_ERR_DEVICE_ERROR. Example if(PairDevice(btAddress, PinCode) != E_FUNC_SUCCEED) AfxMessageBox(_T("Pair fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 65: Unpairdevice

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned value is BT_ERR_DEVICE_ERROR. Example PairDevice(btAddress, PinCode); .... UnPairDevice(btAddress); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 66: Getcominfo

    DWORD dwErr = GetComInfo(&nComSum, pComV alue, & nComV alueLen); If(dwErr == BT_ERR_INSUFFICIENT){ Delete pComV alue; pComV alue = new WCHAR[nComValueLen]; GetComInfo(&nComSum, pComV alue, & nComV alueLen); Requirements OS Versions: Windows CE 6.0 or beyond. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 67 Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 68: Connectdevice

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are 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 OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 69: Getconnectstatus

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned value is E_FUNC_PAR_ERROR. Example GetConnectStatus(btAddress, 1, _T("COM7"), &nStatus); if(nStatus) AfxMessageBox(_T("SPP Connect!!")); else AfxMessageBox(_T(“SPP Disconnect”)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 70: Getsppclientchannel

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are E_FUNC_ERROR, BT_ERR_DEVICE_ERROR. Example if(GetSPPClientChannel(btAddress, &nChannel) != E_FUNC_SUCCEED) AfxMessageBox(_T("Get channel fail!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 71: Findfirstftpfile

    Example FTP_FILE File; DWORD dwErr = FindFirstFTPFile(_T(“\\”), &File); If(dwErr==E_FUNC_SUCCEED){ ………… dwErr = FindNextFTPFile(&File); }while(dwErr == E_FUNC_SUCCEED); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 72: Findnextftpfile

    FTP_FILE File; DWORD dwError = FindFirstFTPFile(_T(“\\”), &File); If(dwErr == E_FUNC_SUCCEED){ ………… dwErr = FindNextFTPFile(&File); }while(dwErr == E_FUNC_SUCCEED); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 73: Getftpfile

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are E_FUNC_ERROR, E_FUNC_PAR_ERROR, BT_ERR_DEVICE_NOT_CONNECT. Example if(GetFTPFile(_T(\\record.txt)) != E_FUNC_SUCCEED) AfxMessageBox(_T("Get file fail!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 74: Putftpfile

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are 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("Put file fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 75: Createftpfolder

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are E_FUNC_ERROR, E_FUNC_PAR_ERROR, BT_ERR_DEVICE_NOT_CONNECT. Example if(CreateFTPFolder(_T(“\\ FTP Folder”) != E_FUNC_SUCCEED) AfxMessageBox(_T("Create folder fail!”)); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 76: Deleteftpfolder

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are E_FUNC_ERROR, E_FUNC_PAR_ERROR, BT_ERR_DEVICE_NOT_CONNECT. Example if(DeleteFTPFolder(_T(“\\FTP Folder”)) != E_FUNC_SUCCEED) AfxMessageBox(_T("Delete folder fail!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 77: Deleteftpfile

    If the action succeeds, the returned value is E_FUNC_SUCCEED. If the action fails, possible returned values are E_FUNC_ERROR, E_FUNC_PAR_ERROR, BT_ERR_DEVICE_NOT_CONNECT. Example if(DeleteFTPFile(_T(“\\ FTP Folder \\record.txt”)) != E_FUNC_SUCCEED) AfxMessageBox(_T("Delete file fail!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: sysapiax.h Link Library: sysapiax.lib Link DLL: sysapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 78: Bluetooth Structure

    The connect com for Serial port profile, must be four characters long.. Contains "COM"+ com identifier index, for example "COM7". If nConnectType member is 2 (FTP), strCom ben’t to check Structure Information Header: sysapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 79: Ftp_File Structure

    The file name; It will be null if the object is a folder dwFileSize The file size , in bytes; It will be 0 if the object is a folder. Structure Information Header: sysapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 80: Scanapiax.dll

    – Check if the scan.exe is running or not. S2K_Load – Load or unload the scan.exe. SCAN_QueryStatus – Query scanner settings. SCAN_SendCommand – Send scanner command to change scanner status. SCAN_ResumeSystem – Enable/Disable scan key to resume system. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 81: Scan_Batchsetting

    String settings. Code11_Setting Structure – Information of Code 11 settings. Code39_Setting Structure – Information of Code 39 settings. Code93_Setting Structure – Information of Code 93 settings. Code128_Setting Structure – Information of Code 128 settings. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 82 – Information of Korea Post settings. USPS_Setting Structure – Information of USPS settings. UPU_Setting Structure – Information of UPU settings. Aztec_Setting Structure – Information of Aztec Code settings. DataMatrix_Setting Structure – Information of Data Matrix settings. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 83 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). PT-9230 Mobile Computer SDK Programming Manual...
  • Page 84 SM_ERROR_API : Indicating an error. Calling API_GetError can get the error code. Example if(!API_Register(theApp.GetMainWnd()->m_hWnd)) AfxMessageBox(_T("API_Register FAIL!!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 85 To Unregister the target application from SCANAPIAX.dll and close the scanning device. void API_Unregister Parameters None Returned Values None. Example API_Unregister(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 86 Example if(message == SM_DA TA_READY){ CString strBarData,strBarType; UINT uiSize, uiType, i; char *pBuf; uiSize = uiType = 0; API_GetBarData(NULL, &uiSize, &uiType); if(uiSize == 0) strBarData = _T("No Data"); else{ pBuf = (char *)new char[uiSize+1]; PT-9230 Mobile Computer SDK Programming Manual...
  • Page 87 = 0 ; i < strlen(pBuf); i++) strBarData += *(pBuf+i); AfxMessageBox( _T("Type:") + strBarType + _T("\r\nBarcode:") + strBarData); return 0; Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 88 API_GetBarData((LPBYTE)pBuf, &uiSize, &uiType); for(i = 0 ; i < strlen(pBuf); i++) strData += *(pBuf+i); AfxMessageBox(strData); return 0; Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 89 PT90. Always return zero. UINT API_GetBarType Parameters None Returned Values Always return zero Example uiType = API_GetBarType(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 90 ERR_INV ALID_FILE WM_USER+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 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 91 Returning the system error code that is returned by GetLastError(). Descriptions of system error code can be found in MSDN. Example dwError = API_GetSysError(); strMess.Format(_T("System 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 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 92 SCAN_SendCommand() function. If the buzzer and good-read LED functions are disabled, the API_GoodRead will do nothing.. Example API_GoodRead(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 93 != IDOK) return; strFile = dlg.GetPathName(); if(theApp.m_API_LoadSettingsFromFile(strFile)) AfxMessageBox(_T("Load form file Succeed")); else AfxMessageBox(_T("Load from file Fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 94 Return TRUE if the operation is successful, otherwise return FALSE. Example if(API_Reset()) AfxMessageBox(_T("Reset Succeed")); else AfxMessageBox(_T("Reset Fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 95 To Clear the data buffer to allow the next scanned data coming in.. void API_ResetBarData Parameters None Returned Values None. Example API_ResetBarData(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 96 != IDOK) return; strFile = dlg.GetPathName(); if(API_SaveSettingsToFile(strFile)) AfxMessageBox(_T("Save to file Succeed")); else AfxMessageBox(_T("Save to file Fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 97 Returning TRUE if the operation is successful, otherwise, return FALSE. Example if(API_SaveSettingsToScanner()) AfxMessageBox(_T("Save to Scanner Succeed")); else AfxMessageBox(_T("Save to Scannere Fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 98 The returned value TRUE indicates that scan.exe is running. The returned value FALSE indicates that scan.exe is not running. Example if(S2K_IsLoad()){ AfxMessageBox(_T("scan.exe load")); else AfxMessageBox(_T("scan.exe does not load")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 99 Returning TRUE if the operation is successful, otherwise, return FALSE. Example if(S2K_Load(FALSE,1000)){ AfxMessageBox(_T("unload scan.exe success")); else AfxMessageBox(_T("unload scan.exe failed")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 100 = (char *)new char[100]; memset(pV alue, 0, 100); //query Buzzer indication setting SCAN_QueryStatus(5, 3, pV alue); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 101 Returning TRUE if the operation is successful, otherwise, return FALSE. Example //Enable Buzzer indication setting if(SCAN_SendCommand(5, 3, “1”)) AfxMessageBox(_T("Setup complete")); else AfxMessageBox(_T("Setup false")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 102 == 0) AfxMessageBox(_T("Enable scan key to resume system succeed")); else AfxMessageBox(_T("Enable scan key to resume system fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 103 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 OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 104 If this action succeeds, the returned value is E_FUNC_SUCCEED. If this action fails, possible returned values are E_FUNC_SCANNER_NOT_OPEN, E_FUNC_PAR_ERROR. Example ScannerSetting setting; SCAN_BatchRead(&setting); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 105: Scan2Key Related Functions

    Returning TRUE if the operation is successful, otherwise, return FALSE. Example BOOL bResult; bResult = PT_OpenScan2Key(); if(!bResult) AfxMessageBox(_T("PT_OpenScan2Key fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 106: Pt_Closescan2Key

    PT_CloseScan2Key To Close application program scan.exe. void PT_CloseScan2Key Parameters None Returned Values None. Example PT_CloseScan2Key() Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 107: Pt_Settodefault

    Returned Values Returning 1 if the operation is successful, otherwise, return 0. Example if(!PT_SetToDefault()) AfxMessageBox(_T("PT_SetToDefault fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 108: Scanner Related Functions

    Returned Values Returning 0 if the operation is successful, otherwise, return 1. Example if(PT_EnableScanner()) AfxMessageBox(_T("PT_EnableScanner fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 109: Pt_Disablescanner

    PT_DisableScanner To close the scanning device. void PT_DisableScanner Parameters None Returned Values None. Example PT_DisableScanner(); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 110: Pt_Checkbarcodedata

    = _T("There are barcode data in system buffer"); else m_strScanData = _T("There are no barcode data in system buffer "); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 111: Pt_Getbarcodedata

    Example if(PT_CheckBarcodeData()){ if(PT_GetBarcodeData(&uiBarType, pBarData, &uiMaxLen)){ for(i = 0 ; i < strlen(pBarData) ; i++) m_strScanData += *(pBarData + i); else m_strScanData = _T("Can' t get scan data"); else m_strScanData = _T("No Scan Data"); PT-9230 Mobile Computer SDK Programming Manual...
  • Page 112 Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 113: Pt_Setdefault

    Returning TRUE if the operation is successful, otherwise, return FALSE. Example if(PT_SetDefault()) AfxMessageBox(_T("PT_SetDefault succeed")); else AfxMessageBox(_T("PT_SetDefault fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 114: Ela Ted Functions

    This function is valid only if the scanning device is enabled. A Warm Reset will enable the scan Trigger Key automatically. Example BOOL bResult; bResult = EnableTriggerKey(TRUE); if(bResult) AfxMessageBox(_T("EnableTriggerKey Succeed")); Else AfxMessageBox(_T("EnableTriggerKey Fail")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 115: Getlibraryv Ersion

    CString strTemp; nV ersion = GetLibraryV ersion(); strTemp.Format(_T("V ersion = %d"), nV ersion); AfxMessageBox(strTemp); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 116: Gettriggerkeystatus

    Returned value 1 indicates that the scan Trigger Key is enabled. Returned value 0 indicates that the scan Trigger Key is disabled. Example if(GetTriggerKeyStatus()) AfxMessageBox(_T("scan key ensable!")); else AfxMessageBox(_T("scan key disable!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 117: Presstriggerkey

    Remarks This function is valid only if the scanning device is enabled. Example PressTriggerKey(TRUE); Sleep(1000); PressTriggerKey(FALSE); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 118: Triggerstatus

    The returned value 1 indicates that the scan Trigger Key is pressed and 0 indicates that scan Trigger Key is released. Example if(TriggerStatus()) AfxMessageBox(_T("scan key pressed!")); else AfxMessageBox(_T("scan key release!")); Requirements OS Versions: Windows CE 6.0 or beyond. Header: scanapiax.h Link Library: scanapiax.lib Link DLL: scanapiax.dll Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 119: Scan Structure

    Code16K_Setting Code16K; struct ChinaPost_Setting ChinaPost; struct RSS14_Setting Rss14; struct RSSLimited_Setting RssLimited; struct RSSExpanded_Setting RssExpanded; struct Pharmacode_Setting Pharmacode; struct MicroPDF_Setting MicroPDF; struct EANUCC_Setting EANUCC; struct IATA25_Setting IATA25; struct Trioptic_Setting Trioptic; struct PosiCode_Setting PosiCode; struct CodablockF_Setting CodablockF; PT-9230 Mobile Computer SDK Programming Manual...
  • Page 120 This is required. It is the size of structure ScannerSetting , in bytes. generalsetting GeneralSetting Structure. Code11 Code11_Setting Structure. Code39 Code39_Setting Structure. Code93 Code93_Setting Structure. Code128 Code128_Setting Structure. Codabar Codabar_Setting Structure. EAN8 EAN8_Setting Structure. EAN13 EAN13_Setting Structure. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 121 PDF417 PDF417_Setting Structure. Code16K Code16K_Setting Structure. ChinaPost ChinaPost_Setting Structure. Rss14 RSS14_Setting Structure. RssLimited RSSLimited_Setting Structure. RssExpanded RSSExpanded_Setting Structure. Pharmacode Pharmacode_Setting Structure. MicroPDF MicroPDF_Setting Structure. EANUCC EANUCC_Setting Structure. IATA25 IA TA25_Setting Structure. Trioptic Trioptic_Setting Structure. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 122 BritishPost_Setting Structure. CanadianPost CanadianPost_Setting Structure. JapanesePost JapanesePost_Setting Structure. KIXPost KIXPost_Setting Structure. KoreaPost KoreaPost_Setting Structure. USPS USPS_Setting Structure. UPU_Setting Structure. Aztec Aztec_Setting Structure. DataMatrix DataMatrix_Setting Structure. MaxiCode MaxiCode_Setting Structure. QRCode QRCode_Setting Structure. ChineseSensible ChineseSensible_Setting Structure. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 123 Remarks The cbSize must be the size of Structure ScannerSetting, in bytes. Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 124: Generalsetting Structure

    UINT m_uiAimID; UINT m_uiInverte; UINT m_uiScanTout; UINT m_uiIdleTout; Unsigned char m_strPreamble[10]; Unsigned char m_strPostamble[10] Members All members See Indication, Transmission, Scan String setting settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 125: Code11_Setting Structure

    This setting contains information used by Structure ScannerSetting. Struct Code11_Setting UINT m_uiRead; UINT m_uiChkDig; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Code11 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 126: Code39_Setting Structure

    Struct Code39_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 All members Code39 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 127: Code93_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Code93_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; UINT m_uiCodePage; Members All members Code93 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 128: Code128_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Code128_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; UINT m_uiISBT128; UINT m_uiCodePage; Members All members Code128 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 129: Codabar_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Codabar_Setting UINT m_uiRead; UINT m_uiChkDig; UINT m_uiMaxLen; UINT m_uiMinLen; UINT m_uiXmitStarStop; UINT m_uiConcat; Members All members Codabar settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 130: Ean8_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct EAN8_Setting UINT m_uiRead; UINT m_uiXmitChkDig; UINT m_ui2DigSupp; UINT m_ui5DigSupp; UINT m_uiSuppReq; UINT m_uiSuppSep; Members All members EAN8 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 131: Ean13_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct EAN13_Setting UINT m_uiRead; UINT m_uiXmitChkDig; UINT m_uiISBNConvert; UINT m_ui2DigSupp; UINT m_ui5DigSupp; UINT m_uiSuppReq; UINT m_uiSuppSep; Members All members EAN13 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 132: Industrial25_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Industrial25_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Industrial 2 of 5 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 133: Interleaved25_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Interleaved25_Setting UINT m_uiRead; UINT m_uiChkDig; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Interleaved 2 of 5 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 134: Msi_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct MSI_Setting UINT m_uiRead; UINT m_uiXmitChkDig; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members MSI Plessey settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 135: Uk_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct UK_Setting UINT m_uiRead; UINT m_uiXmitChkDig; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members UK Plessey settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 136: Telepen_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Telepen_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; UINT m_uiFullASCII; Members All members Telepen settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 137: Upca_Setting Structure

    Struct UPCA_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 All members UPCA settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 138: Upce_Setting Structure

    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 All members UPCE settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 139: Matrix25_Setting Structure

    Matrix25_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct Matrix25_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Matrix25 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 140: Pdf417_Setting Structure

    PDF417_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct PDF417_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members PDF-417 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 141: Code16K_Setting Structure

    Code16K_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct Code16K_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Code-16K settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 142: Chinapost_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct ChinaPost_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members China Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 143: Rss14_Setting Structure

    RSS14_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct RSS14_Setting UINT m_uiRead; Members All members RSS 14 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 144: Rsslimited_Setting Structure

    RSSLimited_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct RSSLimited_Setting UINT m_uiRead; Members All members RSS Limited settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 145: Rssexpanded_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct RSSExpanded_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members RSS Expanded settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 146: Pharmacode_Setting Structure

    Pharmacode_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct Pharmacode_Setting UINT m_uiRead; Members All members Italian Pharmacode 39 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 147: Micropdf_Setting Structure

    MicroPDF_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct MicroPDF_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members See MicroPDFsettings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 148: Eanucc_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct EANUCC_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; UINT m_uiUPCEANV Members All members EAN.UCC compositesettings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 149: Iata25_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct IATA25_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members IA TA2 of 5 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 150: Trioptic_Setting Structure

    Trioptic_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct Trioptic_Setting UINT m_uiRead; Members All members TRI-OPTIC settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 151: Posicode_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct PosiCode_Setting UINT m_uiRead; UINT m_uiLimit; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members PosiCode settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 152: Codablockf_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct CodablockF_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Codablock F settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 153: Code49_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Code49_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Code 49 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 154: Tlc39_Setting Structure

    TLC39_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct TLC39_Setting UINT m_uiRead; Members All members TLC 39 settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 155: Planet_Setting Structure

    Planet_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct Planet_Setting UINT m_uiRead; UINT m_uiXmitChkDig; Members All members Planet Code settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 156: Postnet_Setting Structure

    Postnet_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct Postnet_Setting UINT m_uiRead; UINT m_uiXmitChkDig; Members All members Postnet settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 157: Australianpost_Setting Structure

    AustralianPost_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct AustralianPost_Setting UINT m_uiRead; Members All members Australian Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 158: Britishpost_Setting Structure

    BritishPost_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct BritishPost_Setting UINT m_uiRead; Members All members British Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 159: Canadianpost_Setting Structure

    CanadianPost_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct CanadianPost_Setting UINT m_uiRead; Members All members Canadian Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 160: Japanesepost_Setting Structure

    JapanesePost_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct JapanesePost_Setting UINT m_uiRead; Members All members Japanese Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 161: Kixpost_Setting Structure

    KIXPost_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct KIXPost_Setting UINT m_uiRead; Members All members KIX Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 162: Koreapost_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct KoreaPost_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Korea Post settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 163: Usps_Setting Structure

    USPS_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct USPS_Setting UINT m_uiRead; Members All members USPS settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 164: Upu_Setting Structure

    UPU_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct UPU_Setting UINT m_uiRead; Members All members settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 165: Aztec_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct Aztec_Setting UINT m_uiRead; UINT m_uiRunes; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Aztec Code settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 166: Datamatrix_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct DataMatrix_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Data Matrix settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 167: Maxicode_Setting Structure

    MaxiCode_Setting Structure This setting file contains information used by Structure ScannerSetting. Struct MaxiCode_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members MaxiCode settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 168: Qrcode_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct QRCode_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members QR/MicroQR Code settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 169: Chinesesensible_Setting Structure

    This setting file contains information used by Structure ScannerSetting. Struct ChineseSensible_Setting UINT m_uiRead; UINT m_uiMaxLen; UINT m_uiMinLen; Members All members Chinese Sensible Code settings in Scan Command Table . Structure Information Header: scanapiax.h Device: PT90 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 170: Scan Command Table

    Postamble characters settings 00 * 0: Disable * Code 11 Read 1: Enable 1: One digit * Check Digit 2: Two digits 4 ~ 80 Max. code length 80 * 4 ~ 80 Min. code length PT-9230 Mobile Computer SDK Programming Manual...
  • Page 171 0 ~ 80 Min. code length 0: Disable * ISBT 128 1: Enable 1 ~ 3, 81 ~ 90 See Note 4 Code Page 0: Disable * Codabar Read 1: Enable 0: Disable * PT-9230 Mobile Computer SDK Programming Manual...
  • Page 172 ISBN conversion 1: Enable 0: Disable * Two Digit Supplements 1: Enable 0: Disable * Five Digit Supplements 1: Enable 0: Disable * Supplements Required 1: Enable 0: Disable * Supplements Separator 1: Enable PT-9230 Mobile Computer SDK Programming Manual...
  • Page 173 Max. code length 48 * 4 ~ 48 Min. code length 0: Disable * Telepen Read 1: Enable 1 ~ 60 Max. code length 60 * 1 ~ 60 Min. code length 0: Disable * PT-9230 Mobile Computer SDK Programming Manual...
  • Page 174 Two Digit Supplements 1: Enable 0: Disable * Five Digit Supplements 1: Enable 0: Disable * Supplements Required 1: Enable 0: Disable * Supplements Separator 1: Enable 0: Disable * Matrix 25 Read 1: Enable PT-9230 Mobile Computer SDK Programming Manual...
  • Page 175 4 ~ 74 Max. code length 74 * 4 ~ 74 Min. code length 0: Disable * See Note 7 Italian Pharmacode 39 Read 1: Enable 0: Disable * MicroPDF Read 1: Enable 1 ~ 366 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 176 2: A & B & Limited B On (Limited A Off) * 0: Disable * Codablock F Read 1: Enable 1 ~ 2048 Max. code length 2048 * 1 ~ 2048 Min. code length 0: Disable Code 49 Read 1: Enable * 1 ~ 81 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 177 4 ~ 48 Min. code length 0: Disable * USPS Read 1: Enable 0: Disable * Read 1: Enable 0: Disable Aztec Code Read 1: Enable * 1 ~ 3832 Max. code length 3832 * PT-9230 Mobile Computer SDK Programming Manual...
  • Page 178 Max. code length 7089 * 1 ~ 7089 Min. code length 0: Disable * Chinese Sensible Code Read 1: Enable 1 ~ 7833 Max. code length 7833 * 1 ~ 7833 Min. code length PT-9230 Mobile Computer SDK Programming Manual...
  • Page 179 IdleTimeout: the maximum time, in seconds, during which the scanner remains idle without any action. Note 3: This setting allows the imager to append the data from several Code 39 bar codes together before PT-9230 Mobile Computer SDK Programming Manual...
  • Page 180 In this case the two messages are concatenated into one with the “D” characters omitted. This selection has no effect on Codabar symbols without Stop/Start D characters. Note 6: When this setting is disable, the imager will auto expands the UPC-A code to the 13 digit, EAN-13 PT-9230 Mobile Computer SDK Programming Manual...
  • Page 181 Note 7: Code 39 must be turned on and Trioptic Code must be turned off while scanning Italian Pharmacode. Note 8: Code 39 and MicroPDF417 must be turned on while scanning TLC39. PT-9230 Mobile Computer SDK Programming Manual...
  • Page 182: Function Return V Alues

    SPP channel error BT_ERR_FTP_SERVER_REJECT 0x00001010 FTP server reject connect request BT_ERR_DIVICE_NOT_CONNECT 0x00001011 FTP service device not connect BT_ERR_FTP_DIR_FAIL 0x00001012 Search the direction fail BT_ERR_FTP_EMPTY_FILE 0x00001013 No more file data BT_ERR_CONNECTED 0x00001014 The device had connected PT-9230 Mobile Computer SDK Programming Manual...

Table of Contents