EasyManua.ls Logo

Unitech MS084 - O-String; Examples; Example 1; Example 2

Unitech MS084
63 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
30
O-String
O-Str , 4, 4,
ut as
code
er of remaining characters counting from P, the remaining
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
Gives outp
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 numb
characters are included as valid.
Examples
Example 1
If the original data is Code 39 and content is "AA", output "ABC Company", and otherwise
riginal data as it is.
l data is Code 128 and logically divided into:
acters are personal ID,
ters are person's name.
ID first,
aracter,
terblock del
ula will be:
IN_ID,8,O-STR,1,6," **",O-STR,7,#,"<CR>",Enter
racter scanned from Full ASCII Chart.
output the o
IN_ID,0,LEN,2,2 company",Enter
IN_ID,19,O-STR,1,#,Ente
,MATCH,1,"AA","ABC
r
Example 2
If the origina
-- First six char
-- Other charac
The output will be:
-- Personal
ch-- A 'CR'
-- Two in ay,
-- Name,
-- A 'CR' character.
The Form
<CR>
<CR> is a Carriage Return cha
Advanced Features
The O-String has the format:
O-STR,P,N,

Table of Contents

Related product manuals