background image

 

Version:1.03 

Copyright © 2009 by  POSLINE, S.A. DE C.V.

http://www.posline.mx

 

 TPC7030

  Programming Manual 

Summary of Contents for TPC7030

Page 1: ...Version 1 03 Copyright 2009 by POSLINE S A DE C V http www posline mx TPC7030 Programming Manual...

Page 2: ...location for future use TPC7030 interpreter provides a platform for users to develop application programs to be excuted series data terminals using BASIC language Users can develop an application to m...

Page 3: ...Expression and Operators 10 2 3 1 Assignment Operator 11 2 3 2 Arithmetic Operator 11 2 3 3 Relational Operator 11 2 3 4 Logical Operator 11 2 4 Operator Precedence 12 2 5 Labels 12 2 6 Subroutines 1...

Page 4: ...PC simulator commands 102 4 Appendices 103 Appendix A 103 TPC7030 Commands list 103 A1 General commands 103 A2 Commands for decision structures 103 A3 Commands for looping structures 104 A4 Commands...

Page 5: ...USB commands 113 A21 Simulator Only for PC simulator commands 113 Appendix B 114 Scan Module Configuration Table 114 Appendix C 130 Parameter for Color 130 T P C 7 0 3 0 Programming Manual Ver 1 00 4...

Page 6: ...1 How to run BASIC program 1 1 Download BASIC Interpreter PDT sid PC side T P C 7 0 3 0 Programming Manual Ver 1 00 5 131...

Page 7: ...Through the above steps BASIC Interpreter can be downloaded into PDT T P C 7 0 3 0 Programming Manual Ver 1 00 6 131...

Page 8: ...rogram file Default bas in the direct path D Program then you can run the BASIC program now If the BASIC program file Default bas is not in the direct path D Program then the following message will pr...

Page 9: ...1 2 3 Information You can use this item to get version information of all software and firmware parts of the system T P C 7 0 3 0 Programming Manual Ver 1 00 8 131...

Page 10: ...nnot contain commas There are two types of numeric constants that can be used in the TPC7030 interpreter Integer constants 2147483648 2147483647 Real number constants Positive or negative real number...

Page 11: ...e same variable name Each element in an array is referenced by an array variable that is subscripted with an integer or an integer expression Each element in an array is referenced by an array variabl...

Page 12: ...Relational operators are used to compare two values Result of the comparison is either True or False Operator Operation Example Equality A B Inequality A B Greater than A B Less than A B Greater than...

Page 13: ...ghest Arithmetic Arithmetic MOD Arithmetic Relational Logical NOT AND OR XOR Lowest Assignment 2 5 Labels Line labels are used to represent some special lines in the BASIC program They can be either i...

Page 14: ...being called by a GOSUB command For example ON COM 1 GOSUB ReadCOM ReadCOM RETURN The command RETURN marks the end of the subroutine and tells the processor to return to the caller A subroutine has to...

Page 15: ...em will go to BASIC Menu PRINT Press key to exit WHILE INKEY WEND END 2 8 Special notes Commands have to be appeared in uppercase letters PRINT OK right print NG error Variable names are case sensitiv...

Page 16: ...d to the absolute value of a numeric expression N or N is a numeric expression it can be an integer or a real number DIM Purpose To specify the maximum value of variable subscripts and to allocate sto...

Page 17: ...l is the line label of a subroutine SubNumber is the line number of a subroutine GOTO Purpose To branch unconditionally to a specified line number or line lable from the normal program sequence Syntax...

Page 18: ...program Syntax REM remark or remark Example REM This is function This is BASIC program Description remark may be any sequence of characters BASIC interpreter will ignore whatever follows the REM or un...

Page 19: ...tax A SGN N or A SGN N Example A SGN 9 86 PRINT A B SGN 5 68 PRINT B B SGN 0 PRINT B Description N or N is a numeric expression it can be an integer or a real number A is an integer variable to be ass...

Page 20: ...EN statements1 ELSE IF condition2 THEN statements2 ELSE elsestatements END IF Example PRINT Input a number Result INPUT K IF K 10 THEN PRINT One digit ELSE IF K 100 THEN PRINT Two digits ELSE PRINT Ov...

