Chapter 14. Statement Reference
249
□
□□
□Code 128 (
((
(K)
))
)
Syntax :
K[:[mini.no.digits[-max.no.digits]]
[,[mini.no.digits[-max.no.digits]]]
[,[mini.no.digits[-max.no.digits]]]]
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, then 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.digits.
OPEN "BAR:"AS #1 CODE "K:6-12"
Neither start/stop characters nor check digits will be transferred to the barcode buffer.
If the BHT reads any bar code consisting of special characters only (such as FNC,
CODEA, CODEB, CODEC and SHIFT characters), it will not transfer the data to the
barcode buffer. The beeper sounds only if it is activated.
FNC characters will be handled as follows:
(1) FNC1
The BHT will not transfer an FNC1 character placed at the first or second character
position immediately following the start character, to the barcode buffer. FNC1
characters in any other positions will be converted to GS characters (1Dh) and then
transferred to the barcode buffer like normal data.
If an FNC1 immediately follows the start character, the bar code will be recognized
as EAN-128 and marked with W instead of K.
(2) FNC2
If the BHT reads a bar code containing an FNC2 character(s), it will not buffer such
data but transfer it excluding the FNC2 character(s).
(3) FNC3
If the BHT reads a bar code containing an FNC3 character(s), it will regard the data
as invalid and transfer no data to the barcode buffer, while it may drive the
indicator LED and beeper (vibrator) if activated with the OPEN statement.
Comentários a estes Manuais