Jump to content

matrixkatamail.com

Recommended Posts

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

JasperReports has introduced a new technology to create custom componente and generic elements. We are re-implementing the barcode support in this way.

You can still use the old way iR was creating barcodes, that's using an image element feed with a Barcode image created using Barbecue (it's nothing of complicated, take a look to the class it/businesslogic/ireport/barcode/BcImage.java

This class has not dependencies by iReport itself (we are talking of the old version of iReport). The image expression must be something like:

 

it.businesslogic.ireport.barcode.BcImage.getBarcodeImage(int type, Object aText, boolean showText, boolean checkSum)

barcode types:

  1 - 2of7(text)
 2 - 3of9(text, checkSum) 
 3 - Bookland(text)
 4 - Codabar(text)
 5 - Code128(text)
 6 - Code128A(text)
 7 - Code128B(text)
 8 - Code128C(text)
 9 - Code39(text, checkSum )
10 - EAN128(text)
11 - EAN13(text) 
12 - GlobalTradeItemNumber(text) 
13 - Int2of5(text, checkSum)
14 - Monarch(text)
15 - NW7(text)
16 - PDF417(text)
17 - SCC14ShippingCode(text)
18 - ShipmentIdentificationNumber(text)
19 - UCCEAN128Barcode(UCCEAN128Barcode.SSCC_18_AI, text, checkSum)
20 - Std2of5(text, checkSum)
21 - UCCEAN128Barcode(applicationIdentifier, text, checkSum)
22 - UPCA(text)
23 - USD3(text, checkSum)
24 - USD4(text)
25 - USPS(text)
26 - linear.code39.Code39Barcode(text, checkSum, true)

Giulio

Link to comment
Share on other sites

  • 2 months later...
  • 3 years later...
  • 10 months later...

Hello,

 

up to now I'm working with IReport 2.0.5 which includes support to generate barcodes.

http://www.keepautomation.com/guide/vbnet_barcode_generator.html

Now I'm testing iReport 3.1.4 NB and I don't find the barcode feature anymore. Do I have to use the old version of IReport when I want to use barcodes or is there a possibility to get barcodes working in the new one?

Link to comment
Share on other sites

  • 3 months later...

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