How do I get a barcode font to display in Crystal Reports pdf out of VS2008?

Posted on 2009-07-14
Last Modified: 2013-11-26
I am designing a report using the Visual Studio 2008 embedded Crystal Reports.  In this report there are several items that must be displayed using barcodes.  The report output format must be pdf.  The report runs OK but in the pdf file the barcode font does not render.  It merely displays the numerical values in normal display format.  If you do a report preview the barcode font displays OK, but not in the pdf.  I have tried several different barcode fonts, all with the same result.  I have installed the fonts each time both on the local client machine and on the development and runtime server.  I see other people have reported this issue, but I did not see any satisfactory solution short of purchasing a complete barcode add-on package.  That seems to be a bit of overkill for what I want to do.  
Question by:phildtm
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 15

Expert Comment

ID: 24858461
Just use iTextsharp (a free PDF library) to load the pdf generated by CR and add the barcode to it. Visit for more information on iTextsharp

Expert Comment

ID: 24858912
You must register the barcode font with Adobe Reader.

Author Comment

ID: 24874780
mohan sekar:  I will try the open source to see if it allows me to incorporate the barcode font in a way that will make it viewable when the pdf is opened.  Thanks for the tip.
Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.


Author Comment

ID: 24874788
harkerad:  I could not find anything on registering a font with Adobe Reader, only on embedding a font into a pdf.  Is there a separate process to register a font with the Reader, or did you mean embedding?

Expert Comment

ID: 24875712
Place your barcode fonts in the Acrobat local CIDFont or Font folder of the resource folder.
for example:  C:\Program Files\Adobe\Acrobat 9.0\Resource\CIDFont

Accepted Solution

phildtm earned 0 total points
ID: 24881227
What we finally decided to do was to purchase the ID Automation Native Barcode Generator for Crystal Reports.  The suggestion to place the barcode font in the Adobe font folder did not work.  The iTextSharp methodology might have some promise but in the interest of time we've gone with the ID Automation.  I did test their demo and it worked fine to produce barcodes in pdf files from Crystal.  The other reason we're going with this approach is that the barcoded documents need to be readable on any device that can read a pdf file, even ones that have no barcode fonts installed.
Thanks to those who provided the tips for their time.

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
We often encounter PDF files that are pure images, that is, they do not have text characters, but instead contain only raster graphics. The most common causes of this are document scanning software and faxing software/services that create image-only…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question