background image

 

 

PT-20 Programming Guide 

 

Folder introduction: 

  Upgrade: 

For Fw upgrade, it has two sub folders, “

Ugrade BIN file

” and “

Upgrade BAT file

”. 

 

Ugrade BIN file: 

It has a bin file for fw upgrade. 

 

Upgrade BAT file: 

It has a exe file, “DFUSender_PA2.exe”, and has three bat files “All 

Upgrade-

COM1.bat”, “All Upgrade-COM2.bat”, and “All Upgrade-USB.bat”. 

If you want to upgrade fw, you have to set PA-20 / PA-2010 / PA-21 / PA-2110 

in force mode 

 

or upgrade in supervisor menu 

  and double click these bat file for download. 

You can download bin file by PT-FileManager in these status, too. 

Please refer to the 

Upgrade System

 section. 

 

  SDK: 

For 

SDK develop tools. It has six sub folders, “

Document

”, “

PC DLL

”, “

Sample 

Code(For Terminal)

”, “

Sample Code(For PC DLL)

”, “

Terminal

”, and “

Upgrade 

SDK Tool

”. 

 

Document: 

It has two PDF file, 

“PC DLL.pdf” and “Terminal.pdf”, these PDF files are 

introduct about how to use PC DLL and SDK functions. 

 

PC DLL: 

For PC DLL files. 

 

Sample Code(For Terminal): 

For terminal sample code. 

 

Sample Code(For PC DLL): 

For PC DLL sample code. 

 

Terminal: 

Summary of Contents for PA-20

Page 1: ...Portable Data Terminal PA 20 PA 2010 PA 21 PA 2110 Programming Guide Version 1 00 Copyright 2012 by ARGOX Information Co Ltd http www argox com ...

Page 2: ...ly or C code to create the program flow And developers can also link standard ANSI C function library to meet the demands through executing the functions of input output expression and storage using the functions provided by PA 20 PA 2010 PA 21 PA 2110 Later in this manual you ll learn how to write compile and link program and also how to download renewed codes and test functions via simulation Fi...

Page 3: ...to Build Your Program 9 1 Edit Program 9 2 Under RealView 9 3 Update your System 10 4 Development Notice 10 Upgrade System 11 1 System Requirement 11 2 Upgrade Procedure 11 3 Execute System 13 Utility Others 14 1 AID MAKER 14 2 Scanner FW Upgrade 14 3 Font 14 4 ScanSetting 14 SDK Library 15 SDK Functions list 15 Reader 23 Buzzer 28 Calender 30 Bluetooth For PA 2010 PA 2110 32 File Manipulation 37 ...

Page 4: ...ommunication Ports 89 Remote 94 System 97 Memory 100 Vibrate 102 Other 103 Simulator Only for PC Simulator 105 Data Conversion 106 APPENDIX 1 108 Scan Module CCD Configuration Table 108 APPENDIX 2 120 Scan Module Laser Configuration Table 120 ...

Page 5: ...n the CD provided with the PA 20 PA 2010 PA 21 PA 2110 it will show the structure as the following PA2 T01 00 000 Scanner FW Upgrade AID MAKER SDK Upgrade Utility Laser Document PC DLL CCD Sample Code For PC DLL Sample Code For Terminal Terminal Upgrade SDK Tool Upgrade BAT file Upgrade BIN file Font ScanSetting ...

Page 6: ... force mode or upgrade in supervisor menu and double click these bat file for download You can download bin file by PT FileManager in these status too Please refer to the Upgrade System section SDK For SDK develop tools It has six sub folders Document PC DLL Sample Code For Terminal Sample Code For PC DLL Terminal and Upgrade SDK Tool Document It has two PDF file PC DLL pdf and Terminal pdf these ...

Page 7: ...ter PA2X_SDK mcp is a RealView Developer Suite project file developer need to set PA2X_SDK mcp as RealViews project file App bin is the binary file compiler by RealView 2 2 You can download the binary file by PT FileManager Source folder is used to store application files and the PA 20 PA 2010 PA 21 PA 2110 function library used in the programs Library folder is used to store PA2X_Lib a Startup s ...

Page 8: ...ry please add the import command include SDK h into the user program file c and the function will be imported In this case the PA 20 PA 2010 PA 21 PA 2110 Function Library file PA2X_Lib a is needed The PA 20 PA 2010 PA 21 PA 2110 Function Library file PA2X_Lib a is updated occasionally For most update version please ask helps from your vendor or the manufacturer PA 20 PA 2010 PA 21 PA 2110 Functio...

Page 9: ...a iscntrl isdigit isgraph islower ispr ispunct isspace isupper isxdigit tolower toupper locale h setlocale localeconv math h acos asin atan atan2 cos sin tan cosh sinh tanh exp frexp ldexp log log10 modf pow sqrt ceil fabs __d_abs floor fmod setjmp h setjmp longjmp signal h signal raise stdio h sprintf sscanf stdlib h atof atoi long atol strtod long strtol strtoul rand srand _ANSI_rand _ANSI_srand...

Page 10: ...PT 20 Programming Guide 8 include stdlib h The statements listed above will make Compiler and Linker to import all the correlated functions to generate App bin file ...

Page 11: ...And also you can freely create a new source file to proceed structural development For regulations and procedures in the developing procedures please refer to the Development Notice 2 Under RealView RealView2 2 The Development Tool Kit is available from the manufacturer or the suppliers After installing the Development Tool Kit run the CodeWarrior for RVDS as figure In RealView CodeWarrior you can...

Page 12: ...s figure After thses steps you can upgrade your system 3 Update your System Please refer to the Upgrade System section 4 Development Notice void Application_Main void is the entry program of Application c instead of usual main c Maximum User Task Stack 40K bytes Maximum global area and Memory allocation Total About 22Mbytes Maximum capacity of the Binary file App bin About 4MBytes System storage D...

