Jump to content
Changes to the Jaspersoft community edition download ×

Barcodes goes easy.


Recommended Posts

By: robert - cvg0127

Barcodes goes easy.

2002-08-29 18:31

Hi 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:52

Hello 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:49

Yes! Please provide us with sample sourcecode!

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...