A new class has also been added to generate Code128 barcodes with user defined codeset patterns. Sample code is given below:
Code128CodeBuilder builder = new Code128CodeBuilder(Code128Set.A);
String codeText = builder.Append(“1234”).Switch(Code128Set.B).Append(“5678”).toString();
BarCodeBuilder b = new BarCodeBuilder(Symbology.CODE128, codeText);
b.setCode128Set(Code128Set.Customized);
String file = “code128.png”;
b.save(file);
String codeText = builder.Append(“1234”).Switch(Code128Set.B).Append(“5678”).toString();
BarCodeBuilder b = new BarCodeBuilder(Symbology.CODE128, codeText);
b.setCode128Set(Code128Set.Customized);
String file = “code128.png”;
b.save(file);
For release notes and download, please visit http://www.aspose.com/community/files/72/java-components/aspose.barcode-for-java/default.aspx.