Barcode Smaller when Exporting to PDF from Crystal Reports

< Back
You are here:

Barcode Smaller when Exporting to PDF from Crystal Reports

When exporting a Report with a Barcode Font from Crystal Reports to PDF, the fonts decrease in size and barcodes may not scan because they are too small.


This issue is not caused by IDAutomation fonts, but is a known issue in some versions of Crystal Reports where it reduces the font when exporting to a PDF file. Usually, the following changes to the registry will solve the issue:

  • [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP BusinessObjects\CrystalReports for .NET Framework 4.0\Crystal Reports\Export\PDF]
  • [HKEY_CURRENT_USER\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework4.0\Crystal Reports\Export\PDF]
  • [HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\CrystalReports\Export\PDF]

Registry example for Crystal Font Size when Exporting to PDF

If these updates do not resolve the issue, try the following:
  1. Search the SAP Support Site and apply new updates and hot fixes for the Crystal Reports version being used.
  2. Use the shortest version of the font; for example, the XS version.
  3. Make the barcode field taller and wider.
  4. Increase the point size of the font to compensate for the shrinkage.
  5. Change the font size by programming an increase in size before exporting the report. For a code example of this workaround, go to and search for knowledge base article c2010641.

If the issue persists after performing all of the above, contact SAP Support for another solution.

Previous Barcode had all Zeros in Crystal Reports
Next Barcode truncated by Crystal Reports UFL
Table of Contents