Page 13: ...rade folder 2 Upgrade Procedure In Force Mode When reset PA 20 PA 2010 PA 21 PA 2110 press combine key 1 3 PW reset any time or press combine key 1 3 PW in power off to into Force Mode Then connect the Cradle to the PC and wait for communication In Supervisor Menu When reset PA 20 PA 2010 PA 21 PA 2110 press combine key 1 3 0 PW reset any time or press combine key 1 3 0 PW in power off to into Sup...

Page 14: ...PT 20 Programming Guide 12 And input password 00000 Communication Upgrade Then connect the Cradle to the PC and wait for communication ...

Page 15: ...PT 20 Programming Guide 13 In PTFileManager Execute PTFileManager and select Tool F W Update Select the Binary file and complete the firmware update 3 Execute System Restart PA 20 PA 2010 PA 21 PA 2110 ...

Page 16: ...irsor menu select Barcode Scanner Fw Upgrade to upgrade reset your scanner firmware 3 Font This utility SDK Tool in Font folder can do somethings as follows When you need a BMP picture to display you can make a BMP text by our SDK Tool This text file is your BMP file image array you can copy this array in your code and compiler that When you need a font array in your source code you can make the f...

Page 17: ...yStatus Query the scanner CCD current setting SCAN_QueryStatus_Laser Query the scanner Laser current setting ScannerSetFromFile Set scanner setting by scanner setting file This file is made by utility ScanSetting Scanner_Version Query the scan module version Sim_ScanKey_Press To simulator the Scan key press or release Buzzer beeper_status To see whether a beeper sequence is under going or not off_...

Page 18: ...ile delete_topln Remove a null terminated character string from the top beginning of file position of a DAT file eof Check if file pointer of a DAT file reaches end of file filelength Get file length information of a DAT file filelist Get file directory information lseek Move file pointer of a DAT file to a new position open Open a DAT file and get the file handle of the file for further processin...

Page 19: ...pen to open a file for buffered input output operations _fread Use _fread to read a specified number of data items eachof a given size from the current position in a file opened for buffered input The current position is updated after the read _fseek Use _fseek to move to a new position in a file opened for buffered input output _fwrite Use _fwrite to write a specified number of data itmes each of...

Page 20: ... Disable alphabet key stroke processing en_alpha Enable alphabet key stroke processing get_alpha_enable_state Get the status of the alphabet key stroke processing set_alpha_mode_state Set the status of the alphabet mode get_alpha_mode_state Get the status of the alphabet mode set_keypad_BL Set keypad backlight on off get_keypad_BL Get keypad backlight on off status set_keypad_BL_Timer Set keypad b...

Page 21: ...or function _scanf_ctrl_KeypadLock Set keypad lock on off when use _scanf_color function LCD clr_eol Clear from where the cursor is to the end of the line The cursor position is not affected after the operation clr_rect Clear a rectangular area on the LCD display The cursor position is not affected after the operation clr_scr Clear LCD display fill_rect Fill a white rectangular area on the LCD dis...

Page 22: ... TextBlock current position SetTextBlockCur Set specific TextBlock as active TextBlock and set position ShowTextBlockCursor Show or hide TextBlock cursor TextBlock_SetBGColor Set default background color TextBlock_SetBGImage Set default background image for bmp file SwitchTextBlock Switch TextBlock Communication Ports clear_com Clear receive buffer close_com To close specified communication port c...

Page 23: ...tStatausBAR Get statusbar display status SN_Get To get the SN BIOS_SetDefault Set BIOS setting default Check_AID Check the agency ID correct or not Memory Tfree Use the Tfree to release an allocated storage block to the pool of free memory Tmalloc Use Tmalloc to allocate memory for an array of a given number of bytes not exceeding 200KB TotalHeapSize Checking the total heap size UsedHeapSize Check...

Page 24: ...etScannerType To setting scan module type Data Conversion __itoa Use __itoa to convert an integer value to a null terminated character string __ltoa Use __ltoa to convert a long integer value to a null terminated character string __ultoa Use __ultoa to convert an unsigned long integer value to a character string ...

Page 25: ...ode decoding is required If the barcode decoding is not required for a long period of time it is recommended that the scanner port should be stopped by use of the HaltScanner1 function If the Decode function decodes successfully the decoded data will be placed in the string variable CodeBuf with a string terminating character appended And the code length will be saved in CodeLen the code name type...

Page 26: ...r port the initialization function InitScanner1 must be called It is recommended that the scanner port should be stopped if the barcode decoding is not required for a long period of time Returns none TriggerStatus Purpose To check the scan key status Syntax int TriggerStatus void Example call if TriggerStatus _printf_color COLOR_RED Scan key pressed Includes include SDK h Description This function...

Page 27: ...n This function can ending scanner setting procedure Returns None Scan_SendCommand Purpose Send scanner CCD command to change scanner status Syntax BOOL SCAN_SendCommand int Command1 int Command2 char pValue Example call char ssValue 0 If SCAN_SendCommand 6 7 ssValue _printf_color COLOR_RED Setup complete Includes include SDK h Description This function can send command to set scanner status You c...

Page 28: ...se Query the scanner Laser current setting Syntax BOOL SCAN_QueryStatus_Laser int Command1 int Command2 char pReturn Example call char ssReturn 0 if SCAN_QueryStatus_Laser 6 7 ssReturn _printf_color COLOR_RED Query OK Includes include SDK h Description This function can query scanner setting You can see Appendix 2 to know about the command setting Returns 0 Query fail 1 Query OK ScannerSetFromFile...

Page 29: ...Description This function can query the scan module version Returns 0 Query module fail 1 Query module OK Sim_ScanKey_Press Purpose To simulator the Scan key press or release Syntax void Sim_ScanKey_Press BOOL bStatus Example call Sim_ScanKey_Press TRUE Set the scan key pressed Sim_ScanKey_Press FALSE Set the scan key released Includes include SDK h Description This function can simulator the scan...

Page 30: ...n a beeper sequence to instruct beeper action Syntax void on_beeper int sequence Example call int beep_twice 50 30 10 0 10 30 10 0 0 on_beeper beep_twice Includes include SDK h Description A beep frequency is an integer used to specify the frequency tone when the beeper activates The actual frequency that the beeper activates is not the value specified to the beep frequency It is calculated by the...

