Quantcast
Channel: SCN : Popular Discussions - SAP Crystal Reports, version for Eclipse
Viewing all articles
Browse latest Browse all 893

Crystal Reports font issue

$
0
0

Hello,

 

Background:

We use Oracle BI publisher as our reporting engine. We are now planning add Crystal support as 1 more option for reporting to our product.

We save the pdf file exported from BI publisher as blob in db.The blob data is then read later as byte[] and these bytes are sent directly to printer via WinPrintService.

 

For crystal we did the same.

I am exporting crystal report into pdf file format using crystal java api(cr4e) and saving the pdf data as blob in db so that it can be viewed/sent to printer later.

For printing pdf blob data from Crystal report, The file is printed and I can see the layout but instead of alphanumeric characters, I see blocks [] like characters.

 

I am not sure what is the exact reason but I think below listed issues may be at work here:

  1. If I compare the Pdf properties for the files(saving blob data as pdf files in the file system) generated by old oracleBI publisher and Crystal reports, both of them has font data and works correctly-when saving the blob data as pdf files in file system.

       I can see the font used by BI has encoding as ANSI while the font used by Crystal report(TrueType)  has 'built-in' encoding. Not sure if this is the              reason.

       Can we set the encoding of the fonts programmatically or using Crystal designer? I could not find anything in the api docs or in Crystal designer.

 

  1. If I send the blob data to CutePDFWriter, I can see that for both the files, the pdf generated by the CutePDFWriter for BI publisher as well as Crystal does not have font data associated with in the pdf properties which probably means that the blob that gets saved in db for BI publisher pdf has font data while pdf for Crystal does not.

 

Can you please let me know how can I overcome this?


Viewing all articles
Browse latest Browse all 893

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>