Page 21: ...URN WED PRINT WEDNESDAY RETURN THR PRINT THURSDAY RETURN FRI PRINT FRIDAY RETURN SAT PRINT SATURDAY RETURN SUN PRINT SUNDAY RETURN Description N is a numeric expression that is rounded to an integer T...

Page 22: ...INT THURSDAY END 5 PRINT FRIDAY END 6 PRINT SATURDAY END 7 PRINT SUNDAY END Description N is a numeric expression which is rounded to an integer The value of N determines which line lable in the list...

Page 23: ...P step Statement Block NEXT Example FOR N 1 TO 6 STEP 1 PRINT FOR NEXT N NEXT Description N is an integer variable to be used as loop counter Startvalue is a mumeric expression which is the initial va...

Page 24: ...HEN EXIT END IF WEND Description If the condition is true loop statements are executed until the WEND statement is encountered Then the program execution returns to WHILE statement and checks the cond...

Page 25: ...GEFGHIJK G GH PRINT INSTR 5 Str G PRINT INSTR 3 Str CGE Description A is an integer variable to be assigned to the result N is a numeric expression Optional offset N sets the position for starting the...

Page 26: ...he null string is returned MID Purpose To retrieve a given number of characters from anywhere of the target string Syntax A MID Str N M Example Str ABCDEFGHIJK PRINT MID Str 5 3 PRINT MID 123 168IbB 6...

Page 27: ...RIM_LEFT Happy TEST END Description A is a string variable to be assigned to the result Str is a string variable that may contain some space character at the beginning TRIM_RIGHT Purpose To return a c...

Page 28: ...a numeric expression OCT Purpose To return a string that represents the octal value base 8 of the decimal argument Syntax A OCT N Example A OCT 136 A 210 Description A is a string variable to be assi...

Page 29: ...d to the result N is a numeric expression VAL Purpose To return the numeric value of a string expression in interger form Syntax A VAL Str Example PRINT VAL 16898 Description A is an integer variable...

Page 30: ...X Example PRINT STRING 10 45 PRINT STRING 3 89 888 Description A is a string variable to be assigned to the result N is numeric expression J is numeric expression in the range of 0 to 255 indicating t...

Page 31: ...event trigger Syntax OFF ESC Example ON ESC GOSUB ESC_PRESS ESC_PRESS OFF ESC ON ESC GOSUB ESC_PRESS RETURN Description To resume the event trigger call ON ESC GOSUB OFF COM Purpose To terminate COM...

Page 32: ...OFF KEY Purpose To terminate KEY event trigger Syntax OFF KEY number Example ON KEY 1 GOSUB F1 ON KEY 2 GOSUB F2 F1 OFF KEY 1 ON KEY 1 GOSUB F1 RETURN F2 OFF KEY 2 ON KEY 2 GOSUB F2 RETURN Description...

Page 33: ...EADER event trigger Syntax OFF READER N Example ON READER 1 GOSUB GetData GetData OFF READER 1 CLS A GET_READER_DATA 1 4 PRINT DATA A LOCATE 0 2 A GET_READER_DATA 1 1 PRINT Name A LOCATE 0 4 PRINT GET...

Page 34: ...nteger variable in the range of 1 to 5 indicating the timer ID ON COM GOSUB Purpose To activate COM event trigger Syntax ON COM N GOSUB SubLabel SubName Example ON COM 1 GOSUB READ1 READ1 OFF COM 1 ON...

Page 35: ...a specific subroutine will be executed ON HOUR GOSUB Purpose To activate HOUR event trigger Syntax ON HOUR GOSUB SubLabel SubName Example ON HOUR GOSUB OnHourAlarm OnHourAlarm CurrentTime TIME H VAL L...

Page 36: ...an integer variable in the range of 1 to 6 indicating a function key of the keypad ON MINUTE GOSUB Purpose To activate MINUTE event trigger Syntax ON MINUTE GOSUB SubLabel SubName Example ON MINUTE G...

