Specifications
Chapter 14. Statement Reference
272
Interleaved 2 of 5 (ITF) (I)
Syntax :
I[:[mini.no.digits[-max.no.digits]][CD][;[1stchara[2ndchara]]]
[,[mini.no.digits[-max.no.digits]][CD][;[1stchara[2ndchara]]]]
[,[mini.no.digits[-max.no.digits]][CD][;[1stchara[2ndchara]]]]]
where
mini.no.digits and max.no.digits are the minimum and maximum
numbers of digits for bar codes to be read by the BHT, respectively.
They should be a numeral from 2 to 99 and should satisfy the following condi-
tion:
mini.no.digits ≤ max.no.digits
If both of mini.no.digits and max.no.digits are omitted, then the
default reading range is from the minimum number of digits specified in Sys-
tem Mode up to 99 digits. If only max.no.digits is omitted, the BHT can
only read the number of digits specified by mini.no.digits.
CD is a check digit. Specifying a C to CD makes the Interpreter check bar
codes with MOD-10. The check digit is included in the number of digits.
OPEN "BAR:" AS #1 CODE "I:6-10C"
To specify multi-line code scanning, the above syntax should be preceded by
an ampersand (&) and should be repeated by the number of lines of codes to
be scanned. In the above syntax, the semicolon (;) and the following take
effect only in multi-line code scanning. 1stchara or 2ndchara is a
numeral from 0 to 9 specifying the first or second character of a bar code to be
scanned. (For detailed specifications of multi-line code scanning, refer to the
Multi-line code scanning
given on page 277.)
Example: To scan 2 lines of ITF codes, write as follows:
OPEN "BAR:" AS #1 CODE "&","I:;12","I:;23"
or
OPEN "BAR:" AS #1 CODE "&","I:;12,;23"