Denso BHT-400-CE Reference Manual page 89

Bar code handy terminal class library reference manual
Table of Contents

Advertisement

• CODABAR (NW-7) (N)
[Syntax]
N [:[mini.no.digits[-max.no.digits]][startstop][CD]]
The mini.no.digits and max.no.digits are the minimum and maximum numbers of barcode digits to be
read by the BHT, respectively.
These numbers must both be between 3 and 99 (inclusive) and satisfy the following condition:
mini.no.digits ≤ max.no.digits
If both mini.no.digits and max.no.digits are omitted, the default reading range will be from the minimum
number of digits specified at system mode up to 99 digits.
If only max.no.digits is omitted, the BHT will only be able to read as many digits as specified by
mini.no.digits.
Start and stop are the start and stop characters, respectively. Specify each of these as A, B, C, or D. If
a question mark (?) is specified, it is treated as a wild card. The start and stop characters are included
in the number of digits. A to D are stored in the barcode buffer as a to d.
CD is used to specify a check digit(s). If C is specified, barcodes are checked based on MOD-16. The
number of check digits is included in the number of digits to be read.
[Ex.] To enable the BHT to scan CODABAR with mini.no.digits 8, start character A, stop
character A, and MOD-16:
[VB] MyScanner.RdType = "N:8AAC"
[C#] MyScanner.RdType = "N:8AAC";
[Ex.] To enable the BHT to scan CODABAR with mini.no.digits 6 and max.no.digits 10 or
with mini.no.digits 20 and max.no.digits 40:
[VB] MyScanner.RdType = "N:6-10,N:20-40"
[C#] MyScanner.RdType = "N:6-10,N:20-40";
- 83 -

Advertisement

Table of Contents
loading

Table of Contents