Choose the right barcode format
Code 128 supports common text and numbers for internal labels. Code 39 supports uppercase letters, digits, and a restricted set of symbols. EAN-13 uses 12 data digits plus a check digit; UPC-A uses 11 data digits plus a check digit. Supply the data digits to calculate the checksum, or include the full number to validate it.