Using the JRC, RTF embedded in Crystal while exporting to PDF

Are there enough acronyms for ya?  I donu2019t think so either. 
I am wondering if anyone else has experienced the problem I am facing and what fix, if any, did they find.  I have RTF data stored in the database I am trying to read into a report.  I set the text interpretation to RTF on the field and u201Cyeah!!u201D I have formatted RTF data as the user entered it in a RTF editor.
While using the JRCu2019s exporter to obtain a PDF format, the formatting set in the RTF tags is no longer being honor during the export (it shows up unformatted when I open the report in Adobe Reader and so my PDF display in code is also off). 
Has anyone else encountered this and what did you do to fix it (or was it fixed)?
My little about my environment:
-JVM 1.5
-Crystal jars version 11.8.5
-Eclipse 3.4
Did I miss anything?
From what I have read on here, it sounds like the Crystal jar 12.2.2 is better at supporting fonts in PDF exports but there is something in the sample code not allowing me to use a JDBC connection over a JNDI connection so I will have to get back to whether it is fixed under 12.  Regardless though, version 12 is not really a good solution for us for I believe this to be Crystal 2008 which we are not budgeted to license so I need to stick with CR XI R2 jar files.
I also found this in the thread entitle Greek fonts doesnu2019t appear on pdf export :  u201CExport it to editable RTF and then using Word 2007 has a plugin that allows you to export to PDF format which will embed the fonts.u201D  Is this what I need to do to display fonts that are normally found on a Windows installation (ie Arial, Times New Roman, Courier, etc.)?
Thanks in advanced for any light you may shed on this.

Moved to the Java Development - Crystal Reports forum.
Ludek