Page 31: ...he buzzer volume Syntax void SetBuzzerVol int slVol Example call SetBuzzerVol 0 Buzzer close Includes include SDK h Description The SetBuzzerVol function can set the buzzer volume slVol Buzzer vloume 0 close 1 Low 2 Medium 3 High Returns None ...

Page 32: ...m_time 16 get_time system_time Includes include SDK h Description The get_time function reads current date and time from the calendar chip and copies them to a character array specified in the argument cur_time The character array cur_time allocated must have a minimum of 15 bytes to accommodate the date time and the string terminator The format of the system date and time is listed below YYYYMMDD...

Page 33: ...llowing format YYYYMMDDhhmmss YYYY year 4 digits MM month 2 digits 1 12 DD day 2 digits 1 31 hh hour 2 digits 0 23 mm minute 2 digits 0 59 ss second 2 digits 0 59 Ps When it execute in simulator the time will not change Returns Normally the set_time function always returns an integer value of 1 If the calendar chip malfunctions the set_time function will then return 0 to 0 error Also if the format...

Page 34: ...nable BT_Stop Purpose Bluetooth module power disable Syntax int BT_Stop void Example call BT_Stop Includes include SDK h Description This function can disable Bluetooth module power Each Bluetooth function will return BT_NOSTART after use this function and the left led will stop flashing Returns BT_NOMODULE The terminal is notPA 2010 PA 2110 BT_NOSTART Bluetooth module power disable please run BT_...

Page 35: ...ludes include SDK h Description If Bluetooth is connected this function can read characters from Bluetooth module The parameter slReadSize can set how many characters you will read and the parameter pslGetSize will tell you how many characters you read Returns BT_NOMODULE The terminal is notPA 2010 PA 2110 BT_NOSTART Bluetooth module power disable please run BT_Start BT_DISCONNECT Bluetooth not co...

Page 36: ...calInfo stInfo Includes include SDK h Description This function will return thePA 2010 PA 2110 Bluetooth information in structure The structure describe as follows typedef struct __BT_INFO char assLocalAddress 16 PA 2010 PA 2110 Bluetooth MAC address Cannot change char assLocalName 20 PA 2010 PA 2110 Bluetooth device name BOOL bLocalSecurity PA 2010 PA 2110 Bluetooth security mode set TRUE on or F...

Page 37: ...s The structure describe as follows typedef struct __BT_INFO char assLocalAddress 16 PA 2010 PA 2110 Bluetooth MAC address Cannot change char assLocalName 20 PA 2010 PA 2110 Bluetooth device name BOOL bLocalSecurity PA 2010 PA 2110 Bluetooth security mode set TRUE on or FALSE off BOOL bLocalEncryption PA 2010 PA 2110 Bluetooth encryption mode set TRUE on or FALSE off int stInquiryTimeout PA 2010 P...

Page 38: ... the BT_Inquiry function that will return device name or not If bGetDevName is TRUE then BT_Inquiry will return device name in struct stBT_DevInfo Returns BT_NOMODULE The terminal is notPA 2010 PA 2110 BT_NOSTART Bluetooth module power disable please run BT_Start BT_CONNECT Bluetooth has connected please run BT_Close BT_TIMEOUT Search fail please search again BT_OK Search OK BT_DisConnectAlert Pur...

Page 39: ... fd char buffer int count Example call append fd ABCDE 5 Includes include SDK h Description The append function writes the number of bytes specified in the argument count from the character array buffer to the bottom of a DAT file whose file handle is fd Writing of data starts at the end of file position of the file and the file pointer position is unaffected by the operation The append function w...

Page 40: ... the global variable fErrorCode to indicate the error condition encountered Possible error codes and their interpretation are listed below fErrorCode 2 File specified by fd does not exist 8 File not opened 10 No more free file space for file extension 11 Can not find string treminator in buf chsize Purpose Extends or truncates a DAT file Syntax int chsize int fd long new_size Example call if chsiz...

Page 41: ... a DAT file Syntax int delete_top int fd int count Example call delete_top fd 100 Includes include SDK h Description The delete_top function removes the number of bytes specified in the argument count from a DAT file whose file handle is fd Removing of data starts at the beginning of file position of the file The file pointer position is adjusted accordingly by the operation For instance if initia...

Page 42: ... In case of error delete_topln returns an integer value of 1 and an error code is set to the global variable fErrorCode to indicate the error condition encountered Possible error codes and their interpretation are listed below fErrorCode 2 File specified by fd does not exist 8 File not opened 9 The value of count is negative 10 No more free file space for file extension eof Purpose Check if file p...

Page 43: ...Syntax int filelist char file_list Example call total_file filelist file_list Includes include SDK h Description The filelist function copies the file name file type and file size information separated by a blank character of all files in existence into a character array specified in the argument dir When char file_list NULL it will pass the length that the file string needs back For example if th...

Page 44: ...ered Possible error codes and their interpretation are listed below fErrorCode 2 File specified by fd does not exist 9 Illegal offset value 10 Illegal origin value 15 New position is beyond end of file open Purpose Open a DAT file and get the file handle of the file for further processing Syntax int open char filename Example call if fd open C data store dat 0 _puts store dat opened Includes inclu...

Page 45: ...turns The read function returns the number of bytes actually read from the file In case of error read returns an integer value of 1 and an error code is set to the global variable fErrorCode to indicate the error condition encountered Possible error codes and their interpretation are listed below fErrorCode 2 File handle is NULL 7 fd is not a file handle of a previously opened file read_error_code...

Page 46: ...adln function returns the number of bytes actually read from the file includes the null character if read In case of error readln returns an integer value of 1 and an error code is set to the global variable fErrorCode to indicate the error condition encountered Possible error codes and their interpretation are listed below fErrorCode 2 File handle is NULL 7 fd is not a file handle of a previously...

Page 47: ..._filename is a NULL string 2 File specified by old_filename does not exist 3 A file with file name new_filename already exists 4 File path is error 5 Filename is too long 6 File is using 7 Filename is error 8 Other error tell Purpose Get file pointer position of a DAT file Syntax long tell int fd Example call current_position tell fd Includes include SDK h Description The tell function returns the...

