Jump to content
JasperReports Library 7.0 is now available ×

help with bar code


2004 IR Help

Recommended Posts

By: aleydro beltran - aleydro

help with bar code

2004-01-06 09:11

Hi, i need to print EAN13 barcodes for the employees id's, i have tried with several EAN13 fonts but they don't work for me, i calculate the last digit and I also have taken care that after the bars (101) in the middle are righ hand type bars.

 

Thanks for any help

 

 

 

 

By: Giulio Toffoli - gt78

RE: help with bar code

2004-01-15 09:16

Cool kees,

 

I'll implements a new element: barcode.

 

Giulio

 

 

 

 

By: Kees Kuip - keeskuip

RE: help with bar code

2004-01-07 13:22

 

We are using iText to create an image from the barcode:

 

codeEAN = new BarcodeEAN();

codeEAN.setCodeType(CodeEAN.EAN13);

codeEAN.setCode("1234");

imageEAN = codeEAN.createAwtImage(Color.black, Color.white);

 

I'm sure you know how to display an image with IReport.

 

Kees.

 

 

 

 

 

 

By: Jerry Shao - shaogang

RE: help with bar code

2004-03-14 12:22

There is exception when execute code codeEAN.createAwtImage:

java.lang.ArrayIndexOutOfBoundsException: 5

at com.lowagie.text.pdf.BarcodeEAN.getBarsEAN8(Unknown Source)

at com.lowagie.text.pdf.BarcodeEAN.createAwtImage(Unknown Source)

Anyone know why?

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...