cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with barcodes

Former Member
0 Kudos

Hi guys

We seem to be having a problem with barcodes.

We have purchased additional barcode libraries from Azalea - We work with airlines and they require the Code 128w barcodes and not the code 39 that have been integrated into Crystal.

These additional barcodes work fine with the crystal reports viewer, but when i try and execute them through the Java Reporting component i get the following


com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: InternalFormatterException---- Error code:-2147467259 Error code name:failed
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)
        at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111)
        at com.crystaldecisions.reports.sdk.PrintOutputController.export(SourceFile:54)
        at com.corefreight.corepublisher.reportgeneration2.ReportGenerator.generateReport(ReportGenerator.java:193)

Im pretty sure that the barcode is the issue as once I remove it, the report will execute succesfully.

Am i doing something wrong or missing something?

This seems to be connected to a missing 'u25azalea.dll' file, which is interesting as this file is in my system32 folder. I will update as and when i have new information

update:

I tried to explicitly load the 'u25azalea.dll' file using the fololwing


System.load("C:\\Windows\\SysWOW64\\u25azalea.dll");
//System.load("C:\\Windows\\system32\\u25azalea.dll");

and got the following exception


Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Windows\SysWOW64\u25azalea.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1005)

Which leads me to believe that the Azalea barcode dll is not 64bit compatible.

Edited by: Tim_sa on Oct 5, 2009 4:52 PM

Accepted Solutions (1)

Accepted Solutions (1)

ted_ueda
Employee
Employee
0 Kudos

The Azalea bar code technology is implemented using binary User Funcition Library (UFL) methods, that is not supported with the Java engine JRC, so you'd not be able to use the dll even if you load it.

Sincerely,

Ted Ueda

Answers (2)

Answers (2)

0 Kudos

Hi,

I am still getting same error, please help me to resolve below error.

com.crystaldecisions.reports.formulas.FormulaException$MissingUFL: Exception in formula '{@-displayString-17}' at 'BarcodeC128A( ToText(CurrentFieldValue) )': UFL 'u25azalea.dll' that implements this function is missing.

Thanks,

Former Member
0 Kudos

Thanks for the speedy Reply Ted, do you know if this is planned for a future release ?

Thanks

Tim

ted_ueda
Employee
Employee
0 Kudos

Binary UFL support isn't in scope for the current Crystal Reports Java product.

Some Barcode fonts implemented as TrueType fonts you can use in CRJ (since it's just a different font representation for a string), but a lot of barcode formats are not implemented as just fonts, since they get pretty complex.

Sincerely,

Ted Ueda

Former Member
0 Kudos

Hi,

The existence of the the following jar com.azalea.ufl.barcode.1.0 in the "Crystal Reports for Eclipse 2.0 Release Update 3"give me hope. Does this mean barcodes can now be printed?

Former Member
0 Kudos

We have a need to be able to print barcodes from CR4Ev2. I've seen Ted Ueda and others mention that there are barcode f o nts available, and that some do not work with CR4E... Which ones WILL work with CR4E?