Page 48: ...to indicate the error condition encountered Possible error codes and their interpretation are listed below fErrorCode 2 File handle is NULL 7 fd is not a file handle of a previously opened file 10 No more free file space for file extension writeln Purpose Write a line terminated by a null character 0 to a DAT file The null character is also written to the file After writing in file position will u...

Page 49: ... include SDK h Description The DiskC_format function formats disk C Returns 0 Format false 1 Format OK fErrorCode None DiskD_format Purpose Format disk D Syntax int DiskD_format void Example call DiskD_format Includes include SDK h Description The DiskC_format function formats disk D Returns 0 Format false 1 Format OK fErrorCode None DiskC_totalsize Purpose Checking the total space in disk C Synta...

Page 50: ...sedsize Purpose Checking the used space in disk D Syntax unsigned int DiskD_usedsize void Example call DiskD_usedsize Includes include SDK h Description The DicskD_usedsize function returns the used space in disk D Returns 0xffffffff Disk D unformatted Others The used space in disk D Bytes fErrorCode None DicskC_freesize Purpose Checking the free space in disk C Syntax unsigned int DiskC_freesize ...

Page 51: ...ate path Syntax int getFileNum char pssPath Example call int File_Num File_Num getFileNum C Data Includes include SDK h Description The getFileNum function can get the file quantity in designate path Returns 1 path error 2 disk unformat upward 0 folder quantity fErrorCode None getDirList Purpose Get the folder information in designate path Syntax int getDirList char pssPath char pssBuffer Example ...

Page 52: ... the buffer will get file information like StoreIn dat dat 1128 StoreOut dat dat 564 Returns 1 path error 2 disk unformat upward 0 When pssBuffer NULL it will return buffer size When pssBuffer NULL it will return file quantity fErrorCode None _fclose Purpose Use _fclose to close a file opened earlier for buffered input output using _fopen Syntax int _fclose _TFILE file_pointer Example call _fclose...

Page 53: ...er This pointer should be the return value of earlier opened file by _fopen Returns The integer value returned by _filelength is the size of the file in number of bytes _fopen Purpose Use _fopen to open a file for buffered input output operations Syntax _TFILE _fopen const char filename const char access_mode Example call input_file _fopen c data order dat r Includes include SDK h Description The ...

Page 54: ...position of the file specified by the argument file_pointer After the read is complete the current position is updated You must allocate storage for a buffer to hold the number of bytes that you expect to read This buffer is a pointer to a void data type Returns The _fread function returns the number of items it successfully read _fseek Purpose Use _fseek to move to a new position in a file opened...

Page 55: ..._t count _TFILE file_pointer Example call numwrite _fwrite buffer sizeof char 80 outfile Includes include SDK h Description The _fwrite function writes count data items each of size bytes to the file specified by the argument file_pointer starting at the current position After the write operation is complete the current position is updated The data to be written is in the buffer whose address is p...

Page 56: ...sFielddlt 1 0 5 0 Example 2 Regular field length _DBMS fsearch _TFILE filepoint unsigned char field_size 5 6 5 4 5 6 filepoint _fopen c data data txt a Ini_Search filepoint fsearch field_size 0 26 5 0 Includes include DBMS h Description This function can initialize a work of searching file After inserting every argument you can use _ DBMS F _ Search to search files Several introduces the argument ...

Page 57: ...ord s length When record _ Type is 0 need to insert this value not including the symbol of line feed When record _ Type is 1 this field can insert any value int total_field_no This argument is the field s quantity of each record int total_record_no Total amount of records in the file If does not know the total amount you can insert 1 that will calculate automatically by the system Returns 0 Initia...

Page 58: ...is function to initial a DBMS search you have to take care for 1 This function cannot support Variable field length search 2 When initial we will make a index file in C disk so it has to take a few time 3 The index filename will be similar to origin file For example the lookup file name is AAA txt the index filename will be AAA idx So you have to check the duplicate filename to avoid error fo maki...

Page 59: ... It has no separate symbols among field and field When record _ Type is 1 search for variable length It needs a separate symbol among field and field int record_length This argument is each record s length When record _ Type is 0 need to insert this value not including the symbol of line feed When record _ Type is 1 this field can insert any value int total_field_no This argument is the field s qu...

Page 60: ...ption Several describe the argument as follows argument description _DBMS F_Search The file s searching structure that has been initialized char field String data wanted to match int search_fieldno Field wanted to search int recordno Begin to search from which data int flag FORWARD Search from forward to backward BACKWARD Search from backward to forward As success of searching the file index will ...

Page 61: ...is field into buffer int flag FORWARD Search from forward to backward BACKWARD Search from backward to forward As success of searching the file index will stay in successful record front When search defeat the file index will not be moved Returns When R _ Buffer NULL pass back 1 Search defeat Pass other value back That is the size of space for buffer When R _ Buffer NULL pass back 1 Search defeat ...

Page 62: ...ont When search defeat the file index will not be moved Returns When F _ Buffer NULL pass back 1 Search defeat Pass other value back That is the size of space for buffer When F _ Buffer NULL pass back 1 Search defeat Pass other value back That is the record position which confirm to contrast data SearchMultiField_GF Purpose Search the designated field The field s information include field string a...

Page 63: ... As success of searching the file index will stay in successful record front When search defeat the file index will not be moved Returns When F _ Buffer NULL pass back 1 Search defeat Pass other value back That is the size of space for buffer When F _ Buffer NULL pass back 1 Search defeat Pass other value back That is the record position which confirm to contrast data SeekRecord Purpose Move the s...

Page 64: ...Delete defeat 1 Delete success DeleteLastRecord Purpose Use this function can delete the last record in the file Syntax int DeleteLastRecord _DBMS F_Search Example call DeleteLastRecord fsearch Includes include DBMS h Description DeleteLastRecord can delete the last record in the file and change the size of the file As success of deleting file index will stay in deleting record front As deleting d...

