You are on page 1of 13

IBM Maximo Asset Management

Adding Bar Code Fonts to Version 7x Reports

© Copyright International Business Machines 2012

1
Overview ........................................................................................................................... 3
BIRT Designer ............................................................................................................. 3
Version 7 Server......................................................................................................... 7
Troubleshooting Notes................................................................................................ 10
Reference Materials .....................................................................................................11
Revision History .............................................................................................................11
Notices ............................................................................................................................ 12
Trademarks ................................................................................................................ 13

2
Overview
This document details how you can enable Bar Code Fonts in BIRT Reports in the various V7
Applications. This process involves 2 steps:
1. Enabling Bar Code fonts on the Client Machine where the BIRT Designer is
installed
2. Enabling Bar Code fonts on the V7 Server where the BIRT Report will be
executed.

BIRT Designer
First, you must enable the barcode fonts on the client machine of the Report Developer,
who is customizing or creating reports within the design tool.
1. Either purchase or download barcode fonts to be used in your report.
2. The example below uses ID Automation Bar Code Fonts which are a free download at:

http://www.idautomation.com/fonts/free/

*Please note that the following on this font type:

A. The font above was released in 2006.

B. You can find an updated free 2009 version for 32-bit OS only at the url below:

http://cnet.co/Mn7s1J
C. Additionally, you can find an updated 2012 version available for purchase that
supports both 32 and 64-bit OS at this url: http://cnet.co/MqdDA8

3. Extract the zip, perform the install.exe. Browse to the location of the download barcode
fonts.

3
4. Copy the new barcode fonts to <c> windows\fonts.

5. Access the BIRT Designer, and open up the report that is being updated for bar code
fonts. In the example below, the Asset List report will be updated. The Asset
Number’s font will be changed to use a Bar Code Font.

6. From the font’s value list, select the bar code font. The display in the field changes to
the selected bar code font.

4
5
7. Preview the report in the BIRT Designer and the bar code font displays.

8. Save the report file. Import it to the Database thru either the import utility, or thru
the action available from the Report Administration application.

6
Version 7 Server
Next, you must enable the barcode fonts on the V7 Server so the reports display the bar
code fonts when converted to pdf for printing.

Note: The type of Operating System and Server you are using will determine how you load
the bar code fonts. The example below here will show you how to install the bar code font
on a Windows Machine.

1. Access the Control Panel. Select Fonts.

2. Then, from the menu, select Install New Font

7
3. Follow the dialog to browse to the location of the bar code font.

Restart the Server. After restarting, the bar code font is enabled on the server executing
the report.

4. Next, execute the report from V7. The bar code fonts display in the browser as shown
below.

8
Additionally, when the report is converted to pdf for printing, the bar code fonts also
display.

9
Troubleshooting Notes

Review the steps below if your barcode fonts do not display as expected.

1. Verify the bar code font you are using is a True Type font (TTF)

If it is a True Type font, you do not have to install it on the client machine of the user
executing the report.

If it is NOT a True Type font, you do have to install it on the client machine of the user
executing the report.

2. After installing the bar code font on the Version 7 server, you must stop/restart the
application server for it to take affect.

3. If your bar code font still does not display properly, you can add it to the Report Font
Configuration file by following the steps below:

Access the fonts file located in the directory below:


<V7>\applications\maximo\maximouiweb\webmodule\WEB-
INF\birt\platform\plugins\org.eclipse.birt.report.engine.fonts_2.3.2.r232_20090202.jar

Open the jar file in a zip tool, and extract the fontsConfig_pdf.xml.

In <font-encodings> section of this file, add an entry for your specific bar code font, similar
to what is shown below

<encoding font-family="Free 3 of 9" encoding="Cp1252" />

Replace the fontsConfig_pdf.xml in the jar with the new one you have created. Rebuild the
maximo.ear, re-deploy and test.

10
Reference Materials

For more information on report reference materials, reference the url below:

https://www.ibm.com/developerworks/wikis/display/maximo/Report+Reference+Materials

Revision History

Revision 2 – June 2012


Updates to bar code font types for 32 and 64 bit OS on page 3.

Revision 1 – April 2012


Updates included (1) Add troubleshooting notes (2) Reformatted Document

11
Notices
This information was developed for products and services offered in the U.S.A.

IBM may not offer the products, services, or features discussed in this document in other
countries. Consult your local IBM representative for information on the products and
services currently available in your area. Any reference to an IBM product, program, or
service is not intended to state or imply that only that IBM product, program, or service
may be used. Any functionally equivalent product, program, or service that does not
infringe any IBM intellectual property right may be used instead. However, it is the user's
responsibility to evaluate and verify the operation of any non-IBM product, program, or
service.

IBM may have patents or pending patent applications covering subject matter described
in this document. The furnishing of this document does not grant you any license to these
patents. You can send license inquiries, in writing, to:

IBM Director of Licensing


IBM Corporation
North Castle Drive
Armonk, NY 10504-1785
U.S.A.

The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS"
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-
INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. Some states do not allow disclaimer of express or implied warranties in
certain transactions, therefore, this statement may not apply to you.

This information could include technical inaccuracies or typographical errors. Changes


are periodically made to the information herein; these changes will be incorporated in
new editions of the publication. IBM may make improvements and/or changes in the
product(s) and/or the program(s) described in this publication at any time without notice.

Any references in this information to non-IBM Web sites are provided for convenience
only and do not in any manner serve as an endorsement of those Web sites. The materials
at those Web sites are not part of the materials for this IBM product and use of those Web
sites is at your own risk.

IBM may use or distribute any of the information you supply in any way it believes
appropriate without incurring any obligation to you.

12
Information concerning non-IBM products was obtained from the suppliers of those
products, their published announcements or other publicly available sources. IBM has not
tested those products and cannot confirm the accuracy of performance, compatibility or
any other claims related to non-IBM products. Questions on the capabilities of non-IBM
products should be addressed to the suppliers of those products.

This information contains examples of data and reports used in daily business operations.
To illustrate them as completely as possible, the examples include the names of
individuals, companies, brands, and products. All of these names are fictitious and any
similarity to the names and addresses used by an actual business enterprise is entirely
coincidental.

Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide. Other
product and service names might be trademarks of IBM or other companies. A current
list of IBM trademarks is available on the Web at “Copyright and trademark information”
at www.ibm.com/legal/copytrade.shtml.

Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft
Corporation in the United States, other countries, or both

13

You might also like