Page 37: ...T_READER_DATA 1 4 PRINT DATA A LOCATE 0 2 A GET_READER_DATA 1 1 PRINT Name A LOCATE 0 4 PRINT GET_READER_DATALEN ON READER 1 GOSUB GetData RETURN Description When data is received from reader port a s...

Page 38: ...by user a specific subroutine will be executed Up to five timers can be set in a BASIC program Be sure the timer ID s are properly differentiated Otherwise the latter created timer will overwrite the...

Page 39: ...2 respectively In F1 the command LOCK disable all the activated event triggers so that the subroutine F1 will not be interrupted by a new upcoming KEY 1 and KEY 2 event On the other hand since LOCK is...

Page 40: ...vent triggers held by LOCK Syntax UNLOCK Example ON KEY 1 GOSUB F1 ON KEY 2 GOSUB F2 F1 LOCK PRINT press F1 UNLOCK RETURN F2 PRINT press F2 RETURN Description This command resumes event processing T P...

Page 41: ...umber of the terminal Syntax A DEVICE_ID Example PRINT S N DEVICE_ID Description A is a string variable to be assigned to the result That is a string of the target terminal serial number to be returne...

Page 42: ...tion A is an integer variable to be assigned to the result it is the ordinal number of the menu item that user has selected Item is a string variable indicating the menu item that are separated and en...

Page 43: ...ll terminate the execution of the BASIC program and restart the system SYSTEM_INFORMATION Purpose To get information on components Syntax A SYSTEM_INFORMATION index Example PRINT Kernel SYSTEM_INFORMA...

Page 44: ...K_AID S1 S2 Example IF CHECK_AID 6421 08724 THEN PRINT AID OK ELSE PRINT AID NG END IF WHILE INKEY WEND Description A is an integer variable to be assigned to the result A Meaning 0 AID not correct 1...

Page 45: ...e the reader ports of the terminal Syntax ENABLE READER N Example ON READER 1 GOSUB SCAN ENABLE READER 1 SCAN OFF READER 1 CLS A GET_READER_DATA 1 4 PRINT DATA A LOCATE 0 2 A GET_READER_DATA 1 1 PRINT...

Page 46: ...SCAN A GET_READER_DATA 1 4 RETURN Description This command will get reader port data A is a string variable to be assigned to the result N1 is an integer variable indicating the reader port now we onl...

Page 47: ...start scanner setting procedure Syntax READER_CONFIG_START Example READER_CONFIG_START A READER_SENDCMD 11 1 CHR 1 Code 39 can read READER_CONFIG_END Description This command can start scanner settin...

Page 48: ...ng the parameter1 N2 is an integer variable indicating the parameter2 S is a string variable Refer to Appendix B for more details about the parameter setting READER_QUERY Purpose To query the scanner...

Page 49: ...READER_DATA 1 3 END IF IF INKEY CHR 27 THEN DISABLE READER 1 END END IF GOTO MAIN Description Once the scanner port is initialized by using ENABLE READER command call this DECODE command to perform ba...

Page 50: ...mula For instance to get a frequency of 2000Hz the value of beep frequency should be 38 If no sound is desired pause the beep frequency should be set to 0 A beep with frequency 0 does not terminate th...

Page 51: ...the buzzer volume Syntax SET_BUZZER_VOL N Example SET_BUZZER_VOL 2 Description N is an integer variable to be assigned to the result N Buzzer volume 0 close 1 Low 2 Medium 3 High T P C 7 0 3 0 Progra...

Page 52: ...A is an integer variable to be assigned to the result A value of 1 to 7 represents Monday to Sunday respectively TIME Purpose To set or to get the current time Syntax TIME X Y TIME Example PRINT TIME...

Page 53: ...y time Syntax WAIT duration Example WAIT 1000 Description duration is a positive integer variable indicating the time duration for a hold This argument is specified in units of 5 ms T P C 7 0 3 0 Prog...

Page 54: ...scription 1 LED displays green light 2 LED displays red light 3 LED displays orange light mode description 1 off for duration X 0 01 seconds then on 2 on for duration X 0 01 seconds then off Descripti...

