Wednesday, June 21, 2023

MAS Manage 8.x Supports Barcode fonts in BIRT report

In MAS, IBM Product team supports bar code fonts in BIRT.

Currently, there are 3 fonts that are validated in MAS: Free3Of9 Extended, IDAutomation and 3 of 9 Barcode.

In order for bar codes to work, we need to install them in Maximo server and client machine. 

Bar Code fonts in developer (or Client Machine) 

A bar code is a type of font and it needs same steps for installation in a system. Download the font, open it and click on Install button.





Enabling bar code font on MAS 

There are 2 files fontsConfig.xml and fontsConfig_pdf.xml in the BIRT jar file org.eclipse.birt.report.engine.fonts_4.3.1.v201308301349 located in Maximo installed path IBM/SMP/maximo/applications/maximo/maximouiweb/webmodule/WEB-INF/birt/platform/plugins


Rename the extension of .jar to .zip and view the list of font configuration files. 


fontsConfig.xml - add highlighted line 

fontsConfig_pdf.xml - add highlighted line 

After modifying the .xml files, update the files in .zip file, then rename it to .jar

Customization zip file need to be prepared for MAS pod. It will be applied on every deployment of the Maximo application.

Create a path "\applications\maximo\maximouiweb\webmodule\WEB-INF\birt\platform\plugins" -> Copy the updated .jar file in this path -> create a customization.zip with this path ( don't have any blank or special characters for zip name). 

Deploying the customization zip file and creating a volume object for ttf font file will be done by the IBM Infrastructure support team. 

If Maximo report don't display the barcode, please raise a case to IBM Product Support team.

2 comments:

  1. Hi Suren Did you face issues with Barcodes in Chrome and Edge browser after making these changes. We find that in Chrome and edge the barcodes are not displayed while running reports in browser view. But in Firefox browser it works fine and in pdf output we can see the barcodes. Free 3 0f 9 is the font that we are using. Did you face similar issues. Please let us know

    ReplyDelete
    Replies
    1. Hi Michael, Yes. we faced same issues on viewing barcodes in Chrome and edge browsers. It's MAS 8.x limitation. If you export the report from these browsers in pdf format, you can view the barcodes in pdf & direct printing options of Maximo. Thanks, Suren

      Delete