32
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.
-- If N greater than the number of remaining characters counting from P, the remaining
characters are included as valid.
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 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 Full ASCII Chart.
Advanced Features
The O-String has the format:
O-STR
,P,N,
Summary of Contents for MS84XG
Page 1: ...Wireless Scanner MS840B MS840P MS084 User s Manual Version 1 5...
Page 42: ...34 The output of above input will be ABEL STEVE CR 012345678901234 CR 9001 CR...
Page 57: ...49 RS D US E SP A B C F G H I J L 0 1 2 3 4 5 6 7 8 9 Z F G H I...
Page 58: ...50 J V A B C D E F G H I J K L M N O P Q R S T U V W X Y Z K L M N _ O...