Choose the barcode symbology expected by your scanner and inventory software, then enter the exact identifier. Print one sample at the intended label size before generating a batch.
Scan the sample with the real device and compare the decoded value character by character, including leading zeros and check digits. Test a slightly worn or low-contrast print as well. Keep quiet space around the bars and avoid resizing a raster barcode until narrow lines merge. If humans need to read the value, print it beneath the code.
A barcode image is useful only when the destination system interprets it correctly.