Solved

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

Posted on 2009-07-14
6
940 Views
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.  
0
Comment
Question by:phildtm
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:mohan_sekar
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
0
 

Expert Comment

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

Author Comment

by:phildtm
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.
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:phildtm
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?
0
 

Expert Comment

by:harkerad
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
0
 

Accepted Solution

by:
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.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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 INTRODUCTION This Article is a follow-up to the Article entitled How To Rename-Move a Batch of PDF Files Based o…
In a previous article published here at Experts Exchange, Signature Image with Transparent Background (http://www.experts-exchange.com/Web_Development/Document_Imaging/A_12380-Signature-Image-with-Transparent-Background.html), I explained how to cre…
In this second video of the Xpdf series, we discuss and demonstrate the PDFimages utility, which, in a single command, is able to extract all the images from a PDF file and save each one in a separate image file (PBM, PPM, or JPG). Download and inst…
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

822 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