Solved

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

Posted on 2009-07-14
6
930 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
Comment Utility
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
Comment Utility
You must register the barcode font with Adobe Reader.
0
 

Author Comment

by:phildtm
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:phildtm
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Visual Studio Code with .Net Core 5 15
.NET Error 7 41
Need to Modify a Script I found 5 75
Code enhancement 5 12
Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
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 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…
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…

772 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now