Page 55: ...END IF GOTO START Description Str is a string variable to be assigned to character read INPUT_LEN Purpose To set or get input length when using INPUT or INPUT_S command Syntax X INPUT_LEN INPUT_LEN A...

Page 56: ...ing 0 Press the ENT key and has not input any item 1 Inputs correctly 255 Press the ESC key 1 Input error S is a string variable indicating the input default value variable is numeric or string variab...

Page 57: ...ith the ENTER key being pressed the data string will be stored in a variable Otherwise press the ESC key to abort the task INPUT_S_ CARRYENT Purpose To set ENT auto press on off when using INPUT_S com...

Page 58: ...urpose To set the display mode of the input data Syntax INPUT_MODE mode Example INPUT_MODE 2 Description mode is an integer variable indicating the input mode mode Meaning 0 Nothing will be displayed...

Page 59: ...case 3 Lock Numeric mode GET_ALPHA_LOCK Purpose To get information of the ALPHA state for input mode Syntax A GET_ALPHA_LOCK Example Alpha_lock GET_ALPHA_LOCK Description A is an integer variable to...

Page 60: ...ription A is an integer variable to be assigned to the keypad backlight timer X is an integer variable indicating a period of time in units of 1 second KEYPAD_BL Purpose To set keypad backlight on or...

Page 61: ...UP key DEF_PKEY 2 6 P2 key define to DOWN key DEF_PKEY 1 7 P1 key define to LEFT key DEF_PKEY 2 11 P2 key define to RIGHT key DEF_PKEY 1 27 P1 key define to ESC key DEF_PKEY 2 8 P2 key define to BS k...

Page 62: ...ght will always be on LCD_CONTRAST Purpose To set the contrast level of the LCD Syntax LCD_CONTRAST N Example LCD_CONTRAST 5 Description N is an integer variable indicating the LCD contrast level in t...

Page 63: ...X coordinate position of the cursor Y is an integer variable indicating the new Y coordinate position of the cursor FILL_RECT Purpose To fill a rectangular area in the activated TextBlock with a user...

Page 64: ...in the list In the list of expression a comma causes the next character to be printed after the last character with a blank space A semicolon causes the next character to be printed immediately after...

Page 65: ...left Fill from the start point of X axis pixel top Fill from the start point of Y axis pixel width Fill the width from the start point pixel height Fill the height from the start point pixel path Bitm...

Page 66: ...t A Meaning 0 Set font fail 1 Set font OK Several key arguments as below FontID Font ID 2 9 FontPath Font file path DISPFONT_INFO_TYPE Purpose To get font type Syntax A DISPFONT_INFO_TYPE FontID Examp...

Page 67: ...dth Syntax A DISPFONT_INFO_WIDTH FontID Example B DISPFONT_INFO_WIDTH 3 Description A is an integer variable to be assigned to the result FontID is an integer variable in the range from 2 to 9 T P C 7...

Page 68: ...splay An out of display area definition is not allowed Each TextBlock has individual attribute definition for position size font background color or bmp There are total 16 TextBlocks TextBlock 0 is sy...

Page 69: ...SETTEXTBLOCK 1 0 Description A is an integer variable to be assigned to the result A Meaning 0 Define TextBlock fail 1 Define TextBlock OK Several key arguments as below BlockNo TextBlock number 1 15...

Page 70: ...ription A is an integer variable to be assigned to the result A Meaning 0 Define TextBlock fail 1 Define TextBlock OK Several key arguments as below BlockNo TextBlock number 1 15 FontID Defined Font 0...

Page 71: ...1 to 15 indicating TextBlock number PRINTTEXTBLOCK Purpose To print Text to specific TextBlock Syntax PRINTTEXTBLOCK BlockNo Column Row Str FontColor Example PRINTTEXTBLOCK 2 5 5 Hello 0 font color i...

Page 72: ...Row TextBlock row number SHOWTEXTBLOCKCURSOR Purpose To show or hide TextBlock cursor Syntax SHOWTEXTBLOCKCURSOR BlockNo Show Type Example SHOWTEXTBLOCKCURSOR 1 1 1 Description Several key arguments...

