The text of a manual · part 3 of 6
Hand Held Scanner User's Manual, pages 19 to 27
Pages 19 to 27 of 52
The original document is the PDF (175 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Unitech MS690
Page 19
Here is an example how to define the output of “Label 0” as “START”, “Label 1” as “ACCEPT” and “Label 2” as “END”: * Scan “Enter Group 3” * Scan “B7” * Scan “0” to define “Label 0” * Scan “S”, “T”, “A”, “R” and “T” from Full ASCII chart * Scan “B7” to end “Label 0” * Scan “1” to define “Label 1” * Scan “A”, “C”, “C”, “E”, “P” and “T” from FULL ASCII chart * Scan “B7” to end “Label 1” * Scan “2” to define “Label 2” * Scan “E”, “N” and “D” from Full ASCII chart * Scan “B7” to end “Label 2” * Scan “Exit” to quit setup After the programming, scan “Label 0”, “Label 1” and “Label 2” listed above will have output of “START”, “ACCEPT” and “END” respectively. The characters defined in these labels can be ASCII characters or Function keys. To eliminate the definition of “Label 1”, do the following: * Scan “Enter Group 3” * Scan “B7” * Scan “1” to choose “Label 1” * Scan “B7” to end * Scan “Exit” to exit setup There is only total 24 characters space available for defining these three labels. If one of the labels has been defined the output with 24 characters, the other two labels can not be defined further.
6.2 Quick Setup Appendix A has a quick setup chart which gives you one-label-for-onefunction convenience to setup the scanner. To setup the scanner, locate the label with the function you want and scan that label.
6.3 Batch Setup If you need to configure more than one scanner, you may duplicate the settings of the scanner (master) to the others. You can do this by producing a set of custom setup labels derived from the master scanner and scanning these labels configuring the other scanners. Page 18
Page 20
The following label is called “Dump Settings” label. Before you scan the label, please open a text editor application(such like, Notepad, Word, etc..) Scan the following label, the settings of the scanner will dump to the screen as one or several ASCII string(s). Use any barcode printing software, select Code 39 symbology, and use the string(s) to generate bar code labels. You use this batch setup labels to duplicate setting to the other scanners.
Dump Settings If you have settings as the following: * Device Type is “Keybaordless Wedge”. * Do not send the check digit of UPC-A and EAN-13. * Define Preamble as “<F1>”. * Define Postamble as “<Tab>”. * Define Label 0 as “START”. When dumping settings on a PC/AT, you have the following strings: ...I800C06D51DJ8 08080A0O7C005354 415254. Print into Code 39 bar code labels:
. . . I 8 0 0 C 0 6 D5 1 DJ 8
0 8 0 8 0 A0 O7 C 0 0 5 3 5 4
415254.
By scanning the labels from top to bottom sequentially, you may duplicate the other scanners with the same settings. Page 19
Page 21
•
The following issues should be observed: The sequence of the strings that the scanner dumped is important. You have to print the bar code labels and scan them in the same sequence as the one that the scanner dumped.
•
When you scan the batch setup labels to configure a scanner, the previous settings on that scanner are reset to default and then replaced by the settings contained in the batch labels.
•
Only the settings that are different from the default values will be dumped. So the number of labels produced depends on how many settings being changed compare to the factory default setting.
•
The settings can be dumped to a PC or terminal only if that PC or terminal matches the type defined by Device Type of the scanner. The previous example of “Keyboardless Wedge” as Device Type is equivalent to a PC/AT interface, so you can not dump that settings to a system which dose not support a PC/AT keyboard interface. The following label let you dump the settings to a PC/AT regardless what kind of device has been chosen on the scanner.
Dump Settings On PC/AT
•
You can adjust the length of the dumped strings by combining multiple strings into one or breaking one string into multiple strings. The following strings have the same effect as the dumped string listed above: ...I800C06D51DJ8080 80A0O7C005354415254. You can not delete any character from or add any character into the strings and the first three characters (“...”) must present in the first string.
•
All characters in dumped strings are in upper case. If you see lowercase characters in dumped strings, change them to upper case.
Page 20
Page 22
Chapter 7
Output Data Editing
The function described here can be replaced by the “Pre-defined Labels” function in 6.1.5 Predefined Labels. So if data-editing function is defined, “Pre-defined Labels” will be removed. They can not be defined at the same time.
7.1. General The purpose of Data Edit is allowing you to define and modify a data record that comes from decoding of a bar code. By using combination of formulas, you can perform the following functions on the data received by the scanner: A. Rearrange the output sequences. B. Delete characters from the record. C. Insert characters to the record, including function codes. D. Duplicate characters in the record. E. Insert time delay in the record
7.2. Formula Formula is a structure that tells the scanner what and how to process the original data record to produce the desired output. The Wedge allows multiple Formulas, but the number of the Formulas can be defined depends on the memory size allocated for Data Editing. 7.2.1. Original Data Structure The original data is the decoded data plus preamble and postamble. The original data structure is as follow: Preamble
Decoded Data
Postamble
7.2.2. Formula Structure: A Formula consists of two parts: Qualifier and Modifier (See Figure 7.1). Qualifier is used to verify if the data record meets the conditions specified and Modifier is processed only if all conditions in Qualifier are met. 7.2.3. Execution Sequence If several Formulas were defined, data editing will perform sequentially from the first Formula to the last Formula. If a Formula is qualified and executed, the further formulas will be ignored. If none of the Formulas is executed, the data record will be discarded and there will be no output to the host. Page 21
Page 23
Formular
Qualifier
Input ID
[Length]
Modifier
[Match]
Input ID
[Length]
[Match]
[Match]
... [Match]
A-String: String to be added. O-String: Modified original data. [] : Optional. Figure 7.1 Formula Structure
7.3. Programming 7.3.1. Programming Sequence: Each Formula is entered into the Reader by the following sequence: Input_ID>>Length>>Match>>A-String>>O-String>>...>>O-String >>Enter A Formula starts with Input_ID and ends with “Enter”(a label in programming sheet). If a field is optional and missing, the next one in the sequence can be entered. But “Enter” must be the last input of a formula. 7.3.2. Preparation To start the data editing, the following barcode sheets are needed: -- Programming Sheet.( Setup Sheet in Appendix D). -- Full ASCII Sheet (Appendix E). -- Function Code Sheet (Appendix B or C). Before programming Data Editing, you should know the format of the original data record that may be altered by the setup groups.
Page 22
Page 24
7.3.3. Programming Sheet The bold and italicized characters in following sections mean a barcode label on the Programming Sheet. Enter Group 10 Group Default Review
Backspace , " * # Enter 0 to 9 IN_ID LEN MATCH O-STR + Exit
Scan this label to start the formula input. Erase all formulas. To see the formulas programmed in the Wedge. If scanning this label during a formula input (without finished by scanning “Enter”), the current formula will be displayed. Otherwise, all programmed formulas will be displayed. Delete the last character. Delimiter to separate parameters. String specifier. Wild character to specify any digit or any position. Wild character to specify any letter(A--Z, a-z) or last position To end the current formula. For digit input. For ID field input. For Length field input. For Match field input. For O-String input. For O-String input. For O-String input. Save all formulas and exit setup.
Note: The '*', '#', '" ' and ',' on Programming Sheet have special meanings as mentioned above and are different from those represented in Full ASCII chart. Always use characters in Full ASCII chart for string parameters unless a special function is required. 7.3.4. Parameter Entry a) Digit Parameters and Numbers Each digit parameter or number is represented by one to three digits with ‘,’ as terminator. For example: 1, 023, Page 23
Page 25
b) String Parameters A string is a set of characters, wild characters, or sequence of adjacent characters enclosed in double quotation marks, which are on the Programming Sheet. For example: "A*B# " Here * and # are wild characters on the setup sheet.
7.4. Qualifier There are three conditional fields in the Qualifier: Input ID, Length and Match. 7.4.1. Input ID Format: IN_ID,ID1, ... ,IDi, Input ID is required and the original data record must correspond to Input ID of a formula in order to be processed. ID1 to IDi are represented by digits. The following Input IDs are available: 0 = Code 39 Full ASCII 1 = Code 39 Standard 2 = EAN 13 3 = EAN 8 4 = UPC A 5 = UPC E 6 = I 2 of 5 7 = Codabar 8 = Code 128 9 = Code 93 10 = S 2 of 5 11 = MSI 19 = UCC/EAN128 28 = All Inputs There is no limitation on the number of IDs to be defined. Example: IN_ID,0,11, means the original data can be Code 39 or MSI. Page 24
Page 26
7.4.2. Length: Format: LEN,Min,Max, Length field consists of two length parameters: minimum length (Min) and maximum length (Max). When defined, a formula will be performed if the length of the original data falls between MIN and MAX When missing, the following fields of current Formula are always processed. Example: LEN,9,48, means the length of original data must be within 9 and 48. 7.4.3. Match Format: MATCH, P0 ,"C0" ,P1, "C1" ,...,Pn, "Cn" , a pair of Pn and Cn forms a Match field (n indicates a sequential integer number). To define a Match field, two parameters are required. The first is character position (Pn) and the second is a string (Cn). Character position means the number of characters, counting from the first character to the one to be positioned in the data record. For example, in the following data BARCODE 'B' has position 1. 'A' has position 2. ... 'E' has position 7. When Match field is defined, the original data string starts at the position specified by the first parameter P and will be compared with string "C". If the match is identical, processing of current Formula continues. The position parameter P could be a wild character * for any position or # for the last position in the original data. If # is used, #-N is valid. Here N is a digit parameter. The string parameter C can include * for any digit or # for any letter. Examples: MATCH,3,"AB",#,"?", Page 25
Page 27
Checks if the original data has 'A' at position 3, 'B' at position '4' and last character is '?'. MATCH , 10 , " *A*", Checks if the original data includes a string with a digit as first character and "A*" followed at position 10.
7.5. Modifier Modifier has two types of fields: A-String and O-String to define the output contents. 7.5.1. A-String Format: "abc..." 'a', 'b' and 'c' in the string can be any character. A-String defines a string of characters to be added to the output. For example, if the original data is: BCD and output string is BarCoDe "ar", 'o' and 'e' in output string are added strings and can be defined by A-Strings. Note: If '*' on Programming Sheet are included in A-String, one interblock delay defined by Group 2 will be inserted. 7.5.2. O-String Format: O-STR , P, N, O-String always applies to the original data. It contains two parameters. The first is position parameter (P) that specifies the start output position in the original data. Parameter N tells how many characters will be included beginning from P. Example: Original data is: Barcode Then O-Str , 4, 4, Gives output as code Note: -- N can be '#' for all remaining characters from P. -- If P greater than the length of original data, the O-String will be skipped. Page 26