|
From: MARCOS P. <mpi...@ho...> - 2011-11-01 20:10:37
|
Hi, My name's Marcos. I've been using your barcode4j to generete a datamatrix. I downloaded the source file, and i've opened the file SampleBarcodeEnhanced.java,and i already genereted a png image succesfullly, but i also want to add more words in the part of the string msg, i all looks good, but when i compiled it, generates an error this one: java.lang.IllegalArgumentException: Can't find a symbol arrangement that matches the message. Data codewords: 50 at org.krysalis.barcode4j.impl.datamatrix.DataMatrixSymbolInfo.lookup(DataMatrixSymbolInfo.java:149) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixHighLevelEncoder$EncoderContext.updateSymbolInfo(DataMatrixHighLevelEncoder.java:282) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixHighLevelEncoder$C40Encoder.encode(DataMatrixHighLevelEncoder.java:375) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixHighLevelEncoder.encodeHighLevel(DataMatrixHighLevelEncoder.java:134) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixLogicImpl.generateBarcodeLogic(DataMatrixLogicImpl.java:50) at org.krysalis.barcode4j.impl.datamatrix.DataMatrixBean.generateBarcode(DataMatrixBean.java:128) at SampleBarcodeEnhanced.generate(SampleBarcodeEnhanced.java:65) at SampleBarcodeEnhanced.main(SampleBarcodeEnhanced.java:131) I don't know what to do, i've been searching but I havent found anything, I hope that you could help me, beforehand thank you so much!! |