Page 65: ...ord _DBMS F_Search int recordno char record Example call char str_record 20 A123456 PA 20 2330 WriteRecord fsearch 0 str_record Revise the first record to char str_record Includes include DBMS h Description Use WriteRecord function can copy the existed record but unable to increase a new record As revising success file index will be moved to revise the front of revising record If the file in disc ...

Page 66: ...nt ReadRecord _DBMS F_Search int recordno char buffer Example call char str_buffer 30 ReadRecord fsearch 5 str_buffer Reading the data of sixth record and store to str_buffer Includes include DBMS h Description int recordno Read of record position char buffer Read the storing space of field Returns When char buffer NULL functions will pass materials size back Read defeat Pass back 1 When char buff...

Page 67: ...ncludes include SDK h Description led description LED_GREEN LED moving display green light LED_RED LED moving display red light LED_ORANGE LED moving display orange light mode description LED_OFF off for duration X 0 01 seconds then on LED_ON on for duration X 0 01 seconds then off LED_FLASH flash on then off each for duration X 0 01 seconds then repeat Returns none ...

Page 68: ...ing this function it will become off after calling this function Returns none en_alpha Purpose Enable alphabet key stroke processing Syntax void en_alpha void Example call en_alpha Includes include SDK h Description The en_alpha function enables the alphabet key stroke processing Returns none get_alpha_enable_state Purpose Get the status of the alphabet key stroke processing Syntax void get_alpha_...

Page 69: ...ight on off Syntax void set_keypad_BL BOOL bStatus Example call set_keypad_BL TRUE Key backlight on Includes include SDK h Description This function can set keypad backlight on or off Returns None get_keypad_BL Purpose Get keypad backlight on off status Syntax BOOL get_keypad_BL void Example call if get_keypad_BL _printf_color COLOR_BLACK Key Backlight on Includes include SDK h Description This fu...

Page 70: ...ot empty _getchar Purpose Get one key stroke from the keyboard buffer Syntax char _getchar void Example call c _getchar if c 0 _printf Key d pressed c else printf No key pressed Includes include SDK h Description The getchar function reads one key stroke from the keyboard buffer and then removes the key stroke from the keyboard buffer It will pass the value back and clear the buffer If there is no...

Page 71: ...one Def_PKey Purpose Change progrom key 1 2 P1 P2 key define Syntax void Def_PKey int nPKey char ssDef Example call Def_PKey KEY_P1 KEY_CR Change P1 key to ENT key Includes include SDK h Description This function can change the program key P1 P2 to other key define For example change P1 key to ENT key or ESC key Returns none FNKey_Reset Purpose To reset all of FN Key setting Syntax void FNKey_Rese...

Page 72: ...etFNKey void if FNKey_SetUserDef 0 Sample01FN _printf Set F1 UserDefine OK if FNKey_SetUserDef 0 NULL _printf Set F1 Default OK Includes include SDK h Description The function is used to set the FN Key After set successed the FN Key is changed for custom setting function You can set F1 6 if you want to set default please set pslFunction NULL smKeyNum 0 F1 1 F2 2 F3 3 F4 4 F5 5 F6 Returns 1 Set suc...

Page 73: ... to their internal representations using formatting commands embedded in the argument format which must be present in a call to _scanf_color The interpretation of the variables depends on the forma The formatting command for each variable begins with a sign and can contain other characters as well A whitespace character a blank space a tab or a new line may cause _scanf_color to ignore whitespace ...

Page 74: ...of the variables depends on the forma The formatting command for each variable begins with a sign and can contain other characters as well A whitespace character a blank space a tab or a new line may cause _scanf_color_DefaultStr to ignore whitespace characters from keyboard Other nonwhitespace characters excluding the sign cause _scanf_color_DefaultStr to ignore each matching character from the i...

Page 75: ...us TRUE when left _scanf_color function scanner will sleep and when you use _scanf_color function next time the scanner will not reinitial That can make the _scanf_color function speed up TRUE Scanner sleep FALSE Scanner not sleep Returns none _scanf_ctrl_Vibrate Purpose Set vibrate on off when use _scanf_color function and scanner status on Syntax void _scanf_ctrl_Vibrate BOOL bEnable Example cal...

Page 76: ...key Returns none _scanf_ctrl_AlphaKey_Mode Purpose Set alpha mode when use _scanf_color function Syntax void _scanf_ctrl_AlphaKey_Mode int slAlphaMode Example call _scanf_ctrl_AlphaKey_Mode ALPHA_123 Set keypad input for number Includes include SDK h Description When use _scanf_color function this function can set alpha mode when key input ALPHA_123 For input number ALPHA_abc For input lower chara...

Page 77: ...pose Set keypad lock on off when use _scanf_color function Syntax void _scanf_ctrl_KeypadLock BOOL bLock Example call _scanf_ctrl_KeypadLock FALSE Includes include SDK h Description When use _scanf_color function this function can set keypad input lock on off except ENT key ESC key and Scan key TRUE Keypad lock FALSE Keypad unlock Returns none ...

Page 78: ...gular area on the LCD display The cursor position is not affected after the operation Syntax void clr_rect int left int top int width int height Example call clr_rect 10 5 30 10 Includes include SDK h Description The clr_rect function clears an rectangular area on the LCD display whose top left position and size are specified by left top width and height The cursor position is not affected after t...

Page 79: ...l a user define color rectangular area on the LCD display Syntax void fill_rect_color int left int top int width int height int color Example call fill_rect_color 10 5 30 10 COLOR_RED Includes include SDK h Description The fill_rect_ color function fills a rectangular area for user define on the LCD display whose top left position and size are specified by left top width and height The cursor posi...

Page 80: ...a block as Returns None gotoxy Purpose Move cursor to new position Syntax int gotoxy int x_position int y_position Example call gotoxy 3 2 Move to second line of the third row Includes include SDK h Description The gotoxy function moves the cursor to a new position whose coordinate is specified in the argument x_position and y_position Returns Normally the gotoxy function will return an integer va...

