boolean AddBarcode(short nBarcodeType, boolean bExpand, short nDecode, short nMin, short nMax)
Function AddBarcode(nBarcodeType As Integer, bExpand As Boolean, nDecode As Integer, nMin As Integer, nMax As Integer) As Boolean
Adds an item to the local configuration array. Up to 19 items.
** Warning: Some terminals do not process the AddBarcode function and will be manually configured (Intermec CK30 / CK31).
Return value
True = function successful.
False = error, unknown barcode type, array limit exceeded.
Parameters
nBarcodeType
CODE_39, UPC_A, UPC_E0, EAN_13, EAN_8, CODE_D25, CODE_I25, CODABAR,
CODE_128, CODE_93, CODE_11, MSI, UPC_E1, PDF_417, DATAMATRIX.
(25_IATA UCC_128, B_UPC, TO_39 will not be used to
configure barcodes).
bExpand
False=Not expand (EAN family) True=Expand.
nDecode
DECODEON=decode this symbology, DECODEOFF=do not decode this
symbology..
nMin
Minimum length of this symbology.
nMax
Maximum length of this symbology.
Remarks
One symbology (barcode type) should not appear more than once (have
more than one item) in a
barcode configuration.
Example
wsRfBarcode.ClearBarcodes ' Clear all barcodes
wsRfBarcode.AddBarcode UPC_E0, False, DECODEON, 6, 6
wsRfBarcode.AddBarcode UPC_E1, False, DECODEON, 10, 10
wsRfBarcode.AddBarcode UPC_A, False, DECODEON, 12, 12
wsRfBarcode.AddBarcode EAN_8, False, DECODEON, 8, 8
wsRfBarcode.AddBarcode EAN_13, False, DECODEON, 13, 13
wsRfBarcode.AddBarcode CODABAR, False, DECODEON, 2, 12
wsRfBarcode.AddBarcode CODE_39, False, DECODEON, 1, 32
wsRfBarcode.AddBarcode CODE_I25, False, DECODEON, 2, 14
wsRfBarcode.AddBarcode CODE_93, False, DECODEON, 2, 14
wsRfBarcode.AddBarcode CODE_128, False, DECODEON, 1, 32
wsRfBarcode.StoreBarcode "Demo", BCDISABLED
See also RFBARCODE, ClearBarcodes, StoreBarcode