Hello,
I am generating the barcode using code_128
but i could not corect result in specific number.
And change result randomly.
if some one know this problem how did you fix this?
testdata////
"0QP142-001"
"0QP431-001"
"0QN964-001"
int width = 100
int height = 50
code///
Writer writer = new MultiFormatWriter();
BitMatrix = writer.encode(content,BarcodeFormat.code_128,width,height);
BufferedImage image = MatrixToImageWriter.toBufferedImage(bitMatrix);
ImageIO.writer(image,"png",new File(output));