Page 81: ...mple call lcd_backlit_ Setlv 1 Set LCD backlight level 1 Includes include SDK h Description The lcd_backlit_Setlv sets LCD backlight level When any key is pressed the backlight will turn on and the light will be the level that you set The back light level has 5 levels to set Returns None lcd_backlit_SetTimer Purpose Set LCD backlight timer Syntax void lcd_backlit_SetTmer int timer Example call lcd...

Page 82: ...ents and prints them out to display screen The value of each argument is formatted according to the codes embedded in the format specification format_string If the format_string does not contain a character except for the pair which appears as a single in the output no argument is expected and the format_string is written out to display screen For the complete format specification accepted by the ...

Page 83: ... character is encountered Returns The puts function returns the number characters sent to the LCD display _puts_color Purpose Display a string in color black on the LCD display Syntax char _puts_color int colorindex char string Example call _puts_ color COLOR_RED Hello World Includes include SDK h Description The puts function sends a character string in user define color whose address is specifie...

Page 84: ...cted after the operation left Display form the start point of X axis top Display form the start point of Y axis width Display the width form the start point height Display the high form the start point pat The buffer that you want to display data of image Returns none Notice If you want to show a two bits file of BMP you can change the format by using SDKUtility and write into the buffer After tha...

Page 85: ...fail DispFont_GetFontInfo Purpose Get font type width and height Syntax BOOL DispFont_GetFontInfo S32 slSelFont S32 slType S32 slWidth S32 slHeight Example call DispFont_GetFontInfo 2 Type Width slHeight Includes include SDK h Description This function copies the slSelFont 0 9 info of font type width and height to the variables whose address is specified in the arguments slType slWidth and slHeigh...

Page 86: ...unction can set the TextBlock mode for single or multi layer Single layer is the same as PT 20 only backup TextBlock in only one layer Multi layer can backup each TextBlock in it s buffers When you change the mode setting all the TextBlock will be reset Returns None Notice slMode 0 set mode for single layer slMode 1 set mode for multi layer GetTextBlockMode Purpose Get TextBlock mode Syntax int Ge...

Page 87: ... 9 The function define a TextBlock start at point slXPos slYPos width equal to slColumn FontSize width and height equal to slRow FontSize height The TextBlock also has background color or bmp and the specific font SetTextBlock Purpose Enable the specific TextBlock Syntax BOOL SetTextBlock S32 slBlockNo BOOL bSF Example call SetTextBlock 1 TRUE Includes include SDK h Description This function will ...

Page 88: ...nternal program If you set single layer mode and your TextBlock is overlapping your backup screen will be covered by the last TextBlock If you want to save screen when Set TextBlock SetTextBlock please set the save flag save screen TRUE When set Multi layer mode you have multi layer buffer to backup screen System supports all TextBlock screen buffer Each TextBlock screen will be saved PrintTextBlo...

Page 89: ...ecome to slBlockNo The position of slBlockNo sets to slColumn slRow slBlockNo TextBlock number 0 15 slColumn Column slRow Row Returns None ShowTextBlockCursor Purpose Show or hide TextBlock cursor Syntax void ShowTextBlockCursor S32 slBlockNo BOOL bShow S32 slType Example call ShowTextBlockCursor 1 TRUE 3 Includes include SDK h Description This function defines cursor type Only the active TextBloc...

Page 90: ...ion can help you to set background image If you want change the background image you have to save a bmp file to disk first The bmp file need for 240 320 pixel After use this function all TextBlock will be reset SwitchTextBlock Purpose Switch TextBlock Syntax BOOL SwitchTextBlock S32 slBlockNo Example call SwitchTextBlock 1 Includes include SDK h Description This function can help you to switch the...

Page 91: ...include SDK h Description The close_com disables the communication port specified Use the argument port as the connect port which is chosen to open You can choose 1 RS232 Returns None com_cts Purpose Get CTS level Syntax int close_com int port Example call if com_cts 1 0 _printf COM 1 CTS is space else _printf COM 1 CTS is mark Includes include SDK h Description This routine is used to check curre...

Page 92: ...s 1 1 Includes include SDK h Description This routine is used to control the RTS signal It works even when the CTS flow control is selected However RTS might be changed by the background routine according to receiving buffer status It is strongly recommended not to use this routine if CTS control is utilized Use the argument port as the connect port which is chosen to open Now we only can choose 1...

Page 93: ...tion initializes the specified RS 232 port It clears the receive buffer stops any data transmission under going reset the status of the port and set the RS 232 specification according to parameters set Use the argument port as the connect port which is chosen to open You can choose 1 RS232 Each bit of the argument setting D0 D2 baud rate 0 115200 1 2 57600 3 38400 4 19200 5 9600 6 7 4800 D3 data b...

Page 94: ...ission is still in process it is terminated then the current transmission resumes The character string is transmitted one by one until a NULL character is met A null string can be used to terminate prior transmission Use the argument port as the connect port which is chosen to open You can choose 1 RS232 If you select RS 232 and set hardware flow control CTS RTS this function will wait while data ...

Page 95: ...sBuf Includes include SDK h Description The function can write specific number of bytes from USB port Returns The USBRead function returns the number characters from the PC site USB_Write Purpose Write specific number of bytes to USB port Syntax void USBWrite unsigned char wbuf unsigned int wLength Example call USBWrite 0123456789 10 Includes include SDK h Description The function can write specif...

Page 96: ...bps 0 115200 1 57600 2 38400 3 19200 4 9600 5 4800 Returns None GetRemoteBaud Purpose Getting the RemoteLink baud rate Syntax int GetRemoteBaud void Example call Switch GetRemoteBaud Case 0 _printf_color COLOR_RED RemoteLink baud rate 115200 Break Case 1 _printf_color COLOR_RED RemoteLink baud rate 57600 Break Case 2 _printf_color COLOR_RED RemoteLink baud rate 38400 Break Case 3 _printf_color COL...

