PDF Export And Printing Problem

I am using VB 2005 and the Crystal Reports that is bundled with it. I have reports on my website in the Crystal Report Viewer. I have the tool bar showing the Export and Print buttons. When you try to print (or export to PDF) you get an error from Adobe Reader "Adobe Reader could not open 'AcrXXX.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
I can see the file in my temp folder on my c-drive and the file (AcrXXX.tmp) does not contain a pdf instead it contains html for the report (including the report viewer). I tried deleting everything in my temp folder and I still get the error. My desktop is Adobe Reader 8.0 and IE 6 and Windows XP.
The same code will create the PDF on all development and test web servers just not on my production server.
I have no problem exporting a report to Word.

Hello Wendy,
if you are not too sure whether this errro is CR or VS related pls simply try to use one of our samples and see if you can export from htere or if you get the same error:
Sample site for NET:
https://boc.sdn.sap.com/dotnet/samples
general docu:
https://smpdl.sap-ag.de/~sapidp/012002523100005853792008E/walkthrough_supportfiles.zip
specific samples:
https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe

Similar Messages

  • [CS5.5] Lock PDF export and print presets

    Hi,
    With this post I would like to ask a question regarding locking certain features in Indesign.
    Does anyone know if it is possible to ...
    - lock PDF export and print presets so a user is not abble to change/override any preset properties, and is forced to use a preset without the possibility to override any of the properties when using it?
    - force a user to use one of the predefinied presets to print or export a document without the ability to create a new preset?
    - verify PDF-files to check what Indesign print/export preset was used?
    Being part of a larger prepress team, we would like to make sure that, every PDF-file created by each team member, is created with the same specs.
    Does anyone know of any plugin, tool or release that enables such a functionality?
    Kind regards
    John

    If the employees cannot follow company policy, they need to know that there are other people looking for work who can. Yes, mistakes happen, but that would be a case of choosing the wrong preset from a list (which, if you leave more than one installed, can't be avioded). Changing settings against policy is not a mistake.

  • Crystal Reports export and print fails with SSL / https but works with http

    Windows 2008 Server, 32-bit (IIS7)
    ASP.NET 2.0
    Ajax 1.0
    Crystal Reports version 10.5.3700.0
    http:  printing works, export works
    https:  printing not working, only export to MS Excel and MS Word work.
    I am able to generate reports using both http and https, and the toolbar icons are all showing.  However, I am unable to print or export properly with SSL.
    Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
    A communication error occured.  Printing will be stopped.
    Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
    I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL.  Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7?  Everything works fine when I change the address from https to http.
    Please let me know if I can help by providing further information.  We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
    Thank you.

    Thanks Ludek. I got it by searching KB number.
    Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting.  I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
    1: Crystal report export
                Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
                Export to PDF : nothing happened.
    2: Print:
                Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
    Please advise.
    Thank you very much!

  • Export and print of Peports

    Hi All,
    I got stuck with a problem. Need your help.
    Actulally, I have 5 reports in a single page and have to provide common export and print functionality so that
    all the reports get exported in a single excelsheet and get generated in one PDF.
    Thanks
    PK

    hi 12261114,
    A) cheat. create a single report using UNION ALL, you might add a different "TYPE" column, and setting a column break with that column (move it to the front, break column 1). probably reports have different number of columns, add NULL columns in a query when using UNION
    display this/hide other reports when page in print mode, or some other state. you can have a dropdown or a checkbox for that.
    create page item if needed for switching page to print or other mode
    B) show all lines on all reports. use PDF printer on client site.. ..no CSV though
    Simon

  • Export and Print icons missing from report viewer

    I'm currently embedding crystal within a wicket application in which I'm making use of the getHtmlContent() method to retrieve the report's HTML.  For whatever reason, I'm not able to get either the export or print icons (on the top left side of the viewer).  Is this because I'm using the getHtmlContent() method or do I have something misconfigured somewhere?  Setting the setHasExportButton(true) and setHasPrintButton(true) on the report viewer object has no effect. 
    If I run the same report using the generated JSP outside of my application (within tomcat), I see the export/print buttons.  I notice the JSP makes use of the processHttpRequest() method.  Any help will be greatly appreciated.
    Thanks!
    Louis

    Hi Louis
    - The getHtmlContent() method handles the user's request to generate the HTML for the report and returns the HTML as a String.
    Note: Either the getHtmlContent method or the processHttpRequest method can be used to handle the user's request to generate the HTML for the report, depending on how you write your JSP. If the viewer's content is displayed more than once, then the getHtmlContent method is more efficient, because the request is processed once and the resulting HTML string can be used multiple times. In this case, you must set the content type of the HTML, as recommended in the table. Additionally, using getHtmlContent sets setOwnPage to false and disables exporting and printing.
    - The setOwnPage(true) and  processHttpRequest() method should be used if you want the export and print button to appear in the report viewed through Crystal Report Viewer.
    Following is the snippet of code which shows you how to use these 2 methods.
    //Get the IReportSource object from sesion and pass it to the viewer
         IReportSource reportSource = (IReportSource)session.getAttribute("reportSource");
    Create the viewer and render the report -
         //create the CrystalReportViewer object
         CrystalReportViewer oCrystalReportViewer = new CrystalReportViewer();
         //set the reportsource property of the viewer
         oCrystalReportViewer.setReportSource(reportSource);
         //set viewer attributes
         oCrystalReportViewer.setOwnPage(true);
         oCrystalReportViewer.setOwnForm(true);
         //set the CrystalReportViewer print mode
         //oCrystalReportViewer.setPrintMode(CrPrintMode.ACTIVEX);
         oCrystalReportViewer.setPrintMode(CrPrintMode.PDF);
         //process the report
         oCrystalReportViewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
    Hope this helps you .
    Thanks
    Soni

  • WARNING 20225 - PDF Port and Printer

    I recently bought a new computer and installed Adobe Acrobat 7.0 on it.  (Previously I had this software on my older computer where it worked just fine and sufficed for my needs.)
    When I installed this on my new computer, I got the following error message: "Warning 20225.  Adobe Acrobat 7.0 Setup was unable to create a new item: Adobe PDF Port and Printer.  The Adobe PDF may be unavailable."
    Sure enough, it is indeed "unavailable."
    How do I fix this problem?

    Open Start>Printers and right click on the Adobe PDF printer and select the properties. Under the port listing you should see it trying to use the Adobe PDF Port. Simply change that to File (Print to file). You may have to play a bit to configure this method, but it is a a work around. The PDF Maker may even work this way, but I have not tried that. You would have to then open the file in Distiller to create the PDF. You might be able to use a watched folder to automate the conversion a bit more, but all will require some trial and error. Do not be surprised if things do not work or seem messed up, that is the nature of trying to use backdoor methods like this. The alternative as suggested is to upgrade and AA X may be the last upgrade you will qualify for with AA7. Of course, the next version if probably 1.5 years down the road. If you can afford it at some point, I would suggest the upgrade and not continue the workaround, even if you can get it to work.
    The workarounds depend on taking out of the loop the various parts of the system that are so OS dependent. AcroTray is one of those components for the print process. PDF Maker is the other big one that is so dependent on how MS wrote OFFICE. I find it interesting that some folks complain about Acrobat not working with OFFICE and then go to a 3rd party to get the same result they would have gotten with Acrobat if they had simply printed to the Adobe PDF printer, but no they insisted PDF Maker. PDF Maker did not work and so they moved on without asking the basic question of printing.
    In any case, good luck. I am just running on and need to quit -- get some work done.

  • Export and print logging

    Hi experts:
    If we need to track records in regard to the exporting and printing behavior of users, that is, the usage of "export answer" or "print answer" functionalities on dashboard, is there any log files saved during the process? If yes, what's the files name?

    hi 12261114,
    A) cheat. create a single report using UNION ALL, you might add a different "TYPE" column, and setting a column break with that column (move it to the front, break column 1). probably reports have different number of columns, add NULL columns in a query when using UNION
    display this/hide other reports when page in print mode, or some other state. you can have a dropdown or a checkbox for that.
    create page item if needed for switching page to print or other mode
    B) show all lines on all reports. use PDF printer on client site.. ..no CSV though
    Simon

  • Is there a way to export and print the browser data as a spread sheet?

    I'm in the process of logging approximately 1,500 shots for a documentary (the old fashioned way - long hand: shot #, TC in, descriptions... ) and I'm wondering if there's a way to export and print the data in the browser as a spread sheet.  It seems like a pretty simple thing, but I don't see it any where. Am I missing something?

    Yes, people I work with use it, assistants fill the fields out for me. As far as I know there is no "Print Browser" option. Some folks have assistants copy and paste the info into text, csv or xml files.    Since everthing has gone to meta tags, this approach is going the way of the electric spoon or feeding mayonnaise to Tuna.
    Peace & Covering Fire,
    B.S.

  • CR 2008 paramteres, export and print windows language localization

    Hi, i want to use in my application Crystal Reports. I installed a trail version of CR 2008. My application is written in Delphi 7. I connected my application with Crystal Reports through the official VCL downloaded from http://ftp1.businessobjects.com/outgoing/products/vcl/crystalvcl11.zip and edited it to work with CR 2008 (12.x.x.x).
    Everything works with this VCL. When i have parameters the Enter Values window where i enter the values for parameters and in the Viewer window the Export and Print Dialog are in English. I want to have them in Polish Language ( or operating system language). In CR i set in View -> Preferred Viewing Locale -> More ... Polish but the viewer window, export, print and parameters are still in English. I tried this also on computers without installed CR 2008 but installed CR Runtime and it is still English.
    Operating system in Windows XP SP3 Polish.
    Any ideas what i can do to have this windows localized in my language?
    Robert

    Hello Robert:
    I am not sure that you will be able to do much. The VCL has not been updated since version 10 of Crystal Reports and it may be that the functionality you require will just simply not be possible. (I'll get someone else who used to work with the VCL to have a look too.)
    In the meantime, you may want to have a look at the following:
    Go [here|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm], then check out Crystal Reports .NET SDK > Tutorials and Sample Code > Other Tutorials > Configuring Multilingual Client Support. (The above is for CR XI R2, it's the same for CR 2008 - I just don't have a link handy.) I am not sure if the above will help.
    Also, note that you do not have to use the VCL. You can use the CR assemblies for .NET with Delphi. See the following for more details:
    /people/trevor.dubinsky/blog/2009/10/09/introduction-to-delphi-prism-applications-development
    /people/trevor.dubinsky/blog/2009/10/19/delphi-prism-how-to-setup-the-environment-for-crystal-reports-2008-and-bobj-enterprise-r3-development
    /people/trevor.dubinsky/blog/2009/10/26/crystal-reports-and-enterprise-net-developer-resources
    Samples:
    [Net Delphi CR2008 Simple Previewer|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90f71e6a-cc13-2d10-7c8c-e38ce6d278be]
    [Net-Delphi-CR2008-LogonInfo-subreport|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f02665e4-cc13-2d10-b180-e0a7b3770ae3]
    [Net-Delphi-BOE12_Simple_View_Report|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/702f1223-cc13-2d10-c383-967a1e8d11ac]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • CR Viewer tool bar images are missing; Export and Print are not working

    Hi There
    I used Crystal report 10.5(VS 2008 base crytal report -- CRRedist2008_x86.msi), i developed ASP.net application using VB.net  program(i used .net 3.5). One of the pages in the application is having crystal report viewer, which is calling a crystal report to populate the result. The report is working as expected on development machine (Win Vista). Hence, I moved the application onto Server (Windows Server Web; 32Bit OS and IIS). I installed the CRRedist2008_x86.msi, which added the "aspnet_client" under default website. As my site is a made as an application under default webiste. I tried...
    a) By copying the aspnet_client folder into the website folder
    b) By adding a virtual directory called "aspnet_client" under my website pointing it into the folder under "default website"
    None of the trials are working for me.
    When I click on Print or Export buttons (although their images are missing), I get the error sigh on bottom left (status bar) of the browser and the popping up the same giving me below error details
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; InfoPath.3; MS-RTC LM 8; .NET4.0C)
    Timestamp: Tue, 2 Nov 2010 15:11:12 UTC
    Message: Object doesn't support this action
    Line: 41
    Char: 1
    Code: 0
    URI: http://65.123.xxx.x:37188/xyzweb/(S(uhgxkx45iwlrbancwzfunp55))/reportpage.aspx
    Any help in resolving this issue would be greatly appreciated.
    Thank You,
    Edited by: skbo007 on Nov 2, 2010 4:11 PM

    Hello All.
    I am excited to let you know that the issue is being resolved.
    Here is steps that lead me to resolution and solution..
    I installed Fiddler2 and looked into every the debugging details of the transaction while running the report.
    Learned that the crystal report is using the aspnet_client foler under "Default website" NOT under the crrent website.
    Hence I tried to access the image via http path from local machine
    http://myserver/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/export.gif.
    (Notice, "mysite" folder is been removed)
    I was expecting to see the gif on my browsers' body. It gave me an error.
    Investigated further more on the error and found that the "Managed Pipe Line" of the respective application pool is to be changed to "Classic" instead of "Integrated"
    changed it .. Boom...
    Tool bar is showing up with proper images and as well the "Export" and "Print" functions are working as expected..
    Hope this helps to those in the same situation.
    Again.. this is one of many many solutions on this issues.
    Thank You
    Edited by: skbo007 on Nov 3, 2010 9:42 PM

  • Testing Export and print of additional web items

    Hi,
    Please do let me know how to carry on testing for Export and print of additional web items.
    Thanks & Regards,
    Lavanya.

    Following are some of the things you should test -
    Export -
    1. Exporting to File: For different file types check the way data is getting extracted as compared to report results in URL. Here you need to check - a. if the correct values are getting exported (w/o any conversion of data types, or any format changes). b. Layout of the exported data (ex. row data is appearing in rows, etc.),
    2. Check files for any missing data.
    3. Check if exporting the data, with selected drill levels, filters, etc. is working fine (or is exporting everything irrespective of the data from current report reults).
    Print -
    Print your report using the default printer on your machine & check the following -
    1. Reports is getting printed as expected in terms of data & layout.
    2. The rows or columns are well within the page defined in your printer settings (ie nothing is running out of page).
    3. When printing, change in orientation works for both the options without any loss of data.
    All web items will not be printed, so you need to make a note of this.

  • Problem with exporting and printing from pages to PDF

    I have a problem with my Pages
    My font will not be embeded in my pdf files.
    I have saved as a ps file and in to the destiller and my fonts are missing.
    I need to send my file to the print shop but they will not accept my file and i now understand why.
    fonts are missing...
    Is there a workaround.
    I have no problem in Indesign or quark but pages.....
    I need help
    thanks a zillion

    The font is coming from a notation software Sibelius 4 and is namned opus
    Hmmm ... Sibelius is a music notation software and notations are marked up in MusicXML. Presumably the font file is an SFNT with TrueType splines, but it is probably not installed in OS X system folders - rather in an internal Sibelius application font folder. So presumably you do not see the font in FontBook and OS X font auditing does not apply to the font.
    Sibelius exports EPS files, right? If memory serves, an EPS is still legal even if the font resource is not embedded. And in any case, we know from the behaviour that the font resource is not embedded for some reason. So how do you get Sibelius to put the font resource inside the graphic ... normally there is a button in the EPS export procedure that gives you the option to Embed All Fonts.
    You do not seem to get this button, though. Or why else would you not have checked it already and the problem would have gone away already.
    The next point in troubleshooting this is that you are not following the path that would let OS X detect that an external font resource is not embedded.
    I go from pages-print-printer- acrobat Pro 8-save as Pdf-x
    What you are doing here is telling Pages to tell OS X to generate a PostScript program within which is nested your Encapsulated PostScript program with the call to an unresolved external font resource.
    So why does Acrobat Pro not detect the unresolved external font resource? Hmm ... did you try the Preflight option in Acrobat 8 Pro? It should provide information on unresolved embeddings.
    I have also tried pages-print-printer- acrobat Pro 8 and save pdf as postscript and put the postscript file in destiller 8 pro with defalt setting high quality print
    The whole problem with EPS and PS is that this sort of situation is possible in the first place (plus, what is worse, the PS program can include custom additions to the graphics model that then fail in the PS interpreter whence Apple GX normalizing, Adobe Distiller normalizing, and Apple Quartz normalizing). You want to get as far away from EPS and PS as possible, believe me.
    So, you have not done what I posted that you should do in the first place. If I were you, I would first get rid of the problem that the EPS is making a call to an external font and then get rid of the problem that the PostScript is preserving the external call.
    To get rid of the problem that the EPS is preserving an external call, simply open the EPS in Apple Preview which includes a NORMALIZER for EPS/PS, and then save out the graphic as PDF. Alternatively, if you don't trust Quartz for some reason, set up a hotfolder for Distiller, make sure the option to embed all fonts is enabled, and convert the EPS to PDF.
    Now replace your EPS in Pages with PDF in Pages, and don't save PostScript to disk but save PDF to disk through the proper procedure which is File > Print > PDF > Save as PDF/X [for your custom configuration of the PDF/X-3 filter considering that no sane person in North Europe prints lowend US SWOP, we use ISO].
    If you begin by telling OS X that you want PDF within which fonts are supposed to be embedded ALWAYS, then you have started the right way. Otherwise, you have not told the operating system what you want to do, and this then leads you into places where you are unlikely to have the expertise to troubleshoot problems.
    So, forget placing EPS in the first place, place PDF. And forget saving PostScript to disk, save PDF to disk. If that does not sort your problem, here is the dirty solution for professional prepress.
    Adobe Photoshop has an EPS rasterizer that has wide tolerances for poor PostScript programming (so does Adobe Illustrator 6 and higher by the way).
    Therefore, if an EPS is posing problems, one workaround is to rasterize the EPS at high resolution in Photoshop and place that high resolution PDF in your layout.
    Take care that you rasterize as 1 bit at the required resolution of the print provider, probably 2450 dpi. When you save the 1 bit as PDF, Photoshop automatically compresses to a very, very small file (don't be surprised if 15Mb compresses to something like 0.5Mb).
    Rasterizing in Photoshop should not be necessary if you simply start by telling the operating system what it is you are trying to do. Then the operating system should be able to take the right decisions for you, and tell if you if finds problems it cannot resolve without turning to you.
    Good luck,
    Henrik
    would-be technical writer

  • Script that worked in CS does not work in CS4 - multiple open page, print , pdf export and close

    I had a script that worked great for me in Indesign CS. But now does not work in CS4. Anyone knows what needs to be done to make it work again ?
    When I drop folder with indesign files on top of this script:
    1. opens first page
    2. turns specific layer on
    3. prints using preset
    4. exports using preset
    5. close without saving
    6. next page
    Anyone who can give me solution or idea how this should work is greatly appreciated.
    on open sourceFolders
    repeat with sourceFolder in sourceFolders
    tell application "Finder"
    try
    -- If you would like to include subfolders, you say - every file of entire contents of folder…
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias list
    on error -- work around bug if there is only one file
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias as list
    end try
    end tell
    if idFiles is not {} then
    tell application "Adobe InDesign CS4"
    set user interaction level to never interact
    repeat with i from 1 to count of idFiles
    open item i of idFiles
    tell document 1
    try
    set visible of layer "ImagesTag_Layer" to true
    end try
    set myPreset to "letter size" -- name of print style to use
    with timeout of 700 seconds
    print using myPreset without print dialog
    end timeout
    set myPreset1 to "pdf preset name" -- name of pdf export style to use
    set myName to the name -- name includes .indd should remove at some point          
    with timeout of 700 seconds
    export format PDF type to "users:temp:Desktop:pdf:" & myName & ".pdf" using myPreset1 without showing options -- set path here format ComputerName:Folder1:Folder2:......:FileName.pdf
    end timeout
    close without saving
    end tell
    end repeat
    set user interaction level to interact with all
    end tell
    end if
    return 10 -- try again in 10 seconds
    end repeat
    end open

    (Disclaimer: me not an AS guy!)
    First thing I noticed is the interaction level is set off. If you comment out this line
    set user interaction level to never interact
    you might be able to pinpoint the exact error -- ID will display a standard "failed" dialog, hopefully showing the line that it fails on.
    A quick question: the script assumes two presets in your InDesign: one for print ("letter size") and one for PDFs ("pdf preset name"):
    set myPreset to "letter size" -- name of print style to use
    set myPreset1 to "pdf preset name" -- name of pdf export style to use 
    Do these actually exist in your CS4, with the same (non)capitalization and spaces?

  • Please help with problem in PDF file and printing

    I have created an Illustrator file with a logo on it. The logo looks fine in Illustrator (CS3 and CS5). If I use "save as" to then save the .ai file to a .pdf file, the logo looks the same as in the .ai file. However, if I use "print" to create a .pdf file, the logo sometimes loses some of the elements in it.
    Here is what the logo should look like:
    Below is what it looks like when I use "print" to generate the PDF file:
    An additional problem is that even if I used "save as" to generate the pdf file, some times, when the file is actually printed physically onto paper, the logo appears in the wrong version (although it looks right on screen).
    Can someone help me with this? I am quite desparet right now because I can't see how I can control this.
    Also, is there any way I can attached the .ai file so someone can look at it?
    The white lines that disappear are not "lines" they are a slightly larger shape placed behind the smaller black one in fonrt.
    Thanks for any help!

    Why are you "printing to pdf"? Does "Save As" yield better results?

  • Problem with PDF export and embedded font (characters disappear)

    Designer: Crystal Reports 2008 SP 2
    Engine: CR4E 2.0 SP2 (runtime_12.2.203)
    Hi there!
    we found a problem in the pdf export. It seems like there would be a problem with the embedded fonts, the problem is as follows:
    Rpt file with, for example only a text box which contains the german string " Änderungs Schlüssel ".
    Export the Rpt file with CR4E to a pdf file.
    When we open the pdf file in Adope Reader 8, the text appears to be correct,
    but if we print the PDF file from the Adope Reader, the text changes to " nderungs Schl sselu201C,
    here we are missing ther german umlaute.
    When we open the file for example with an alternative PDF reader like Foxit Reader, there they are also missing.
    After i found some posts here in the forum, there are people facing the same problem, since i couldn't find a solution in the forum, we build a little workaround for it that works for us.
    For all of you that have the same problem here the workaround:
    We used the IText JAVA library, this jar can can help as to fix the PDF file so the text is displayed correctly.
    Here the code:
    ReportClientDocument doc = new ReportClientDocument();
    doc.setReportAppServer(ReportClientDocument.inprocConnectionString);
    doc.open("C:\XY.rpt", OpenReportOptions._openAsReadOnly);
    //... database logon,.....
    InputStream inputStream = doc.getPrintOutputController().export(ReportExportFormat.PDF);
    inputStream = PDFHealer.heal(inputStream);
    //... write the stream some where

    The helper class using IText:
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import com.lowagie.text.Document;
    import com.lowagie.text.DocumentException;
    import com.lowagie.text.pdf.PdfContentByte;
    import com.lowagie.text.pdf.PdfImportedPage;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfWriter;
    public class PDFHealer
       public static InputStream heal(InputStream in) throws DocumentException, IOException
          try
             ByteArrayOutputStream out = new ByteArrayOutputStream();
             PdfReader reader = new PdfReader(in);
             // we retrieve the total number of pages
             int n = reader.getNumberOfPages();
             // step 1: creation of a document-object
             Document document = new Document();
             // step 2: we create a writer that listens to the document
             PdfWriter writer = PdfWriter.getInstance(document, out);
             // step 3: we open the document
             document.open();
             // step 4: we add content
             PdfContentByte cb = writer.getDirectContent();
             int i = 0;
             while( i < n )
                document.newPage();
                i++;
                PdfImportedPage page1 = writer.getImportedPage(reader, i);
                cb.addTemplate(page1, 0, 0);
             // step 5: we close the document
             document.close();
             ByteArrayInputStream ret = new ByteArrayInputStream(out.toByteArray());
             out.close();
             return ret;
          finally
             in.close();

Maybe you are looking for

  • Can someone please explain Voice Memos syncing?

    Hi All, I'm really, really, really confused about Voice Memos, and syncing them with iTunes. My setup is an iPhone 5, and a MacBook Pro Retina 13". My wife also has an iPhone, and we both sync them to iTunes on the Mac, including backing them up to t

  • How do I set up multiple SMTPs ?

    Hi I have 3 websites all of which have their own email accounts hosted thru godaddy.com. I was able to set ONE up using the "smtpout.secureserver.net" but the next one I tried to set up just 'hangs'. I'm not sure what the problem is .. except that I

  • Issue with Smart View when trying to connect to Planning/Essbase

    Hi All, I'm facing this issue with Hyperion 11.1.1.3 & 11.1.2. In Excel, I've created a connection in SmartView by giving the URL as http://ServerName:8300/HyperionPlanning/SmartView. After that i'm able to see "Servers" and when i started expanding

  • Plant Maintenance - Doubts in Task List Creation

    Hai, This is the first time that I am doing some configuration regaring Plant Maintenance Module. Scenario: There is an equipment which has a Plan for maintenance. Support there are 8 maintenance activities which have to be carried for that equipment

  • How do I remove the data symbol on Line Charts in Numbers for iOS?

    When I create a chart with many data points the data symbol gets in the way and hides the line. I have done a lot of looking around in the chart format options and searched online but I can't find the answer to this issue. Any fixes or suggestions wo