Barcode Tools for Crystal Reports > Reference

The Java interface

A Java component is included in the Server/Multi-user version of Barcode Tools for Crystal Reports.

The Java interface is provided by a Java servlet dbcservCR provided in the java\servlet folder of the Barcode Tools for Crystal Reports installation directory. The source code for the servlet is included in the java\servlet_source folder and may be edited for changing the default barcode properties. Multiple servlets may be used where many different default barcode setups are required.

The Java servlet creates a Portable Network Graphic image of the barcode simply by referencing the servlet with suitable parameters, e.g. setting a graphic location to

http://myserver/dbcservCR?CodeType=9&Xunit=12&ImageHeight=20&Data=12345

generates the barcode image on the report.

Note that parameters passed in Java are case-sensitive.

 

 

 

 

 

More:

Appendix