Unitech Hand Held Scanner user manual Example

Page 29

--From the position next to 'i', search for k.

--If above searches are all found, the result of the parameter will be the position where 'k' is located.

If N is a string, the position evaluation of N is the same as P except that the searching position is starting from P+1.

For both P and N, if string is defined, a value can be added to or subtracted from the position. That following O-Strings:

"ab...ik"+M,

And

"ab...ik"-M,Are meaningful. M is a integer number.

Example:

Suppose the following is a message to be modified: %B012345678901234^ABEL/STEVE L MGR ^90010129999999?

in this message:

"%" is start sentinel. "012345678901234" is account number. "^" is a separator

6."ABEL" is surname. "/" is a separator. "STEVE" is first name. "L" is initial.

"MGR" is title "^" is a separator. "9001" is expiration date. "?" is end sentinel.

The output sequence desired is:

Surname, First Name [CR] Account Number [CR] Expiration Date [CR]

The formula input will be:

IN_ID,0,O-STR,"^"+1,"/"-1,",",O-STR,"/"+1,"<SP>"-1,"<CR>", O-STR,3,"^"-1,"<CR>",O-STR,"^^"+1,4,"<CR>",Enter

Here <SP> is Space character and <CR> is Carriage Return character.

The output of above input will be ABEL,STEVE[CR] 012345678901234[CR] 9001[CR]

Page 28

Image 29
Contents User’s Manual RS232 Serial Interface PIN Assignment and Specification Chapter Overview Keyboard Interface InstallationInstallation procedures Installed on Macintosh Installed on PC/AT without keyboard or laptop computerIntercharacter Delay Installed as an USB InterfaceInterblock Delay Understanding the Operating ParametersCaps-Lock Alt Key ModeFunction Code RS232 Serial Interface Installed as a Serial InterfaceHandshaking Device TypeBaud Rate, Parity and Data Bit Time Out Serial TTLBCC Character Terminal Interface Installing as a Terminal WedgeData 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 Code ID Setting Bar Code Length SettingPredefined Labels PreamblePrefix and PostambleSuffixBatch Setup Quick SetupI800C06D51DJ8 08080A0O7C005354 I800C06D51DJ8080 80A0O7C005354415254 Formula Output Data EditingGeneral Programming Sequence ProgrammingInputIDLengthMatchA-StringO-String...O-String Enter PreparationParameter Entry Programming SheetInput ID Format QualifierMatch Format LengthString Format ModifierExample Advanced FeaturesExamples Example Pin Number Signal Pin Assignment and SpecificationPin Assignments Keyboard InterfaceNumber PinTTL RS232 Interface Standard RS232 InterfaceTerminal Interface Host Side connectorWand Emulation Terminal Side connectorPin Number Signal Specification A.1 A.2 Device ID Device Type Appendix D. Setup MenuDevice Selection and Default MPU Idle Status Beeps and DelaysKeyboard Wedge Settings RS232 Settings Define Code ID Scanner PortMagnetic Reader Reserve Code 39 / I 2 of 5 / S 2 of 5 / Code 32 / EAN128MSI /Pleasey Code Code 128 / MSI Code / Code 93 / Codabar/ Label CodeUPC-E UPC / EAN / Delta CodeData Editing Dump Setup Strings E.1 Appendix E. Full Ascii ChartE.2 E.3 E.4 Appendix F. Bar Code Test Chart