Crystal Report Tips

Sunday, April 09, 2006

Barcode Fonts in PDF

As part of the invoicing requirements I had to add Barcodes to the reports. We obtained the Barcode font as well as a User Function Library which would encode the font. A problem we faced when emailing the invoices as PDF to the client was that the barcode did not work. This was because we were using Crystal 8.5 and the barcode font has to exist on the clients machine for it to come out. The best way to solve this problem is to upgrade to a later version on Crystal because the later versions can embed the font in the PDF.

Another problem we encountered with the barcode font was that when exporting to PDF the barcode would shrink to half its original size. To get around this we had to create the font double the size that it should be then when it was exported to PDF it would shrink to the correct size.


Post a Comment

<< Home