Use this procedure to create symbology rules for two bar codes with the same symbology but with different discrete lengths. This procedure is not applicable for bar codes with variable lengths (falling between a maximum value and a minimum value).
Example 1:•A normal AIM or Symbol symbology role can be created for the desired bar code ID.
•Next, a custom bar code 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 bar code parameters will be used – EAN 128 and Code 128 bar codes. Some of the bar codes start with ‘00’ and some start with ‘01’. The bar codes are different lengths.
•34 character length with first two characters = “01” (strip first 2 and last 18)
•26 character length with first two characters = “01” (strip first 2 and last 10)
•24 character length with first two characters = “01” (strip first 2 and last 8). This 24 character bar code is Code 128.
•20 character length with first two characters = “00” (strip first 0 (no characters) and last 4)
On the Barcode tab, set Enable Code ID to AIM.
Create four custom IDs, using 1 for EAN 128 bar code and 0 for Code 128 bar code.
•c1 = Code = ‘]C1’
•c2 = Code = ‘]C1’
•c3 = Code = ‘]C0’ (24 character bar code is Code 128)
•c4 = Code = ‘]C1’
AIM custom symbology setup is assigned in the following manner:
•c1 min length = 34, max length = 34, strip leading 2, strip trailing 18, Code ID enabled, Barcode Data = “01”
•c2 min length = 26, max length = 26, strip leading 2, strip trailing 10, Code ID enabled, Barcode Data = “01”