Similar Messages

  • Crystal report from JSP using the JRC

    Hi, I am trying to call crystal report from JSP using the JRC.
    But i am getting the Error as 'Logon Failed'. my web.xml entry is
    <env-entry>
    <env-entry-name>jdbc/Test</env-entry-name>
    <env-entry-value>!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@//10.0.0.1:1521/TestDB</env-entry-value>
    <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    i am setting the userid and password in the code. Please see the below code for your reference. Please help me to solve the issue.
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSource" %>
    <html>
    <head>
    <title>Crystal Report with Database Logon information</title> </head>
    <body bgcolor="#ffffff">
    <%
    try
    String report = "/TEMPLATE.rpt";
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    JPEReportSource reportSource = (JPEReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setReportSource(reportSource);
    viewer.setHasRefreshButton(true);
    IConnectionInfo newConnInfo = new ConnectionInfo();
    newConnInfo.setUserName("TEST");
    newConnInfo.setPassword("TEST");
    ConnectionInfos newConnInfos = new ConnectionInfos();
    newConnInfos.add(newConnInfo);
    viewer.setDatabaseLogonInfos(newConnInfos);
    viewer.setEnableLogonPrompt(false);
    viewer.setOwnPage(true);
    viewer.setOwnForm(true);
    out.println("Connection Information: "+viewer.getDatabaseLogonInfos().getConnectionInfo(0).getAttributes().toString());
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),null);
    viewer.dispose();
    catch(Exception e)
    throw new JspException( e);
    %>
    </body>
    </html>

    I never really had much luck with this approach.
    Mind you I was using Crystal Reports 10, and as far as I recall it didn't allow setting/changing of database at this level.
    Things to check
    - can you create a database connection on your page with this URL/username/password?
    - what server are you using? Tomcat? WebLogic?
    I found this in your other post:
    Connection Information: {Server Name=ee6rpt, Connection String=DSN=s(ee6rpt);User ID=s(ee62test);Password=;UseDSNProperties=b(false), Database Name=, Database DLL=crdb_odbc.dll}That would indicate it is using odbc to connect to the database (crdb_odbc.dll). ODBC is a bad idea with java.
    The way I have got it to work for me (after much trial and error) was to in Crystal Reports to connect using the Oracle Driver, and specifying a tnsname - eg define REPORT_DS in tnsnames.ora.
    When running through the JRC, it looked for a JNDI datasource under that same name "REPORT_DS".
    Don't know if that will help you or not.
    Good luck,
    evnafets

  • In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File

    Post Author: bhaveshbusa
    CA Forum: Crystal Reports
    In the ReportDocument.Load method it tries to connect using the using the connection information embedded in the Report File. When the application calls ReportDocument.Load(reportFileName). This
    tries to connect to the database using the connection information embedded in
    the "reportFileName". This was only realised on checking the ODBC Trace
    Log. The connection itself is not a problem. The problem is that the embedded
    connection information is related to OLD production system. And failed
    connections had raised some concerns.
    Note: I am using
    SetDataSource to populate the data for the report. So I don't need the
    connection.
    Is there any way I
    can disable this auto-connect?
    Thanks and
    regards,
    Bhavesh

    960738 wrote:
    I need a help in answering one of the issue encountered last week.
    I have created a database link and tried to access the information from a table using the program written in another language. The password provided was incorrect for that user while creating database link. So we expected that,while retrieving the data, Database connection has to be errored out as password provided is incorrrect.
    But unfortunately, user account was locked out. When i checked with DBAs they mentioned that it tries to connect 16 ports with in a min of time.we were shocked as it STOPS another scheduled jobs with that user. and affects production badly.
    As per the program, it has to connect only one time and yesterday we tried to execute the program in DBAs observation and it errored out as expected. Didn't tried for multiple ports.
    Now the question is, WHY the database connection established 16 times last week and caused user account locked. DBAs are unable to answer it. Any EXPERTs opinion on this would greatly appreciated.
    I have verified managing ports in oracle documentation, it was mentioned that if one port is busy it will try to connect to another port in the range of ports mentioned during the installtion. DBAs verified ports related file and it was blank. and they are not agreeing with this reason. Please HELP me in finding the correct REASON for this.
    is it a NETWORK issue or issue with DATABASE SERVER only?
    Thanks
    SSP
    Edited by: 960738 on Sep 22, 2012 9:13 PMDBLINK is 100% oblivious to the fact any port exists.
    DBLINK only contains username, password & TNS Alias.
    can you post actual SQL & results?

  • My 3GS will not accept my correct password and user name to start using the Cloud.  It just spins while "verifying."

    My 3GS will not accept my correct password and user name to start using the Cloud.  It just spins while "verifying." How can I make it stop so I can activate iCloud ?

    try using @me.com instead of your service address, i mean hotmail or yahoo or else, thanks.

  • How can I use the Netflix app on my iPad while traveling outside the US?

    Is there any way to use the Netflix app on my iPad while traveling out of the country? I am curently in Russia. I downloaded software to mask my IP address on my laptop. Is this possible for the iPad?

    There's no way to mask or hide an IP address on an iPad that I am aware of. As to using Netflix from outside of your country, ask Netflix about that.
    Regards.

  • Using the iPod Function of iPhone 3G while docked in the Universal Dock

    I am trying to use the iPhone to play my music while docked in my universal dock with the correct snappins that I just received. I here absolutely no music from the speaker while docked. I have tested it while using the alarm and receiving a call from someone. Is there something I am doing wrong or does it just not play music the the speakerphone while docked. Thanks, Jeff

    There is a difference between the iPhone 3G dock and the Universal dock with the iPhone 3G insert that allows one to be used as a speakerphone (or standalone iPod) and the other to be used really only for synching and charging.......you can guess which is which!
    If you really need the hands-free speakerphone facility (with iPod music delivery of a sort) then the 3G dock is the baby, but if you really want quality iPod music-delivery then why not consider a cable from your Universal dock to your sound-system? This solution works for me for music (as well as synching and charging) but hands-free speakerphone is still a no-go with my Universal dock, so I then use the 3G one.
    I hope that helps....

  • Error  while exporting in pdf in crystal report XI

    Post Author: Siddheswar
    CA Forum: General
    hi
    I am getting the following error in crystal report XI while exporting to pdf.
    The Error:
    Method 'ISCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version=11.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overridden.
    Please Help.
    Thanking in advance.
    Regards
    Siddheswar

    The stack trace is caused by whitespace in your CrystalReportViewer.jsp file.  Look up SAP Note 1199025 for the resolution.
    It's not related to the PDF formatting issue.  There's been changes to the formatting with the most recent version - Crystal Reports for Eclipse 2.0 - so if you haven't already, I recommend you upgrade.
    Note that there's differences in font metric calculation when using Adobe PDF format such that there's no way to get exact agreement between output of the CR and PDF.  But the latest version helps greatly.
    Sincerely,
    Ted Ueda

  • InDesign doesn't let embed the font while exporting to PDF

    I used a font while working on a document in InDesign and later while exporting to PDF I got a warning that the software is unable to include that font.
    Is there a way to go around it? It was a free cyrillic font and it's not possible to buy it. I suppose creating outlines is not the right way to go
    Thanks in advance

    Eugene Tyson wrote:
    … Most free fonts that I know of don't allow embedding - for this reason it's not a good idea to use a free font. …
    I'm no particular fan of so-called “free fonts” — you most often get exactly what you pay for. However, that having been said, in my years of gathering such fonts for debugging and problem solving, in fact very few of them are actually set with the protection bits to prohibit embedding. For TrueType and OpenType fonts, you can readily check outside of InDesign as to whether a font is embeddable in a PDF file. For Windows, right-click on a font file and check the properties; embedding privileges are described in one of the tabs. For MacOS, the FontBook utility can provide the same information for a font.
    The problem is that when you attempt to use a font that is physically protected against embedding, you pretty much need to follow the advice given by Eugene. Personally, I would recommend the use a different font option, checking the font prior to using it for your rights to embed it in PDF.
    Note that font licensing is legal minefield. Many fonts that are posted on-line are not really free. Some are shareware with restrictions in their written licenses that require payment for commercial use (often in ReadMe files which may somehow be “lost” when such fonts are reposted over and over again) or even pirated fonts (i.e., commercial fonts simply illegally posted on-line).
    My personal recommendation is that for any commercial use, you explicitly license your fonts from a known, reliable source to avoid possible legal issues in the future.
              - Dov

  • Problem while exporting to PDF with japanese character in Crystal Report X1

    Hi,
    I am using Crystal report X1 with classic ASP on a Windows 2003 Enterprise Server, SP 2. In my application, I have to export the report into PDF, CSV, DOC formats. I am have Japanese strings in the report. While exporting to PDF, empty boxes has displayed in the place of Japanese string and in CSV file, question mark has been displayed instead of Japanese string. But the Doc file is exported correctly. I have not installed any language support software either in server or in client machine. I have used MS Gothic and Arial Unicode MS fonts for the text-objects which has Japanese strings.
    Please give me a solution so that I will get PDF file with Japanese strings instead of empty box or question mark.
    Do I need to install any language support pack software?
    Thanks in advance.
    Regards,
    Manju

    Hi Don,
    Thank You for your reply. I have resolved the issue of exporting to pdf from crystal report X1 having Japanese data after installing the language pack.
    But when I am exporting to CSV or TXT, i am getting ??? instead of Japanese characters. I have tried "export" through crystal report designer and got ??? instead of Japanese.
    The Crystal report version I am using is Crystal report X1  11.0.0.1282
    Crystal Report Desinger is installed in Windows Xp machine
    Font set for Text object is Arial Unicode MS, MS PMincho, MS PGothic
    Does the Crystal report X1 11.0.0.1282 has the UTF-8 support for CVS / txt
    Please provide me a solution
    Thanks in advance,
    Regards,
    Manju

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • Using the Convert button in Adobe XI results in a pdf with check boxes containing ? marks

    Using the Convert button in Adobe XI results in a pdf with check boxes containing ? marks@

    Hi Charles,
    Are you still facing this issue. Is this issue reproducible with every file you want to convert.
    Regards,
    Ajlan Huda.

  • Loosing alignment while export to PDF

    Hi,
    I am using Crystal Reports XI, I am loosing alignment once crystal Reports is exported into PDF file.
    How to retain alignment,  please help me out.
    Thanks and Regards,
    Manjunath Jogin

    I would suggest you to edit the registry settings and added the below keys;
    Note:-Before you do any modifications in the registry, please take a backup of the registry.
    -Create a new key under 'HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports' called 'Export'
    -Create a new key under 'HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Export' called 'PDF'
    -Create a new Dword value called 'UsePrecisePositioningForText' under 'HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\Export\PDF'
    -Set the value to 1.
    -Create a new Dword value called 'TruncationAdjustment' under 'HKEY_LOCAL_MACHINE\Software\Business Objects\Suite 11.5\Crystal Repor ts\Export\PDF'
    -Set the value to 10.
    TruncationAdjustment is DWORD between 0 and 10. It's a 'fudge factor' that adjusts rounding when the total widths of characters are calculated.
    Default is 5. Larger values add safety from truncation.
    After modifying the registry and relaunching the CR designer, the exported report.
    Hope this helps.

  • Remove back image while exporting to PDF (InDesign CS4)??

    Hi All,
    I have two images in my InDesign CS4 file and one image is hiding behind my second image. When I am exporting my InDesign file as Pdf and opening in Acrobat, Acrobat showing bottom image first and then showing my top image.
    Is there any way to remove my bottom image which is appearing behind in my top image while exporting to Pdf.
    I don't want remove manually because it happening with most of my InDesign file.
    Please suggest.
    Thanks
    Baljeet

    I would move bottom image to separate layer and then eventually I would switch it off.
    If you don't want to change anything in InDesign you can eliminate the second image in your already generated PDF.
    Open your PDF in Acrobat Pro.
    Advanced -> Print Production -> PDF Optimizer.
    You can leave only "Clean Up" check box marked (eventually Transparency if Acrobat will not allow you to switch it off). All the rest leave unchecked.
    This operation will remove hidden image.
    Correction: It will not remove the image. It just made the PDF to be displayed much more faster that is why the second image appearance was not noticeable. Sorry for the inconvenience.

  • Crystal Report Export to PDF with Group Tree Bookmarks

    Dear Forum
    I have created a Crystal Report aspx page with an export function of the report to pdf. So far all has been successful, except form one little annoying this. The report does export to a pdf file and it does create bookmarks based on the group tree, BUT when opening the pdf file the bookmarks hiest point which should be the file name is the really long temp file name with .rpt as an extension. I have looked every where to try to get it to write the filename to the bookmark hierarchy without success.
    I come you you all for any form of help to solve this issue.
    My code is below
    CrystalDecisions.Shared.ExportOptions export_options = new ExportOptions();
                export_options.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
                string ext = ".pdf";
                string reportName = "Filename";
                CrystalDecisions.Shared.PdfFormatOptions pdfOptions = new PdfFormatOptions();
                pdfOptions.CreateBookmarksFromGroupTree = true;
                export_options.ExportFormatOptions = pdfOptions;
                report.ExportToHttpResponse(export_options, Response, true, reportName);
                Response.Clear();
                Response.Buffer= true;
                Response.End();
    Below is an image of the output
    Any and all help is greatly appreciated

    Using the search box in the top right corner and entering the search string 'bookmark pdf crystal', the very 1st KBA is:
    1331152 - Report exported to PDF format with bookmarks displays the bookmarks as report name plus a GUID
    Please see if this resolves the issue for you.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Using the computer in a second display while a presentation is going

    I am not sure how to phrase this in a forum search. I have two displays. I'd like to view a presentation on one display while being able to work on other things in the other. But when I play the presentation, one monitor goes black while the other one presents the show. Is there a way to be able to use the monitor that goes blank to do other stuff?
    I'm using keynote to display a referencing program I made in Keynote when I check drafting, but I'd like to be able to do additional research in the other display without disturbing the keynote presentation.
    Any suggestions would be a lot of help.
    Thanks!

    I have not found any solution. Keynote naturally assumes the secondary display is for presentation notes for the presentor. As it is, Keynote is pretty useful, but just think what it could be with just a few more features like this! I bet that eventually this feature makes it into the application. Give Apple another 15 years and I'm sure we'll see it.

Maybe you are looking for