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

Posted on 2009-07-14
Medium Priority
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 http://itextsharp.sourceforge.net/ 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.
Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.


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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Update 21-May-2015: I temporarily removed the source code and the code snippets to make major changes to the program. Regards, Joe A recent question here at Experts Exchange piqued my interest, so I decided to provide a thorough solution and publ…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
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) …
Suggested Courses

741 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