Specifications
275
Code 128 (
K)
Syntax :
K[:[mini.no.digits[-max.no.digits]][;[1stchara[2ndchara]]]
[,[
mini.no.digits
[
-max.no.digits
]][;[
1stchara
[
2ndchara
]]]]
[,[
mini.no.digits
[
-max.no.digits
]][;[
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 1 to 99, excluding start/stop characters and
check digit. They should satisfy the following condition:
mini.no.digits ≤ max.no.digits
If both of mini.no.digits and max.no.digits are omitted, the
default reading range is 1 to 99 digits. If only max.no.digits is omitted,
the BHT can only read the number of digits specified by
mini.no.dig-
its
.
OPEN "BAR:" AS #1 CODE "K:6-12"
Neither start/stop characters nor check digit will be transferred to the barcode
buffer.
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 Code 128 codes, write as follows:
OPEN "BAR:" AS #1 CODE "&","K:;12","K:;23"
or
OPEN "BAR:" AS #1 CODE "&","K:;12,;23"