2001 JI Open Discussion Posted August 17, 2006 Share Posted August 17, 2006 By: robert - cvg0127 Barcodes goes easy. 2002-08-29 18:31Hi all, Inserting a barcode is easy. 1. Make a scriptlet. 2. Scriptlet creates an Image object. 3. Then several vertical stripes have to be painted on the image. 4. Now the image object has to be assigned to jasper variable. Something like "setVariableValue ("barCode", .....);" 5. Just remember that jasper report variable has to be of the "java.awt.Image" type. 6. The image expression is: <imageExpression class="java.awt.Image">$V{barCode}</imageExpression> Now, does anyboy know how to successfully insert the scriptlet into the combination of jboss and webworks? Please, help. By: Srinivas Miriyala - miriyala RE: Barcodes goes easy. 2002-10-11 14:52Hello Robert, Is it possible to post some sample code on how to create image and to paint vertical bars on the image using scriptlet. I undertsand the concept but not sure how to do it programatically. Any help in this matter is highly appreciated. Best Regards Srini By: Boris Klug - bklug RE: Barcodes goes easy. 2002-12-10 09:49Yes! Please provide us with sample sourcecode! 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