Reason
When barcode is exported to .jpeg format, width is taken from the field
defined in TDL and the barcode shrinks according to the length of the
string. Due to this the barcode may not get scanned.
Solution
Avoid defining the field width. This will allow printing the barcodes with sufficient width as per the requirement.