What is Barcode ?
A barcode, consists of bars and shapes of varying width, is
a machine-readable form of alphanumeric characters that can be read with an optical barcode
scanner. Barcodes are used for many applications across many Industries such as
Manufacturing, Distribution, Retail, Food, Pharmaceutical, Transportation,
Entertainment etc.,
Why Barcodes are needed in Maximo ?
Maximo is designed for managing assets in many industries where barcodes are used. One such use case is Spare parts management in Inventory. Stocks are scanned in front of the shelves (or bin) to enter actual balance of Inventory - it increases Inventory accuracy and Work efficiency.
Maximo Product team don't support for any issues barcode in BIRT. So, we need to know the methods of generating barcodes for Maximo application.
Barcode Generation in BIRT Report
As Maximo uses BIRT for reporting, we will see on how barcodes can be displayed in a report. We have following methods of creating barcodes in BIRT report.
- Barcodes using plugins
- Barcodes using ZXing API
Plugins are provided by different vendors, available
in BIRT marketplace.
We need to place the barcode plugin jar files in this path <folder>\birt_431\eclipse\plugins to display an extension item for barcode in Report Item palette in Eclipse Report Designer.
Preview Barcode in Eclipse
For running the barcode
report from Maximo application, we need to upload the plugin jar file in this
installed path
\IBM\SMP\maximo\applications\maximo\maximouiweb\webmodule\WEB-INF\birt\platform\plugins,
then
build and deploy the EAR for making this report runtime generate barcode in
browser.
Zxing (Zebra Crossing) - It’s open source API barcode
image processing library implemented in Java. It supports one and two dimensional barcodes.
IBM\SMP\maximo\applications\maximo\maximouiweb\webmodule\WEB-INF\lib and proceed with deployment of EAR process.
Preview of report from Maximo application
References:
Hi Surendar, This post really helpful to about the Bar Code Generation. We used Zxing jar for QR code Generation in Maximo. Zxing QR code is generating when executing report via report viewer, browser viewer but Zxing QR code is not generating via direct print Option of Maximo. The report shows as blank when report running via direct print option. Could you have any idea on this to help or any suggestion?
ReplyDeleteHi Nivethitha, We won't get support from zxing or IBM product team on direct print report with QR Code. Please customize the solution with work around to achieve your requirement. An action with automation script to execute the report and email to a user - the user can print the report from their mailbox.
Delete