Page 73: ...mple R TEXTBLOCK_SETBGIMAGE d program test bmp Description A is an integer variable to be assigned to the result A Meaning 0 Setting fail 1 Setting OK FilePath is a string variable indicating the bitm...

Page 74: ...cessing Syntax F OPENIN filename Example FilePath C DATA Test DAT fileID OPENIN FilePath Description F is an integer variable to assigned to the result F Meaning 0 Open file fail Other Open successful...

Page 75: ...ully It returns the file filename is a string variable indicating the file path In case of error open will return an integer value of 0 You can use the GET_FILE_ERROR command to get the file error cod...

Page 76: ...ROR command to get the file error code Possible error codes and their interpretation are listed below GET_FILE_ERROR Meaning 1 Filename is a NULL string 6 Can t create file because the maximum number...

Page 77: ...xist 7 File not opened BGETEXT Purpose To read a specified number of bytes from a file The current position is updated after reading Syntax STR BGETEXT N FILEID Example STRING1 BGETEXT 5 FILEID PRINT...

Page 78: ...Meaning 2 File specified does not exist 7 File not opened BPUT Purpose To write data to a file Syntax BPUT FILEID expr 1 expr 2 expr n Example AAA 168 BPUT FILEID STR AAA HELLO Description FILEID is...

Page 79: ...File specified does not exist 8 File not opened PTR Purpose To get or move the file pointer position of a file Syntax TELLPTR PTR FILEID PTR FILEID NPTR Example TELLPTR PTR FILEID PTR FILEID 40 Descri...

Page 80: ...the file FILEID is an integer variable indicating the file handle You can use the GET_FILE_ERROR command to get the file error code Possible error codes and their interpretation are listed below GET_F...

Page 81: ...l 9 The field number exceeds 20 Several key arguments as below FilePath DBMS file path DBMSID DBMS ID 1 10 S This argument has two kinds of meanings When search for regular length it needs to insert t...

Page 82: ...ot 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...

Page 83: ...size N2 When N1 0 search for regular length It has no separate symbols between different fields When N1 1 search for variable length It needs a separate symbol between different fields N3 This argumen...

Page 84: ...ID is an integer variable in the range from 1 to 10 DBMS_FIND_RECORD Purpose To search the designated field Syntax A DBMS_FIND_RECORD DBMSID field key Example A DBMS_FIND_RECORD 1 2 TEST3 PRINT A Desc...

Page 85: ...To read the data of appointed field in the appointed record Syntax A DBMS_GET_DATA DBMSID record field Example A DBMS_GET_DATA 1 3 3 PRINT A Description A is a string variable to be assigned to the re...

Page 86: ...ariable to be assigned as the vibrator timer X is an integer variable indicating a period of time in units of 100ms VIBRATOR Purpose To set the vibrator on off Syntax VIBRATOR N Example VIBRATOR 1 Vib...

Page 87: ...OM 1 Description N is an integer variable indicating which COM port is to be enabled now we only can choose 1 SET_COM Purpose To set parameters of a specified COM port Syntax SET_COM N Baudrate Parity...

Page 88: ...EAR_COM 1 SET_RTS 1 1 LOOP2 IF INKEY THEN GOTO LOOP2 END IF CLOSE_COM 1 END READ1 A READ_COM 1 PRINT A RETURN Description A is a string variable to be assigned to the data N is an integer variable ind...

Page 89: ...teger variable indicating which COM port the data is to be sent to now we only can choose 1 A is a string variable indicating the string to be sent GET_CTS Purpose To get CTS level Syntax A GET_CTS N...

Page 90: ...ve buffer now we only can choose 1 COM_DELIMITER Purpose To change delimiter of sending and receiving string for a specified COM port Syntax COM_DELIMITER N C Example COM_DELIMITER 1 13 use carriage r...

Page 91: ...loading or downloading Pressing ESC key can quit the transmission operation FILE_TRANS_REALTIME Purpose Using FILE_TRANS_REALTIME to upload or download files immediately Syntax FILE_TRANS_REALTIME N E...

