COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: CSMIS on 29 Jun 2021 02:16:51 AM

Title: Code 128 Bar code in PDF document
Post by: CSMIS on 29 Jun 2021 02:16:51 AM
We have a requirement to generate PDF documents with embedded code 128 barcodes.
There are plenty of Code128 fonts available, but we are struggling to find one with a compatable encoder to generate the check-digit and control characters.
The datasource is Oracle, so an SQL encoder is an option.
Can anyone recommend a solution?
Title: Re: Code 128 Bar code in PDF document
Post by: CSMIS on 15 Jul 2021 01:19:24 AM
Just to advise that we have a solution to this. Despite IDAutomation's statement on their website that they have no compatibility with Cognos, the customer decided to purchase the font pack and developer licence anyway. The developer licence included an SQL encoder that converted the text to code128 symbology and the bar codes are generated successfully.
Title: Re: Code 128 Bar code in PDF document
Post by: Christian85 on 16 Jul 2021 03:12:26 PM
Thank you for the update.

I didn't notice this thread but we achieved the same with the google font - we had to encode the ean 13 (in our case) so that it was correctly embedded in PDF. The font only needs to be installed on the Cognos Server.

https://fonts.google.com/specimen/Libre+Barcode+EAN13+Text