Page 97: ...e Example call SetRemoteInterface int slInterface Includes include SDK h Description This function can set RemoteLink connect interface the interface setting as follows slInterface Interface 0 RS 232 1 USB Returns None GetRemoteInterface Purpose Getting the RemoteLink interface Syntax int GetRemoteInterface void Example call Switch GetRemoteInterface Case 0 _printf_color COLOR_RED RemoteLink Inter...

Page 98: ...PT FilaManager and make file uploading or downloading Returns Use RemoteLink to call the transmission function for user to upload or download files RemoteLink_RealTime Purpose Use RemoteLink_RealTime can transfer file in any state Syntax void RemoteLink_RealTime BOOL bStatus Example call RemoteLink_RealTime TRUE Includes include SDK h Description This function can set real time RemoteLink enable d...

Page 99: ...m its unit is millisecond Returns None SetPowerOnState Purpose Set power on for resume or restart Syntax void SetPowerOnState int slState Example call SetPowerOnState 0 Power on for resume Includes include SDK h Description This function can set power on status for resume or restart slState for 0 Set power on resume slState for 1 Set power on restart Returns None GetPowerOnState Purpose Get power ...

Page 100: ...lay Syntax void SetStatusBAR int slStatus Example call SetStatusBAR TRUE Statusbar on Includes include SDK h Description This function can set statusbar display or on display If use this function all of the TextBlock setting will be reset Returns None GetStatausBAR Purpose Get statusbar display status Syntax int GetStatusBAR void Example call if GetStatusBAR _printf_color COLOR_BLACK Statusbar on ...

Page 101: ... to default setting It takes several seconds Returns None Check_AID Purpose Check the agency ID correct or not Syntax BOOL Check_AID char pssUser char pssPassword Example call if Check_AID USER01 AAAAAAAA _printf_color COLOR_BLACK AID Correct Includes include SDK h Description This function can check the agency ID correct or not You can write the agency ID by AID Maker The pssUser and pssPassword ...

Page 102: ... function allocates the number of bytes requested in the argument num_bytes by calling internal Turbo C heap management routines The Tmalloc function will work properly for all memory models Returns The Tmalloc function returns a pointer that is the starting address of the memory allocated The allocated memory is properly aligned the address of the first byte meets the requirements for storing any...

Page 103: ...cription The UsedHeapSize function can get the used heap size Returns The used heap size in units of Kbytes FreeHeapSize Purpose Checking the free heap size Syntax int FreeHeapSize void Example call freesize FreeHeapSize Includes include SDK h Description The UsedHeapSize function can get the used heap size Returns The total heap size in units of Kbytes ...

Page 104: ...r function can daisable vibrator Returns None set_vibrator_timer Purpose Use set_vibrator_timer to set vibrator on timer Syntax void set_vibrator_timer unsigned char usTimer Example call set_vibrator_timer 10 Set vibrator on timer for 1 sec Includes include SDK h Description Use set_vibrator_timer function can set vibrator on timer For example set 10 for on 1 sec Returns None get_vibrator_timer Pu...

Page 105: ...OLOR Menu_01 0 1 1 Test Menu 01 FuncMenu_01 0 MENU_ENTRY_COLOR Menu_02 0 2 2 Test Menu 02 FuncMenu_02 0 MENU_ENTRY_COLOR Menu_03 0 3 3 Test Menu 03 FuncMenu_03 0 void prc_menu_Test void MENU_COLOR Menu_Test 3 1 0 Menu Test COLOR_BROWN COLOR_BLACK COLOR_LIGHTBLUE Menu_01 Menu_02 Menu_03 prc_menu_color Menu_Test Includes include SDK h Description The prc_menu_color function is used to create a user ...

Page 106: ...PT 20 Programming Guide 104 call the prc_menu function to build a hierarchy menu driven user interface Returns None ...

Page 107: ...urpose Use BackupDataFiletoPCA to copy data file to any disc in PC Syntax void BackupDataFiletoPC char pTerminalFile char pPCFileName Example call BackupDataFiletoPC c data test1 dat f sample test1 dat Includes include SDK h Description The BackupDataFiletoPC function copies the simulator datafile path specified by pTerminalFile to the pFileName in PC and you need to store with the same file name ...

Page 108: ...16 as radix you can convert value into its binary octal decimal or hexadecimal representation respectively When radix is 10 and the value is negative the converted string will start with a minus sign Returns The __itoa function returns the pointer to the string of degits i e it returns the argument string __ltoa Purpose Use __ltoa to convert a long integer value to a null terminated character stri...

Page 109: ... value into a null terminated character string using the argument radix as the base of the number system A long integer has 32 bits when expressed in radix 2 so the string can occupy a maximum of 33 bytes with the terminating null character The resulting string is returned by __ultoa in the buffer whose address is given in the argument string The argument radix specifies the base between 2 and 36 ...

Page 110: ... Before code data 1 After code data 8 Code ID transmission 0 Disable 1 Proprietary ID 2 AIM ID 9 Code length transmission 0 Disable 1 Enable 10 Code name transmission 0 Disable 1 Enable 11 Case conversion 0 Disable 1 Upper case 2 Lower case 7 Scan 4 Double confirm 0 9 0 6 Global min code length 0 63 4 7 Global max code length 0 63 63 8 Inverted image scan 0 Disable 1 Enable 8 String setting 2 Suff...

Page 111: ... digit 2 Two digits 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting O 0x00 0xff ASCII code 1 or 2 bytes 11 Code 39 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Trun...

Page 112: ... 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 13 Code 128 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leadin...

Page 113: ...le 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Start stop type 0 ABCD ABCD 1 abcd abcd 2 ABCD TN E 3 abcd tn e 11 Start stop transmission 0 Disable 1 Enable 15 EAN 8 1 Read 0 Disable 1 Enable 3 Check ...

Page 114: ...ll 11 Truncation expansion 0 None 1 Truncate leading zero 2 Expand to EAN 13 12 Expansion 0 Disable 1 Enable 16 EAN 13 1 Read 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting F 0x00 0xff ASCII code 1 or 2 bytes 10 Supplement digits 0 None 1 2 digits 2 5 digits 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 1...

