Unitech Hand Held Scanner user manual Length, Match Format

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

Image 26
Contents User’s Manual RS232 Serial Interface PIN Assignment and Specification Chapter Overview Keyboard Interface InstallationInstallation procedures Installed on PC/AT without keyboard or laptop computer Installed on MacintoshInterblock Delay Installed as an USB InterfaceIntercharacter Delay Understanding the Operating ParametersCaps-Lock Alt Key ModeFunction Code Installed as a Serial Interface RS232 Serial InterfaceHandshaking Device TypeBaud Rate, Parity and Data Bit Time Out Serial TTLBCC Character Installing as a Terminal Wedge Terminal InterfaceData Direction Native Output Wand EmulationCode 39 Output Polarity of Idle Appendix D Output of Wand Emulation Appendix DLevel Duration of Minimum Width Appendix D Setup Procedures Chapter SetupBar Code Menu Setup Bar Code Length Setting Code ID SettingPreamblePrefix and PostambleSuffix Predefined LabelsQuick Setup Batch SetupI800C06D51DJ8 08080A0O7C005354 I800C06D51DJ8080 80A0O7C005354415254 Formula Output Data EditingGeneral InputIDLengthMatchA-StringO-String...O-String Enter ProgrammingProgramming Sequence PreparationProgramming Sheet Parameter EntryQualifier Input ID FormatLength Match FormatModifier String FormatExample Advanced FeaturesExamples Example Pin Assignments Pin Assignment and SpecificationPin Number Signal Keyboard InterfaceTTL RS232 Interface PinNumber Standard RS232 InterfaceHost Side connector Terminal InterfaceWand Emulation Terminal Side connectorPin Number Signal Specification A.1 A.2 Device ID Device Type Appendix D. Setup MenuDevice Selection and Default Beeps and Delays MPU Idle StatusKeyboard Wedge Settings RS232 Settings Scanner Port Define Code IDMagnetic Reader Code 39 / I 2 of 5 / S 2 of 5 / Code 32 / EAN128 ReserveCode 128 / MSI Code / Code 93 / Codabar/ Label Code MSI /Pleasey CodeUPC / EAN / Delta Code UPC-EData Editing Dump Setup Strings Appendix E. Full Ascii Chart E.1E.2 E.3 E.4 Appendix F. Bar Code Test Chart