Code 39 barcodes with double start/stop patterns
Code 39 barcodes can be generated using either fonts or software such as embedded objects. When using a font, the text should include the start/stop * character at either end of the barcode, but software generated barcodes will often add the * characters automatically. This can sometimes result in barcodes with 2 * characters at either end.
e.g. **12345** rather than *12345*
This can be identified in a barcode by checking to see if the first 10 black bars conform to the pattern:
NNWWNNNWWN where N = narrow and W = wide.
Such a barcode doesn’t conform to the Code 39 specification, but can be read by the toolkit using the following settings:
Code39NeedStartStop = false or 0
Pattern = “^\*\*[^\*]+\*\*$”
Note that the barcode returned by the toolkit will contain the leading and trailing * characters.