Page 92: ...to be set FILE_TRANS_BAUD Baud rate bps 0 115200 1 57600 2 38400 3 19200 4 9600 5 4800 FILE_TRANS_INTERFACE Purpose To get or set the transmission interface Syntax A FILE_TRANS_INTERFACE FILE_TRANS_IN...

Page 93: ...REE_MEMORY Purpose To check the free space in disk C or disk D Syntax FREESIZE FREE_MEMORY N Example PRINT Free on disk C FREE_MEMORY 0 PRINT Free on disk D FREE_MEMORY 1 Description FREESIZE is an in...

Page 94: ...ode Possible error codes and their interpretation are listed below GET_BT_ERROR Meaning 1 Bluetooth module power enable 6 The terminal is not TPC7030B 8 Bluetooth module has been power enable please r...

Page 95: ...t 6 The terminal is not TPC7030B 7 Bluetooth module power disable please run BT_ SART 10 Bluetooth already connect BT_CLOSE Purpose Bluetooth disconnect Syntax BT_CLOSE Example BT_OPEN BT_CLOSE Descri...

Page 96: ...ELSE PRINT Link error WHILE INKEY WEND END IF BT_STOP Description If Bluetooth is connected this command can write characters to other Bluetooth device N1 is an integer variable It will tell you how m...

Page 97: ...th module A is a string variable to be assigned to the data N is an integer variable indicating number of bytes to be read from other Bluetooth device You can use the GET_BT_ERROR command to get the e...

Page 98: ...e Description A is a string variable indicating the TPC7030B Bluetooth information Format of string as show below A Length Meaning 1 16 TPC7030B Bluetooth MAC address Cannot change 17 36 TPC7030B Blue...

Page 99: ...s to 48 61 44 seconds N4 TPC7030B Bluetooth inquiry max response the value from 1 to 10 S2 Set link device address Allow 1 12 characters S3 Set PIN code Allow 4 16 characters You can use the GET_BT_ER...

Page 100: ...n after the search Syntax A BT_GETDEVICEINFO N Example S BT_GETDEVICEINFO 1 CLS DEVICEAddress LEFT S 16 PRINT DEVICEAddress DEVICEAddress DEVICEName MID S 17 20 PRINT DEVICEName DEVICEName Description...

Page 101: ...if N1 is 1 the N2 will be set for buzzer sound time gap For example if N2 is 2 the buzzer will sound for each 2 seconds GET_BT_ERROR Purpose To get the bluetooth error code Syntax N GET_BT_ERROR Exam...

Page 102: ...e To read specific number of bytes from USB port Syntax A USB_READ N Example KEY USB_READ 1 Description A is a string variable to be assigned to the data N is an integer variable indicating number of...

Page 103: ...he PC file path specified by PCPath to the simulator path specified by PDTPath BACKUPDATAFILETOPC Purpose To backup a file from PDT to PC Syntax BACKUPDATAFILETOPC PDTPath PCPath Example BACKUPDATAFIL...

Page 104: ...n numeric expression REM To insert explanatory remarks in a program SET_PRECISION To set the precision of the decimal points for printing real number expression SGN To return an indication of the math...

Page 105: ...looping structures such as FOR NEXT and WHILE WEND statements FOR NEXT To repeat the execution of a block of statements for a specified number of times WHILE WEND To repeat the execution of a block of...

Page 106: ...code for the first character of a given string CHR To return the character for a given ASCII value HEX To return a string that represents the hexadecimal value base 16 of the decimal argument OCT To...

Page 107: ...ivate MINUTE event trigger ON READER GOSUB To activate READER event trigger ON TIMER GOSUB To activate TIMER event trigger LOCK To hold all the activated event triggers until they are released by UNLO...

Page 108: ...re READER_SENDCMD To send scanner command to change scanner status READER_QUERY To query the scanner current setting DECODE To perform barcode decoding A8 Buzzer commands Command description BEEP To a...

Page 109: ...ENT auto press on off when use INPUT_S command INPUT_S_VIBRATE To set vibrator on or off when use INPUT_S command INPUT_S_SLEEP To set scanner sleep on or off when use INPUT_S command INPUT_MODE To se...

