Examples
Example 1
If the original data is Code 39 and content is "AA", output "ABC Company", and
otherwise output the original data as it is.
IN_ID,
0
,LEN,
2
,
2
,MATCH,
1
,"
AA
","
ABC company
",Enter
IN_ID,
19
,O-STR,
1
,#,Enter
Example 2
If the original data is Code 128 and is logically divided into:
-- First six characters are personal ID,
-- Other characters are person's name.
The output will be:
-- Personal ID first,
-- A 'CR' character,
-- Two interblock delay,
-- Name,
-- A 'CR' character.
The Formula will be:
IN_ID,
8
,O-STR,
1
,
6
,"
<
CR>
**",O-STR,
7
,#,"
<
CR>
",Enter
<CR> is a Carriage Return character scanned from the Full ASCII Chart.
Advanced Features
The O-String has the format:
O-STR,
P
,
N
,
Both parameters of the
O-String
mentioned above are numbers. But both
parameters can be specified as strings. If N is a string, it becomes a position and the
meaning of
O-String
will be "Output from position P to position N".
If P is defined as:
"
ab...ik
"
a, b, , i and k can be any character, the position will be evaluated as
-- Start from the first position of the original string and search character 'a'.
-- From the position next to 'a' in original data, search for 'b'.
-- ....