Due to incorrect function declaration in modules\barcode\plugins\code39.inc and modules\barcode\plugins\code93.inc barcode image was built wit zero width of wide bars and wide spaces. Of course it results in broken barcode image. To solve this just correct the declaration:
in modules\barcode\plugins\code39.inc:
* DoD applications
*/
function barcode_code39_barcode($barnumber, $settings) { //corrected line
$bars = barcode_code39_encode($barnumber, $settings); //corrected line
in modules\barcode\plugins\code93.inc:
* Barcode plugin
* Code 93 (aka USS-93): Compressed form of Code 39
*/
function barcode_code93_barcode($barnumber, $settings) { //corrected line
$bars = barcode_code93_encode($barnumber, $settings); //corrected line
Comments
Comment #1
stewart.adam commentedNote - this issue does not affect 7.x branch.
Comment #2
tr commentedDrupal 6 is long out of support.
This module is no longer supported. I suggest you try using the Barcodes module instead (https://www.drupal.org/project/barcodes)
Barcodes is very similar to this module, and is supported for Drupal 7, 8, and 9.