I created an image of a barcode using:
Barcode39 code39 = new Barcode39();
img = code39.createImageWithBarcode(writer.getDirectContent(), null, null);
Everything was fine until there is a group number associated with the order_ID. I did
code39.setCode(order_ID + "-" + groupNumber);
The image looks OK. But the scanner would not read it. What do you think is the problem? The symbol "-"?
Thanks in advance.