How to use barcode4j
I am using apache fop to generate the pdf .I am trying to integrate barcode into my pdf using barcode4j but it is not working.I have made following changes to the fop.bat
set LOCALCLA开发者_JAVA技巧SSPATH=%LOCAL_FOP_HOME%build\fop.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;'D:\xmlfo\src\ac\barcode4j-2.0\build\barcode4j-fop-ext.jar'
Just adding barcode4j-fop-ext.jar is not enough because it only contains the FOP plug-in but not Barcode4J itself. Please read http://barcode4j.sourceforge.net/2.0/fop-ext.html which tells you everything to get Barcode4J running with Apache FOP. HTH
精彩评论