shibinthomas Posted July 13, 2009 Share Posted July 13, 2009 Hi All,I need to create bar code in 2/5 format with '.' period should be set as a separator. Example data is 21348.075.016.40 1 When i giving this value it throws erorr java.lang.RuntimeException: . is not a valid character for Standard 2 of 5 encodingWhile using iReport 3.0.0 and also in 3.5.2 with barbecue and barcode4j --> Error filling print... java.lang.IllegalArgumentException: Invalid character '. (-1)'. Expected a digit. net.sf.jasperreports.engine.JRRuntimeException: java.lang.IllegalArgumentException: Invalid character '. (-1)'. Expected a digit. Dose any one know how can i represent this data -> 21348.075.016.40 1 in 2/5 barcode format.I am creating the barcodes for DHL Label Generation. Thanks in Advance,Shibin. Link to comment Share on other sites More sharing options...
shibinthomas Posted July 15, 2009 Author Share Posted July 15, 2009 Hi Please Help Me, thouse who no the solution please help me ThankShibin Link to comment Share on other sites More sharing options...
shibinthomas Posted July 16, 2009 Author Share Posted July 16, 2009 Hi giulio If u know the what is problem in my report please give replay to this postRegardsShibin Link to comment Share on other sites More sharing options...
shibinthomas Posted July 21, 2009 Author Share Posted July 21, 2009 HiSo, nobody uses iReports for barcode creation?If any one know this please help me.Thanks! Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted July 21, 2009 Share Posted July 21, 2009 As for Wikipedia, an Interleaved 2 of 5 can encode only digits (numerical symbols).http://en.wikipedia.org/wiki/Interleaved_2_of_5The separators and the spaces make sense only for human reading, so if you want to put this text under the barcode, use a textfield, but you need to strip out that symbols from the string used to create the barcode.Giulio Link to comment Share on other sites More sharing options...
shibinthomas Posted July 22, 2009 Author Share Posted July 22, 2009 Thank you for your replay. Regards Shibin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now