broschb Posted March 26, 2007 Share Posted March 26, 2007 I have a simple report that prints out a barcode, i designed this report using the barcode tool in ireport. When i run this report in jboss on windows the report prints fine, the barcode is displayed and the barcode numbers are legible. When i run this report against jboss running on a linux server the report is printed, and the barcodes are legible, and can be read by the scanner, but I get black boxes where the numbers should be. Has anyone else run into this problem, or been able to resolve it? Thanks, Link to comment Share on other sites More sharing options...
garfild Posted March 27, 2007 Share Posted March 27, 2007 I have the same problem.Running jboss under windows result with good barcode, running jboss under linux result with black bars as you mensioned.I join you with the cry for help.... Jo Link to comment Share on other sites More sharing options...
prsam Posted March 27, 2007 Share Posted March 27, 2007 Hi I have the same problems.I try also with the ean13.ttf. But when the font size is > 14 is not working any more under linux... Link to comment Share on other sites More sharing options...
garfild Posted March 27, 2007 Share Posted March 27, 2007 I found the problem in my case.In my run.sh file in jboss/binwe set one of java.awt API parameters.When I removed this parameter and re-run the run.sh filethe barcode turned out ok :-)The barcode creator is using Java.awt as well so that is why I got a bad barcode image.Try and look for awt packages configuration in your files. Good luck Jo Link to comment Share on other sites More sharing options...
broschb Posted March 28, 2007 Author Share Posted March 28, 2007 unfortunately there are no instances of java.awt in my run.sh. Has anyone been able to find a solution? 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