Page 110: ...olor rectangular area in the activated TextBlock ICON_ZONE_PRINT To enable or disable the statusbar PRINT To display data in the activated TextBlock CLR_RECT To clear a rectangular area in the activat...

Page 111: ...disable the specific TextBlock PRINTTEXTBLOCK To print Text to specific TextBlock GETTEXTBLOCKCUR_X To get the x coordinate of the current TextBlock position GETTEXTBLOCKCUR_Y To get the y coordinate...

Page 112: ...ion of a file EXT To get or change file length of a file GET_FILE_ERROR To get the file error code DBMS_INIT_SEARCH To initiate the file search in disk DBMS_INIT_SEARCHADV To initiate the advance file...

Page 113: ...el SET_RTS To set RTS level CLEAR_COM To clear receiver buffer COM_DELIMITER To change delimiter of sending and receiving string of a specified COM port FILE_TRANS Using FILE_TRANS to upload or downlo...

Page 114: ...t BT_GETDEVICEINFO To get other bluetooth device information after the search BT_DISCONNECTALERT For bluetooth disconnect alert GET_BT_ERROR To get the bluetooth error code A20 USB commands Command de...

Page 115: ...fter 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 6 Transmission 11 Case conversion 0...

Page 116: ...ble characters settings 0x00 0xff ASCII code 22 characters 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 One digit 2 Two digits 3 Check sum transmission 0 Disable 1 Enable 4 Max code...

Page 117: ...Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 20 20 Truncate characters before space 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10...

Page 118: ...erification 0 Disable 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 12 Code 93 8 Code ID setting 0x0...

Page 119: ...ble 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Format 0 Standard 1 UCC EAN 128 12 UCC EAN 128 I...

Page 120: ...Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Start stop type 0 ABCD ABCD 1 abcd...

Page 121: ...ending 0 15 8 Code ID setting 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 Truncation expans...

Page 122: ...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 16 EAN 13 12 ISBN ISSN conversion 0 Disable 1 Enable 1 Read 0 Disable 1 Enable 4 Max...

Page 123: ...7 Truncate ending 0 15 18 Interleaved 2 of 5 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmission 0 Disabl...

Page 124: ...cate leading 0 15 7 Truncate ending 0 15 20 MSI Plessey 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 1 Read 0 Disable 1 Enable 2 Check sum verification 0 Disable 1 Enable 3 Check sum transmissi...

Page 125: ...able 1 Enable 3 Check sum transmission 0 Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 byt...

Page 126: ...ng 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 10 Supplement digits 0 None 1 2 digits 2 5 digtis 3 2 5 digits 4 UCC EAN 128 5 2 UCC EAN 128 6 5 UCC EAN 128 7 All 23...

Page 127: ...D setting 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 l...

Page 128: ...64 5 Min code length 0 64 6 Truncate leading 0 15 7 Truncate ending 0 15 25 Matrix 25 8 Code ID setting 0x00 0xff ASCII code 1 or 2 bytes 1 Read 0 Disable 1 Enable 4 Max code length 0 64 5 Min code l...

Page 129: ...ting 0x00 0xff ASCII code 1 or 2 bytes 29 RSS 14 11 UCC EAN 128 emulation 0 Disable 1 Enable 1 Read 0 Disable 1 Enable 6 Truncate leading 0 15 7 Truncate ending 0 15 8 Code ID setting 0x00 0xff ASCII...

Page 130: ...ng 0x00 0xff ASCII code 1 or 2 bytes 31 RSS Expanded 11 UCC EAN 128 emulation 0 Disable 1 Enable 1 Read 0 Disable 1 Enable 4 Max code length 0 64 5 Min code length 0 64 6 Truncate leading 0 15 7 Trunc...

Page 131: ...want to set color please conversion Dec from Hex value 2 Example Color Hex value Dec value Red 0x0000FF 255 Green 0x00FF00 65280 Blue 0xFF0000 16711680 White 0xFFFFFF 16777215 Black 0x000000 0 Red Gre...

Reviews: