Length Based Barcode Stripping
Length Based Barcode Stripping
Use this procedure to create symbology rules for two barcodes with the same symbology but with different discrete lengths.
This procedure is not applicable for barcodes with variable lengths (falling between a maximum value and a minimum value).
Example 1:
l
A normal AIM or Symbol symbology role can be created for the desired barcode ID.
l
Next, a custom barcode symbology must be created using the same Code ID as the original AIM or Symbol ID rule and
each rule would have unique length settings.
Example 2:
For the purposes of this example, the following sample barcode parameters will be used – EAN 128 and Code 128 barcodes.
Some of the barcodes start with ‘00’ and some start with ‘01’. The barcodes are different lengths.
l
34 character length with first two characters = “01” (strip first 2 and last 18)
l
26 character length with first two characters = “01” (strip first 2 and last 10)
l
24 character length with first two characters = “01” (strip first 2 and last 8). This 24 character barcode is Code 128.
l
20 character length with first two characters = “00” (strip first 0 (no characters) and last 4)
On the Data Options tab, set Enable Code ID to AIM.
Create four custom IDs, using 1 for EAN 128 barcode and 0 for Code 128 barcode.
l
c1 = Code = ‘]C1’
l
c2 = Code = ‘]C1’
l
c3 = Code = ‘]C0’ (24 character barcode is Code 128)
l
c4 = Code = ‘]C1’
AIM Custom IDs
AIM custom symbology setup is assigned in the following manner:
l
c1 min length = 34, max length = 34, strip leading 2, strip trailing 18, Code ID enabled, Barcode Data = “01”
l
c2 min length = 26, max length = 26, strip leading 2, strip trailing 10, Code ID enabled, Barcode Data = “01”
E-EQ-MX8WMRG-C [ 131 ] MX8WM Reference Guide