Simple java class to encode string and display barcode 128 with BI Publisher RTF template
Download Built with VSCode and JDK 11
1. Modify xdo.cfg
Add the line below to declare the truetype font. The font is delivered into the dist directory. (Thanks to GrandZebu for explanation and font : http://grandzebu.net/informatique/codbar/code128.htm)
2. Declaration of a custom function into a RTF Template
Add a field into the template and set the property like this
3. Convert into BarCode 128
Add the field with the value to convert and modify the property with the following script
4. Display BarCode
Modify the font for the field in RTF with and select "Code 128z". If the truetype is not declared into Windows fonts, you will not see the font but you can simply modify it by typing the font name as screenshot below