The
following video shows a simple reports with a barcode.
The
demo version includes a sample report in the eclipsebirt/exampleReport subdirectory.
This
contains 2 files:
barcodeReport.rptdesign: the report itself.
TestBarcodeData.txt : test data
The report reads the data from the text file, a data
source and a data set has been defined for that. In preview mode, the expression
"row["barcodeField"]" will be evaluated. At designer
time however the barcode used the constant value of the "Test Value"
field.
The
test report can be deployed to Tomcat (and alsoin other servers) in the
following way:
Copy
the barcodeReport.rptdesign and TestBarcodeData.txt
to the directory <tomcat>\webapps\<birt>
Copy the file com.java4less.birt_.*.jar to
<tomcat>\webapps\<birt>\WEB-INF\lib
Extract the following jar files from com.java4less.birt_.*.jar
using the following commands
jar xf com.java4less.birt.barcode.jar lib/qrcode.jar
jar xf com.java4less.birt.barcode.jar lib/raztec.jar
jar xf com.java4less.birt.barcode.jar lib/rbarcode.jar
jar xf com.java4less.birt.barcode.jar lib/rmaxicode.jar
Copy the 4 extracted jars to <tomcat>\webapps\<birt>\WEB-INF\lib
Oracle, APEX, Java, JSP, JDBC, JDK and all Java-based marks
are trademarks or registered trademarks of Oracle and/or its
affiliates. J4L Components is independent of Oracle.