Categories
Crystal Reports Exporting PDF Printing Ripplestone

Force Larger Font when Exporting to PDF from Crystal Reports

When exporting from the Crystal Reports Runtime Engine, some reports will have a smaller font size when exported to pdf.  This can also happen when printing a report since browsers such as Chrome, Firefox and Edge will first export the report to pdf and then print the pdf file.  Internet Explorer can either print using an ActiveX control or by also first exporting to a pdf file.  When using the ActiveX control the fonts retain the correct size.

To force the engine to maintain the font size you will need to make a change to the Windows Registry.  To make the change open the Registry Editor by typing RegEdit.exe in the Run dialog box.

image

 

Once the Registry Editor is open, find the Crystal Reports key using the following path:

HKEY_LOCAL_MACHINESOFTWAREWow6432NodeSAP BusinessObjectsCrystal Reports for .NET Framework 4.0Crystal Reports

Most likely you will need to add two new keys.  First add a key called Export and then a new key called Pdf if they are not there.  The final structure will look like this:

image

 

In the Pdf key add a new DWORD called ForceLargerFonts

image

In the new DWORD, change the value to a 1 and save the value.

image

Once complete, the new value should look like below:

image

Close the Registry Editor and test opening a report in Ripplestone and export it to a pdf file.

By jlyon12

I'm a partner at TechSol Consulting and we make a software application called Ripplestone that is used to publish, manage, distribute and schedule Crystal Reports. We also create custom websites for ecommerce sites.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s