
Product Reference Guide
209
Appendix C
Programming for Expert Users
This document is addressed to expert users who are familiar with software programming
languages and want to define a personalized code formatting. The provided programming
language allows creating either simple or complex formatting expressions by means of the
basic functions connected together through the following operators: (, ), -, +.
The syntax to be used to transmit the expressions to the PowerScan® M8500 is the
following:
$+ELB<n>formatting expression<ETX>$-
where:
•
<n>
is a number in the range 1-5 corresponding to the format to be defined;
•
<ETX>
is the conventional character used as terminator of the command;
•
the formatting expression uses ASCII characters when containing text strings. For this
reason, the string must be inserted between two quotation marks. The following
example shows the ASCII conversion of the "
ABC
" string:
$+ELB1}#DS^C$-.
Function Description
All the functions and conventions to be used within the formatting expressions are listed
below:
FUNCTION NAME
DESCRIPTION
FSTR
Searches for a defined substring by its starting and ending string.
FLSTR
Searches for a defined substring by its starting string and its length.
SSTR
Extracts a defined substring from the original string.
FPOS
Searches for a position of a defined substring within the original string.
LSTR
Returns a string length.
ISTR
Insert a substring in the original string.
RSTR
Substitutes a defined substring contained in the original string with a
new one.
Summary of Contents for PowerScan M8500
Page 17: ...Preface 14 PowerScan M8500 NOTES...
Page 28: ...Installation Product Reference Guide 25 WEDGE Connection PEN Emulation Connection...
Page 55: ...PowerScan M8500 Setup 52 PowerScan M8500 NOTES...
Page 137: ...Configuration Using Code Symbols 134 PowerScan M8500 NOTES...
Page 157: ...Advanced Data Formatting 154 PowerScan M8500 NOTES...
Page 211: ...Host Configuration Strings 208 PowerScan M8500 NOTES...
Page 219: ...Sample Barcodes 216 PowerScan M8500 QR PDF417 DataMatrix Normal DataMatrix Inverse PDF417...
Page 225: ...Hex Numeric Table 222 PowerScan M8500 AUTOSCAN PATTERN CODE s...
Page 226: ...Product Reference Guide 223 NOTES...
Page 227: ...Hex Numeric Table 224 PowerScan M8500 NOTES...
Page 232: ......