Page 115: ...de 1 or 2 bytes 18 Interleaved 2 of 5 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting i 0x00 0xff ASCII code 1 or 2 bytes 19 Standard 2 of 5 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Ch...

Page 116: ...heck sum verification 0 Disable 1 Mod 10 2 Mod 10 10 3 Mod 11 10 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 21 UK Plessey 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code...

Page 117: ...1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 0 5 Min code length 0 64 0 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting S 0x00 0xff ASCII code 1 or 2 bytes 10 Format 0 Numeric 1 Full ASCII 23 UPCA 1 Read 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting A 0x00 0xff ...

Page 118: ...0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting E 0x00 0xff ASCII code 1 or 2 bytes 10 Supplement digits 0 None 1 2 digits 2 5 digits 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 128 7 All 11 Truncate expansion 0 None 1 Truncate leading zero 2 Expand to EAN 13 3 Expand to UPCA 12 Expansion 0 Disable 1 Ena...

Page 119: ...ing 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting B 0x00 0xff ASCII code 1 or 2 bytes 28 China post 1 Read 0 Disable 1 Enable 4 Max code length 0 64 11 5 Min code length 0 64 11 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting t 0x00 0xff ASCII code 1 or 2 bytes 29 RSS 14 1 Read 0 Disable 1 Enable 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting R4 0x00 ...

Page 120: ...bytes 11 UCC EAN 128 emulation 0 Disable 1 Enable 31 RSS Expanded 1 Read 0 Disable 1 Enable 4 Max code length 0 99 99 5 Min code length 0 99 1 6 Truncate leading 0 15 0 7 Truncate ending 0 15 0 8 Code ID setting RX 0x00 0xff ASCII code 1 or 2 bytes 11 UCC EAN 128 emulation 0 Disable 1 Enable 32 Italian Pharmacode 39 1 Read 0 Disable 1 Enable 4 Max code length 0 64 12 5 Min code length 0 64 9 6 Tru...

Page 121: ...PT 20 Programming Guide 119 7 Truncate ending 0 15 0 8 Code ID setting p 0x00 0xff ASCII code 1 or 2 bytes 10 Leading A 0 Disable 1 Enable ...

Page 122: ...ta 8 Code ID transmission 0 Disable 1 Enable 9 Code length transmission 0 Disable 1 Enable 10 Code name transmission 0 Disable 1 Enable 12 AIM ID 0 Disable 1 Enable 7 Scan 6 Global min code length 0 80 0 Disable 3 9 Global lock code length 0 80 0 Disable 0 10 Configurable code length 1 See Note1 4 characters 11 Configurable code length 2 See Note1 4 characters 12 Configurable code length 3 See Not...

Page 123: ...g setting 3 Preamble characters settings 0x00 0xff ASCII code 1 10 characters 00 4 Postamble characters settings 0x00 0xff ASCII code 1 10 characters 00 10 Code 11 1 Read 0 Disable 1 Enable 2 Check Digit 1 One digit 2 Two digits 3 Transmit Check Digit 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 11 Code 39 1 Read 0 Disable 1 Enable 2 Check Digit 0 Disable 1 Enable 3 ...

Page 124: ...le 12 Code 93 1 Read 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 13 Code 128 1 Read 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 10 UCC EAN 128 0 Disable 1 Enable 14 ISBT 128 0 Disable 1 Enable 15 ISBT 128 Transmit Identifier Data 0 Disable 1 Enable 16 ISBT 128 Pre Defined Concatenation 0 Disable 1 Enable 17 ISBT 128 Form 0 A 1 A 2 A 3...

Page 125: ... Field 0 Disable 1 Enable 15 EAN 8 1 Read 0 Disable 1 Enable 3 Transmit Check Digit 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 13 Convert to EAN 13 0 Disable 1 Enable 16 EAN 13 1 Read 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 12 ISBN conversion 0 Disable 1 Enable 13 ISBN Supplement Requir...

Page 126: ... Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 20 MSI Plessey 1 Read 0 Disable 1 Enable 2 Check Digit 0 Disable 1 Mod 10 2 Mod 10 10 3 Transmit Check Digit 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 21 UK Plessey 1 Read 0 Disable 1 Enable 3 Transmit Check Digit 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 2...

Page 127: ...Disable 1 Enable See Note 3 14 Coupon Transmit C1 0 Disable 1 Enable 15 Transmit Number System 0 Disable 1 Enable 24 UPCE 1 Read 0 Disable 1 Enable 3 Transmit Check Digit 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 14 Convert to UPC A 0 Disable 1 Enable 15 Transmit Number System 0 Disable 1 Enable 25 Matrix 25 1 Read 0 Disable 1 Enable 2 Check Digit 0 Disable 1 Enab...

Page 128: ...git Redundancy 0 Disable 1 Enable 6 GTIN Formatting 0 Disable 1 Enable 36 IATA 2 of 5 1 Read 0 Disable 1 Enable See Note 4 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 37 TRI OPTIC 1 Read 0 Disable 1 Enable 8 Code ID setting 0 Disable 0x20 0xff ASCII code 1 bytes 10 Conversion 0 Disable 1 Enable 38 RSS 1 Read 0 Disable 1 Enable 2 Transmit Application ID 0 Disable 1 Enable 3 Transmit Ch...

Page 129: ...E11 64 CODE39 65 CODE93 66 CODE128 67 CODABAR 68 INDUSTRIAL_25 6B INTERLEAVED_25 6C MSI_PLESSEY 6E UK_PLESSEY 6F TELEPEN 70 MATRIX_25 73 TRIOPTIC 7E Length 0 80 0 Disable Default setting 0000 Example Cmd1 Cmd2 Value 7 10 670C 7 11 6514 7 12 6710 Code 128 Can only read 12 or 16 the length of the barcode Code39 Can only read 20 the length of the barcode ...

Page 130: ...during which the laser remains on without decoding any barcode IdleTimeout The maximum time in seconds during which the scanner remains idle without any action Note3 When this setting is enable the UCC EAN 128 barcode can not be read Note4 IATA 2 of 5 only support 13 15 Digit ...

Reviews: