API Reference Manual Barcode Handy Terminal BHT-700-CE
Chapter 4. Backlight Control 4.1. Outline The backlight illumination and power saving modes can be controlled using either of the following methods
When dwCDType is M (Code 39), the length of barcode data must be two or more digits except for start and stop characters. If not, this function gets
When dwCDType is P (MSI), the length of barcode data must be two or more digits. If not, this function gets "0" and returns an error code.
BHT_BAR_SetDecodeOptions Description Sets the editing function setting value for the decoded result. This is supported only by the BHT-700B. Syntax
Member name Default Details bConvertToUPCA FALSE Used to convert (TRUE) or not convert (FALSE) to UPC-A. bReportNumsys FALSE Used to add (TRUE)
BHT_BAR_GetDecodeOptions Description Sets the editing function setting value for the decoded result. This is supported only by the BHT-700B. Syntax
Member name Default Details bConvertToUPCA FALSE Used to convert (TRUE) or not convert (FALSE) to UPC-A. bReportNumsys FALSE Used to add (TRUE)
16.2. Backlight API BHT_SetBltStatus Description Control the backlight. Syntax DWORD BHT_SetBltStatus ( DWORD dwStatus ) Parameters dwStatus [in
BHT_GetBltStatus Description Read the backlight status. Syntax DWORD BHT_GetBltStatus ( DWORD* pdwStatus ) Parameters pdwStatus [out] Current ba
16.3. Battery API BHT_GetPowerStatus Description Read information about the battery loaded in the BHT body. Syntax DWORD BHT_GetPowerStatus ( WORD
BHT_GetPowerStatus2nd Description Read information about the battery loaded in the grip. Syntax DWORD BHT_GetPowerStatus2nd ( WORD* pwCuOnLine ,
4.3. Setting the Backlight Illumination Time The backlight illumination time is set and read using the BHT_SetSysSettingDW (DWORD dwCtrlCode,DWORD d
16.4. LED API BHT_GetNLedStatus Description Read the status of the indicator LED (red/blue). Syntax DWORD BHT_GetNLedStatus ( DWORD* pdwInfo ) P
BHT_SetNLedStatus Description Control the indicator LED (red/blue). Syntax DWORD BHT_SetNLedStatus ( DWORD dwStatus ) Parameters dwStatus [in] C
BHT_GetNLedStatusEx Description Read the status of the indicator LED and synchronization LED. Syntax DWORD BHT_GetNLedStatusEx ( DWORD dwLedDevice
BHT_SetNLedOn Description Turn on the indicator LED and/or synchronization LED. Syntax DWORD BHT_SetNLedOn ( DWORD dwLedDevice , DWORD dwLedNum )
BHT_SetNLedOff Description Turn off the indicator LED and/or synchronization LED. Syntax DWORD BHT_SetNLedOff ( DWORD dwLedDevice , DWORD dwLedNu
16.5. Beeper/Vibrator API BHT_StartBeep Description Drive the beeper or vibrator. Syntax DWORD BHT_StartBeep ( DWORD dwOnTime , DWORD dwOffTime ,
Comment: - The system functions allow the beeper volume to be changed. (Refer to Section 5.2. and 5.3.) - Specification of any of 3 through 667 to
BHT_StartBeeperOnly Description Drive the beeper. Syntax DWORD BHT_StartBeeperOnly ( DWORD dwOnTime , DWORD dwOffTime, WORD wRepCnt , WORD wFre
Comment: - The system functions allow the beeper volume to be changed. (Refer to Section 5.2. and 5.3.) - Specification of any of 3 through 667 to
BHT_StartVibrationOnly Description Drive the vibrator. Syntax DWORD BHT_StartVibrationOnly ( DWORD dwOnTime , DWORD dwOffTime , WORD wRepCnt )
4.5. Controlling the Backlight with the Backlight Control Key The backlight function can be enabled/disabled by pressing the backlight function contr
16.6. Wireless Communication API BHT_RF_Open Description Open the wireless LAN device and enable wireless communication. Syntax DWORD BHT_RF_Open (
BHT_RF_OpenEx Description Sets the communication format, opens the wireless LAN device and enables wireless communication. Syntax DWORD BHT_RF_Open
BHT_RF_Close Description Close the wireless LAN device and disable wireless communication. Syntax DWORD BHT_RF_Close ( void ) Parameters None Re
BHT_RF_CloseEx Description Closes the wireless LAN device for the set format and disables wireless communication. Syntax DWORD BHT_RF_CloseEx ( DWO
BHT_RF_IoControl Description Sends a control command to the driver and performs an operation corresponding to that command. Syntax DWORD BHT_RF_IoC
The details set for each argument differ for each command. Oid lpInBuf nInBufSize lpOutBuf nOutBufSize RF_UPDATE_PROFILE − − − − RF_COMMIT_PRO
BHT_RF_Synchronize Description Get the association status. Syntax DWORD BHT_RF_Synchronize ( long lTimeout , long* plSync ) Parameters lTimeout
BHT_RF_GetParamInt Description Read integer from the wireless communications parameter. Syntax DWORD BHT_RF_GetParamInt ( DWORD dwParam , DWORD*
Return value Error code Meaning ERROR_SUCCESS Successful completion ERROR_INVALID_PARAMETER Parameter error Address for storing data obtained not spe
BHT_RF_SetParamInt Description Write integer to the wireless communications parameter. Syntax DWORD BHT_RF_SetParamInt ( DWORD dwParam , const DW
4.6. Controlling the Backlight with the Backlight Control Function The backlight function can be controlled using the BHT_SetBltStatus function. The
Return value Error code Meaning ERROR_SUCCESS Successful completion ERROR_INVALID_PARAMETER Parameter error Address for storing data obtained not sp
BHT_RF_GetParamStr Description Read string from the wireless communications parameter. Syntax DWORD BHT_RF_GetParamStr ( DWORD dwParam , TCHAR* p
BHT_RF_SetParamStr Description Write character string to the wireless communications parameter. Syntax DWORD BHT_RF_SetParamStr ( DWORD dwParam ,
BHT_RF_GetInfoInt Description Read integer from the communications parameter. Syntax DWORD BHT_RF_GetInfoInt ( DWORD dwType , DWORD* pdwInfo )
BHT_RF_GetInfoStr Description Read string from the communications parameter. Syntax DWORD BHT_RF_GetInfoStr ( DWORD dwType , TCHAR* pwchInfo )
BHT_RF_GetSiteSurvey Description Get the quality of the communications link. Syntax DWORD BHT_RF_GetSiteSurvey ( DWORD* pdwStrength , DWORD* pdwB
16.7. OS Updating API BHT_SystemModify Description Update the BHT OS. Syntax DWORD BHT_SystemModify ( DWORD dwCtrlCode, TCHAR * pwchSysParam, DWO
16.8. Bluetooth API BHT_BT_PowerOn Description Turns ON the Bluetooth device power supply and enables Bluetooth. Syntax DWORD BHT_BT_PowerOn ( void
BHT_BT_PowerOff Description Turns OFF the Bluetooth device power supply and disables Bluetooth. Syntax DWORD BHT_BT_PowerOff ( void ) Parameters
BHT_BT_GetPowerStatus Description Acquires the Bluetooth device power status. Syntax DWORD BHT_BT_GetPowerStatus ( DWORD *pdwStatus ) Parameter
(*5) The backlight specified with the BHT_SetSysSettingDW (BHT_BACKLIGHT_DEVICE,…) function illuminates. (*6) Cold booting is performed from the sta
16.9. Other APIs BHT_WaitEvent Description Make the system wait until the specified event or timeout occurs. Syntax DWORD BHT_WaitEvent ( DWORD dw
Return value Error code Meaning ERROR_SUCCESS Successful completion ERROR_INVALID_PARAMETER Parameter error. Storage address not specified Comment:
BHT_WaitStandbyEvent Description Make the system wait until the specified event occurs. Syntax BHT_WaitStandbyEvent ( DWORD dwEvtNum , DWORD dwEv
Comment: The following five types of events can be specified: - Depression of any key - Depression of the trigger switch - Stylus release - Decoding
BHT_ShutdownSystem Description Turn off the BHT and boot the BHT according to the mode specified by the parameter. Syntax DWORD BHT_ShutdownSystem
BHT_RegStore Description Save the registry. Syntax DWORD BHT_RegStore ( void ) Parameters None Return value Error code Meaning ERROR_SUCCESS Su
Chapter 17. Programming Using OCX (OLE Customer Control) The BHT-700 Software Development Kit (BHT-700 SKD) provides ActiveX Control that can be used
(2)-2 Click Add Control and choose the newly installed OCX by clicking Open. (2)-3 Click OK, and the control is pasted as shown below. (3) Add
(3)-2 Select the installed .OCX file. (3)-3 Click Insert, and the message “Do you insert component?” pops up. Click OK, and specify an appropriate
17.4. Scanner Control 17.4.1. Properties Name and type eVC++ R/W Value Default value Description Enable/disable flag for barcode reading TRUE: Ena
Chapter 5. Beeper and Vibrator Control 5.1. Outline The beeper and vibrator are controlled by: (1) the beeper/vibrator setting functions (that allo
17.4.2. Methods GetChkDigit Description Calculate a check digit (CD) of the barcode data according to the specified calculation method. (Refer to th
GetLastCount Description Supported only on BHT-700Q Read the number of digits in the specified row of the code that was read most recently. Syntax
GetLastType Description Supported only on BHT-700Q Read the code type in the specified row of the code that was read most recently. Syntax long Get
17.4.3. Event Callback Function DecodeDone Description This function is called when decoding is successfully completed. It reads out the bufferData
17.4.4. Error Codes If an error occurs during access to properties or during calling to methods, the error code will be stored into the errorStatus v
17.5. File Transfer Control 17.5.1. Properties Name eVC++ R/W Value Default value Content GetPort SetPort short R/WCOM1 COM4 COM4 COM port GetBaud S
17.5.2. Methods Function Description AddFile Add a file to be transmitted. ClearFile Clear a file added by AddFile. GetFile Acquires the file name
ClearFile Description Clears a file added by AddFile. Syntax void ClearFile ( void ) Parameters None Return value None GetFile Description Acq
GetTransferredCount Description Returns the number of files for which transmission or receipt is complete. Syntax void GetTransferredCount (void) Pa
Send Description Transmit a file specified by AddFile. Syntax Long Send ( void ) Parameters None Return value Error code Meaning ERROR_SUCCESS
5.2. Setting the Beeper/Vibrator The BHT_SetSysSettingDW (DWORD dwCtrlCode, DWORD dwSysParam) and BHT_GetSysSettingDW (DWORD dwCtrlCode, DWORD *pdw
Abort Description Abort the current file transmission process. After aborting, the Done event will occur. Syntax Void Abort ( void ) Parameters No
GetError Description Return the error information for the transaction processed last. Syntax long GetError ( void ) Parameters None Return value
17.5.3. Event Callback Functions Function Description Done This function is called when the transmission ends as specified. Transferring Get the i
Transferring Description Get the information about a file being transmitted. Syntax void OnTransferring ( LPCTSTR FileName , long Total , long T
17.5.4. Coding Sample void CSerialTransferDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CSerialTr
Appendix A. Keyboard Arrangement, Virtual Key Codes and Character Codes A.1. 27-key pad A.1.1. Keyborard Arrangement (1) Numeric entry mode
A.1.2. Virtual Key Codes and Character Codes Numeric entry mode Normal status Status with [SF] pressed Virtual key code Virtual key code Key Con
Function mode Virtual key code Key Constant Value Character code [F1] VK_F5 74 - [F2] VK_F6 75 - [F3] VK_F7 76 - [F4] VK_F8 77 - [S] VK_F9 7
A.1.3. Character Codes in Alphabet Entry Mode In the alphabetic entry mode, the 0 to 9 and period (.) keys are used to enter alphabets. The table be
A.2. 42-key pad A.2.1. Keyborard Arrangement (1) Alphabet entry mode (2) Numeric entry mode
5.3. Starting/Stopping the Beeper/Vibrator The beeper/vibrator is activated or deactivated by the following functions: Function Used to: BHT_Start
(3) Function mode SCAN F5 F6 F7 F8 SEND M2 SCAN M1M3SCAN CAP FN NUM BS SP ESC ENT F9F10 F11F12165
A.2.2. Virtual Key Codes and Character Codes Alphabet entry mode Normal status Status with [SF] pressed Virtual key code Virtual key code Key Cons
Numeric entry mode Normal status Status with [SF] pressed Key Virtual key code Character code Virtual key code Character code [F1] VK_F1 70 - ← ←
Function mode Normal status Key Virtual key code Character code [F1] VK_F5 74 - [F2] VK_F6 75 - [F3] VK_F7 76 - [F4] VK_F8 77 - [▲] VK_F9 26 - [▼]
Appendix B. Differences between Older Unit The following table lists differences between the BHT-700 and the BHT-400. Type Item BHT-700 BHT-400
Type Item BHT-700 BHT-400 Default baud rate 115200 bps 9600 bps Data communication RS-232C Tx, Rx Tx, Rx, RTS, CTS I/F usable with Active Sync
BHT-700-CE API Reference Manual First Edition, October 2007 DENSO WAVE INCORPORATED The purpose of this
Chapter 6. Keys and Trigger Switch Control 6.1. Outline In addition to the processing for depressed or released keys and trigger switch, the BHT OS
6.2. Setting the Keys and Trigger Switch The BHT_SetSysSettingDW (DWORD dwCtrlCode, DWORD dwSysParam) and BHT_GetSysSettingDW (DWORD dwCtrlCode, DW
Copyright © DENSO WAVE INCORPORATED, 2007 All rights reserved. No part of this publication may be re
6.3. Shift Key Operation Mode The shift key operation mode works as follows: Shift key operation mode Description Non-lock mode - The keypad is shi
6.5. Assigning a User-Defined Key Code to the Magic Keys Apart from the previously mentioned functions, optional keys can be applied to the magic key
6.6. Key Input Modes The BHT-700 key pad has the following three key entry modes. (1) Numeric entry mode This mode allows you to type in numeric dat
(2) If keys [0] to [9] or the [.] key is pressed, the pressed key becomes an unestablished character and displays in the unestablished character disp
6.6.4. Alphabet Entry Mode 2 (27-key pad only) Alphabet entry mode 2 starts by: (1) calling the BHT_SetSysSettingDW (BHT_KEY_INPUT_METHOD, INPUT_ME
6.7. Function Mode Use either of the methods below to enable function mode. (1) Call up the BHT_SetSysSettingDW (BHT_KEY_FUNCTION,KEY_FUNCTION_ON) fu
6.10. Auto Repeat Function The keys used to perform auto repeat are listed in the following table. Whether auto repeat function for each key is enabl
Chapter 7. LCD Status Indication 7.1. Outline The status of the BHT is displayed on the LCD as specified below. Status Description Icon Battery
(Display sample of icons) Status indicator icons in the task bar 7.2. Setting the LCD Status Indication The BHT_SetSysSettingDW (DWORD dwCtrlCode
Chapter 8. Power Management 8.1. Outline The power management functions switch the system powering state. The following four system power states ex
Contents Chapter 1. Software Requirements for the BHT-700 ... 1
8.2. Standby 8.2.1. Switching to the Standby State The BHT switches from the power ON state to the standby state when any of the following conditions
8.3. Suspend 8.3.1. Setting the Standby Transition Timeout The BHT switches to the suspend state when any of the following conditions arises: (1) Whe
Chapter 9. Battery State 9.1. Outline The battery status can be ascertained using the following methods. (1) Battery status acquisition (2) Battery
Chapter 10. LED 10.1. Outline The BHT-700 has two LEDs. The display LED can be controlled from the application. LED Color ON/OFF control from ap
Chapter 11. Data Communication 11.1. Outline In wired communication between the BHT and host computer, the following interfaces are available: (1) I
11.4. ActiveSync 11.4.1. Establishing an ActiveSync Connection An ActiveSync connection can be established with either of the following procedures. (
Chapter 12. Wireless Communication 12.1. Outline 12.1.1. Spread Spectrum Communications Method Data communication is performed using TCP/IP protocol
12.2. Programming for Wireless Communication To connect to the wireless communications pathway, specify the following system settings in System Menu
12.2.1. Wireless Communication Parameters Settable Parameters The BHT can be used with the following security configurations by setting ZeroConfig.
▪ POWER Set the power mode for the wireless module built in the BHT. The following two power modes are available. The default is P_PWRSAVE_PSP. The s
9.1. Outline...
▪ EAP TYPE This is the EAP type setting. A selection can be made from Prohibited, PEAP, and TLS. ▪ KEY (WEP KEY, PRE SHARED KEY) The encryption key
12.2.2. Opening and Closing the Wireless Communications Device Use the BHT_RF_Open and BHT_RF_OpenEx functions to start up the wireless communicatio
12.2.3. Checking Synchronization with the Access Point When performing data communication with a wireless communication device, use the BHT_RF_Synchr
Chapter 13. Barcode Reading 13.1. Outline 13.1.1. Enable Reading BHT-700B The BHT_EnableBar function enables the barcode device to read barcodes. In
BHT-700Q The BHT_EnableBar function enables the barcode device to read barcodes. In this function, you may specify the following barcode types avail
13.1.2. Specify Options in the BHT_EnableBar Function You may also specify several options as listed below for each of the barcode types in the BHT_E
13.1.3. Barcode Buffer The barcode buffer stores the inputted barcode data. BHT-700B The barcode buffer will be occupied by one operator entry job an
13.2. Programming 13.2.1. Code Mark The BHT_GetBarType function allows you to check the code mark (denoting the code type) and the length of the inpu
13.2.5. Controlling the Indicator LED and Beeper/Vibrator as a Confirmation of Successful Reading By using the BHT_EnableBar function, you can contr
NOTE: In the Point Scan mode, scanning split codes in batch edit mode is disabled. (For details about the Point Scan mode, refer to the “BHT-700BB/700
17.4.1. Properties ... 144
Chapter 14. Updating OS The OS can be updated (version update) using the following method when running Windows CE. (1) Copy the OS image file to an
Chapter 15. System Functions System functions are used when setting or acquiring system values or when acquiring device information. Function Used
15.1. If a System Parameter Value is DWORD BHT_SetSysSettingDW Description Write system parameter values. Syntax DWORD BHT_SetSysSettingDW ( DWOR
BHT_GetSysSettingDW Description Read system parameter values. Syntax DWORD BHT_GetSysSettingDW ( DWORD dwCtrlCode , DWORD* pdwSysParam ) Parame
15.2. If a System Parameter Value is a Character String BHT_SetSysSettingWCS Description Write system parameter values. Syntax DWORD BHT_SetSysSett
BHT_GetSysSettingWCS Description Read system parameter values. Syntax DWORD BHT_GetSysSettingWCS ( DWORD dwCtrlCode , TCHAR* pwchSysParam , DWOR
15.3. System Parameter Values That Can be Set/Obtained Parameter name Type R/W Control code Parameter value Default Validating timing System info
Parameter name Type R/W Control code Parameter value Default Validating timing Backlight related Backlight ON-duration (sec.) (When battery- dri
Scanning range marker (*6) DW R/W BHT_BAR_MARKER MARKER_NORMAL : Normal mode MARKER_AHEAD : Maker ahead MARKER_DISABLE : Fixed to OFF MARKER _NORMAL
Parameter name Type R/W Control code Parameter value Default Validating timing Front-back inverted reading (*6) DW R/W BHT_BAR_REVERSE 0: Disabl
Chapter 1. Software Requirements for the BHT-700 1.1. Operating System (OS) on the BHT-700 The OS running on the BHT-700 is Microsoft Windows CE 5.
Parameter name Type R/W Control code Parameter value Default Validating timing Status indicator related Battery voltage level icon DW R/W BHT_I
Parameter name Type R/W Control code Parameter value Default Validating timingDisplay related Screen rotation DW R/W BHT_DISP _ROTATION DISP
15.4. Device Information Acquisition BHT_GetDeviceInfo Description Acquires the mounted device information. Syntax DWORD BHT_GetDeviceInfo( DWORD d
Chapter 16. Device Control Functions The device control functions listed below control the devices (barcode reading device, backlight, battery, indi
Function Used to: BHT_RF_Open Open the wireless LAN device and enable wireless communication. BHT_RF_OpenEx Set the communication format, open the w
16.1. Barcode API BHT_EnableBar Description Open the barcode device file to enable barcode reading. This function specifies the read mode and readab
Readmode The BHT supports four read modes--the momentary switching mode, the auto-off mode, the alternate switching mode, and the continuous readi
Beepercontrol and LEDcontrol This function can control the beeper and the indicator LED to activate or deactivate each of them when a barcode is r
□ Interleaved 2 of 5 (ITF) (I) Syntax I[:[mini.no.digits[-max.no.digits]][CD]] where mini.no.digits and max.no.digits are the minimum and maximum n
□ CODABAR (NW-7) (N) Syntax N[:[mini.no.digits[-max.no.digits]][startstop][CD]] Where mini.no.digits and max.no.digits are the minimum and maximum n
Chapter 2. Application Development Environment 2.1. Required Hardware (PC to be used for application development) Item Specification OS Microsof
□ CODE-39 (M) Syntax M[:[mini.no.digits[-max.no.digits]][CD]] Where mini.no.digits and max.no.digits are the minimum and maximum numbers of digits f
□ CODE-93 (L) Syntax L[:[mini.no.digits[-max.no.digits]]] Where mini.no.digits and max.no.digits are the minimum and maximum numbers of digits for b
□ CODE-128 (K) Syntax K[:[mini.no.digits[-max.no.digits]]] Where mini.no.digits and max.no.digits are the minimum and maximum numbers of digits for
Handling special characters If the BHT reads any barcode consisting of special characters only (such as FNC, CODEA, CODEB, CODEC and SHIFT character
□ Standard 2 of 5 (STF) (H) Syntax H[:[mini.no.digits[-max.no.digits]][CD][startstop]] Where mini.no.digits and max.no.digits are the minimum and ma
□ MSI (P) Syntax P[:[mini.no.digits[-max.no.digits]][CD]] Where mini.no.digits and max.no.digits are the minimum and maximum numbers of digits for b
BHT-700Q The readable barcodes include, among 2D codes, QR code, PDF417, MaxiCode, Data Matrix, and EAN·UCC composite, and, among barcodes, universal
In scannning a split code in edit mode, the maximum data length is 8,192 bytes. Data exceeding 8,192 bytes causes a read error to be recognized and t
□ MaxiCode(X) Syntax X □ MaxiCode(Z) Syntax Z [:[symbol type [min code no.[−max code no.]]] [;symbol type [min code no.[−max code no.]]]] For sym
□ Universal product code (A) Syntax A [:[code][1st character [2nd character]] [supplemental]] Specify one of the codes listed below. Code Barcode
Chapter 3. Output to the LCD Screen 3.1. Screen Fonts The BHT-700 has the following integrated screen fonts: (1) Arial (ttf) (2) Courier New (ttf)
□ Interleaved 2of5 (ITF) (I) Syntax I [:[min no. digits [−max no. digits]][CD][;[1st character [2nd character]]]] “min no. digits” and “max no. dig
□ Codabar (NW-7) (N) Syntax N [:[min no. digits [− max no. digits]][startstop] [CD]] “min no. digits” and “max no. digits” are the minimum and maxi
□ Code 39 (M) Syntax M [:[min no. digits [−max no. digits]][CD][;[1st character [2nd character]]]] “min no. digits” and “max no. digits” are the mi
□ CODE-93 (L) Syntax L [: [min.no.digits [-max.no.digits]][;1st digit [-2nd digit]]]] Where min.no.digits and max.no.digits are the minimum and maxi
□ Code 128 (K) Syntax K [:[min no. digits [−max no. digits]][;[1st character [2nd character]]]] “min no. digits” and “max no. digits” are the minim
Positions of special characters When a code consisting only of special characters (FNC, CODEA, CODEB, CODEC, and SHIFT characters) or a code containin
Multi-line code reading To specify Multi-line code reading, specify “&” followed by the codes to be read. Up to three rows can be specified.
(5) If the same code (with the same code type and the same data code) appears more than once in a multi-line code, the BHT cannot read it. [Ex] A co
BHT_DisableBar Description: Close the barcode device file to disable barcode reading. Syntax: DWORD BHT_DisableBar (void) Parameters None Return
BHT_ReadBar Description Read out data read from the barcode buffer. If the string length longer than that of the read barcode is specified to dwBarL
3.3. Setting the Screen Rotation Angle The settable rotation angles are 0°, 90°, 180°, and 270°. The direction is anti-clockwise. The screen rotatio
BHT_ReadBarEx Description Read out data from the barcode buffer and encodes it into the specified data format. If the length of the read data is sho
BHT_GetBarType Description BHT-700B Read the barcode type and the number of digits of a barcode read most recently. If no barcode has been read afte
BHT_ GetBarInfo Description BHT-700B Read the information on the code read most recently, including the code type and the number of digits in the co
BHT_GetBarNum Description Read the number of digits of the barcode remaining in the barcode buffer. If barcode reading is not enabled, an error (ERR
BHT_GetBarChkDgt Description Calculate a check digit (CD) of the barcode data according to the calculation method specified by dwCDType. Syntax DWO
Comment: If barcode data contains a character(s) out of the specification of the barcode type specified by dwCDType, then this function sets "0&
When dwCDType is A (EAN or UPC), this function identifies the EAN or UPC depending upon the data length (number of digits) as listed below. If the da
When dwCDType is I (ITF), the length of barcode data must be an even number of two or more digits. If not, this function gets "0" and retur
When dwCDType is H (STF), the length of barcode data must be two or more digits. If not, this function gets "0" and returns an error code.
When dwCDType is N (Codabar), the length of barcode data must be three digits or more including start and stop characters. If not, this function gets
Komentáře k této Příručce