PDF from Interactive Report is corrupt

Just created an Interactive report under 3.1.1 of Apex
Selected the PDF and CSV options.
CSV is fine.
When PDF is selected it appears to be created.
However, when it is opened Adobe Acrobat gives and error (not support or damaged file type).

No Christina,
First I went under report attributes on Interactive reports under download
Download formats:
CSV and PDF
I checked both. CSV format is fine. PDF format is corrupt.
Next I then went in using the below:
http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
It tells me I don't have a print server defined. I am trying to get the INLINE method to work.
I see in the ADMIN there is a print server configuration section though it is not totally clear as I would think that you would get the default print configuration as you would with any other PDF docuement.

Similar Messages

  • PDF from Interactive Report - general question

    Hello,
    I read in another post that there may be plans to make it so that PDFs downloaded from an Interactive Report will include the formatting in the report. Is this true? If so, will it work with the Apache FOP?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen

    No Christina,
    First I went under report attributes on Interactive reports under download
    Download formats:
    CSV and PDF
    I checked both. CSV format is fine. PDF format is corrupt.
    Next I then went in using the below:
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
    It tells me I don't have a print server defined. I am trying to get the INLINE method to work.
    I see in the ADMIN there is a print server configuration section though it is not totally clear as I would think that you would get the default print configuration as you would with any other PDF docuement.

  • Download data from interactive report

    Hi all. I'm on apex 3.1.1.00.09.
    I have this problem: when I download data from interactive report I can download only in CSV and PDF. If I try to download into pdf it creates a file of only 1 KB.
    I would know if I must configure my apex in order to download correctly in pdf and if I must configure it in order to download in doc and xls format.
    Thanks all for collaboration,
    Fabrizio

    Thank you for your reply.
    I am able to download the csv file, but my problem is: I don't want the column headings to show.
    Is it possible to download only the data, not the column headings?

  • JNDI error while generating pdf from crystal reports in java

    Hi, i want to generate PDF from crystal reports in java. I have the .PDF file with database configured into the report. Following details are available in report.
    1. Server Name      = testdb
    2. Database Name  = testdb
    3. User
    4. Password
    I am using CR XI.
    In CRConfig.xml i had given following details.
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:oracle:thin:@192.218.216.102:1521://TESTDB</JDBCURL>
         <JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
         <JDBCUserName>user</JDBCUserName>
         <JNDIURL>password</JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>testdb</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
         </GenericJDBCDriver>
    </JDBC>
    When i am calling from java as standalone, i am getting following error.
    JRCAgent1 detected an exception: Error finding JNDI name (testdb)
    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)      at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
    Can anyone let me know where is the problem?

    Actually, the question boils down to; does the framework support the fonts?
    I believe that my question re. this working in the designer was valid. The designer does not use the framework, so if it works there, it is either a framework issue or a runtime print engine issue.
    I believe if you use the code below, it will list fonts available to the framework:
    foreach(FontFamily ff in FontFamily.Families)
    System.Diagnostics.Debug.WriteLine(ff.Name);
    For more information see kbase [1198306 - Crystal Report displaying incorrect font in Microsoft Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333333303336%7D.do]
    Ludek

  • Secure PDF from Crystal Reports

    What's the best way to secure a .pdf from Crystal Reports? I'm using reportdocument.exporttostream(ExportFormatType.PortableDocFormat) in vb.net(VS2005) to create an IO.MemoryStream which is then sent via email. I'd like to add a password to this file before it's sent by email.....is it possible?

    At least one of the 3rd-party Crystal report Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html
    provides this functionality.  It even allows you to dynamically control the password via a field/formula inside the Crystal report. It can also take care of the emailing part.  You can call and request the processing from your own application (via a command line API).

  • Create PDF from Crystal Reports

    Hi,
    We are using Crystal Reports XI with Adobe Acrobat Professional 8. When we create a pdf from crystal reports its giving crw32.exe encountered problem. Reinstall both the softwares are not useful. Adobe support professional says problem could be in crystal reports.
    We are doing the following steps to create a pdf.
    Crystal Reports->File->Print->Select Adobe PDF....
    So please let me know the solutions for this.
    Shivkumar.
    Edited by: Shiv Kumar on Oct 4, 2008 11:53 AM

    Hi Shiv
    As I said, only TTF fonts are supported with the PDF format otherwise it will give an error message as "Failed to export". Enhancement request for the same has been raised.It might get fixed in the coming service pack.
    Try exporting the report which is using only ttf.
    Regards
    Asha

  • Error opening PDF downloaded from Interactive Report

    hi -- I'm getting an error opening a PDF file downloaded from an interactive report.
    I've seen on the forum that this could be related to the size of the file, but I've tried
    this out on 10-row results (1k files) and it's still an issue.
    I save the file to my file system. If I try to open it in Adobe Reader, I get:
    File does not begin with '%PDF-'
    and
    Adobe Reader could not open <filename>.pdf 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).
    If I try to open in Internet Explorer, I get:
    File does not begin with '%PDF-'
    Other users are having the same problem. Download to csv and open in Excel works fine.
    Do I need to have special print attributes for this? I didn't think so... I'm just using the defaults
    (response header = report settings, content disposition = attachment).
    Ideas?
    Thanks,
    Carol

    Hi,
    I'm having the same problem that was described above, and my site does have BI Publisher installed, and it does successfully produce readable pdfs for many reports.
    But there are other reports, even reports produced using the Apex Wizard and all defaults, that just keep producing the same Adobe Reader error reported above, ie
    "Adobe Reader could not open <filename>.pdf 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)."
    Any suggestions?
    Cheers,
    Peter

  • Error in exporting from Interactive Report to PDF format

    Hello,
    i am using APEX and from an Interactive Report i am trying to export using Download | PDF format. The table and corresponding report has only text fields. Database character set is UTF-8. Up to now i haven't been able to get a PDF file that can be open from Adobe Acrobat Reader. Every file fails opening with message like "Adobe Reader could not open filename.pdf, 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). This happens for every report i have tried up to now. If i export report in CSV format all are ok.
    Is there a known bug with PDF download of APEX?
    TIA

    See this link: http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    FOP & Cocoon are free (just need to install the software and configure) Bi Publisher I believe works only for Standard Reports and no Interactive reports at this time.. If you have the $$ BI Publisher is worth the investment!!
    Also, it is rumored that APEX 4.0 will have the PDF generation built in as apposed to the current model where you need to bolt something on..
    Thank you,
    Tony Miller
    Webster, TX

  • Unable to open PDF output (PDF downloaded from Interactive Report--APEX)

    Hi,
    I'm getting below error while opening a PDF file downloaded from an interactive report (APEX).
    Adobe reader cound not open "TEST.pdf"because it is either not supportd file or because the file has been damaged.
    Thanks & Regards,
    Ramamuni.

    Steps of pdf Printing of Report from FOP:
    1) Download and unzip the following needed files in D:\Apex_fop directory.
    2) Open your command prompt .
    Change the directory to D:\Apex_fop\cocoon-2.1.11.
    Set the Java_Home environment variable as: set JAVA_HOME= C:\Program Files\Java\jdk1.5.0_21
    then type build war
    3) After getting the prompt back as D:>Apex_fop>cocoon-2.1.11>
    Copy coocon.war file from the folder D:\Apex_fop\cocoon-2.1.11\build\cocoon.
    Paste this file into webapps subdirectory in main tomcat directory having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps.....place it in the top
    level of webapps directory.
    4) Now just startup tomcat as D:>APEX_FOP>apache-tomcat-6.0.26>bin>startup.bat
    The cocoon.war file will automatically uncompressed as directory.
    5) To change the port of apache tomcat , edit apache-tomcat-6.0.26\conf\server.xml & change port attribute of Connector element from 8080 to 8181.
    Just check whether Tomcat is running or not as http://localhost:8181/
    & to check cocoon type http://localhost:8181/cocoon/
    6) Now copy fop_post directory & paste it undes new cocoon directory in webapps having path as D:\APEX_FOP\apache-tomcat-6.0.26\webapps
    \cocoon.
    7) Now you need to do some apex settings as follows:
    In APEX, just log in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address:localhost
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In your APEX application, in the Regions section, Click on the Print link next to your report and do the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Report Settings
    - View File As: Attachment
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    8) Open up the Report Page and click Print , You will get the pdf report.
    I am sure this will help you
    Regards

  • Interactive Report Produces Corrupt PDF File

    Hello.
    I am using Apex 3.1.2 and have created an Interactive Report (IR). I then chose the "Download as PDF" option and chose the "Open" option. This caused an error about a corrupt PDF file.
    I then saved the file to my Windows drive and attempted to open it using Wordpad. I saw the following error as the very first line in the file:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I would much appreciate any suggestions as to what to do.
    Thank you.
    Elie

    No Christina,
    First I went under report attributes on Interactive reports under download
    Download formats:
    CSV and PDF
    I checked both. CSV format is fine. PDF format is corrupt.
    Next I then went in using the below:
    http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm
    It tells me I don't have a print server defined. I am trying to get the INLINE method to work.
    I see in the ADMIN there is a print server configuration section though it is not totally clear as I would think that you would get the default print configuration as you would with any other PDF docuement.

  • Problem with PDF generation from Interactive Report

    Greetings,
    I created an interactive report and chose CSV and PDF download options. I am able to create CSV but when I try to download a PDF it says that that acrobat reader cannot open the created pdf file. I am not sure what I should do to make it work. Please help.
    -Vatsa

    Hey there,
    That happened to me when I had an & sign in the page title name. If you have some weird symbols in the page title, try changing them. Then it will work.
    PS
    Make sure in the title name and page name there are no weird symbols.
    Mike
    Message was edited by:
    weezy f

  • APEX 4.0: error while opening a XLS file downloaded from interactive report

    Hi,
    I'm getting below error while opening a XLS file downloaded from an interactive report (APEX 4.0).
    "The file you trying to open, 'customer_2.xls', is in a different format than specified by the file extension.
    Verify that the is not corrupted and is from a trusted source before opening file. Do you want to open file."
    Yes No Help
    May be this one Apex 4.0 issue.
    please help me.
    Thanks
    Mukesh

    Hi,
    is the next part of the code correct.
    What i mean is packing of the attachment, finding out the size of pdf file and doc type as PDF.
    You can also try below link..
    Link: [http://wiki.sdn.sap.com/wiki/display/Snippets/SENDALVGRIDASPDFATTACHMENTTOSAPINBOXUSINGCLASSES]
    Hope this helps.
    Regards,
    -Sandeep

  • Open document from interactive report

    Application Express version 4.0.2.00.07.
    In apex I am trying to accomplish the following:
    1. create a link to a pdf or Word document stored on local network using the file browse button.
    2. store the link to that file in my table but not store the actual document in the oracle table.
    3. open the document from link in interactive report.
    My dba does not want to store anymore documents into oracle because of performance issues we are experiencing with current applications that do this. Does anyone know the where to find sample code that will accomplish this task or will load the linked document into the oracle table but delete the document from the blob when the document is closed.

    You're probably looking to use the BFILE functionality - a pointer to a LOB on the filesystem.
    Try looking at some of the following sources for guidance
    http://docs.oracle.com/cd/B10501_01/appdev.920/a96591/adl12bfl.htm
    APEX BFILE
    http://monkeyonoracle.blogspot.com.au/2009/10/storing-images-outside-oracle-xe-with.html
    Scott

  • Exclude column from interactive report when exporting data

    Hello!
    Is it possible to exclude column from exporting (using bi publisher) in interactive report, but having in report. So in report it is, but in export result it isnt :). I know, that I can just not to select this column in "Action" menu before exporting, but then to select it to view in report. But is it possible not to export this column, but having it in report result?
    I Just have a checkbox in report, and I dont need to see it in export result.
    APEX 4.1.
    Thanks !
    Edited by: go0ze on Sep 28, 2012 1:40 AM

    Hi,
    Set condition type PL/SQL Expression to column and enter to Expression 1
    NVL(:REQUEST,'EMPTY') NOT IN('CSV', 'XLS', 'PDF', 'RTF', 'XML', 'HTMLD')Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Export XML from interactive report

    Hi all,
    is there a way to export the resulting output of an interactive report as XML (inline and/or attachment), like a normal report can do? (with FLOW_XMLP_OUTPUT_R<region_ID>)
    The download option for ir provide only CSV and PDF.
    Regards,
    Marco

    I explain my request.
    I have a very complex SQL query, which is (much) more than 4000 characters and it works well in the interactive report.
    As the interactive report is quite different from the normal report and the procudure FLOW_XMLP_OUTPUT_R<region_ID> doesn't seem to work, I'm obliged to create a report query in the shared components to get also the XML output, but shared report query accepts query less than 4000 characters long.
    Any idea?
    Marco

Maybe you are looking for

  • How do I identify and remove malware?

    I am running a Macbook Pro about 2 years old on OS X 10.9.5 and I keeping getting unwanted pop-ups or more often new tabs opening in Safari. Thanks.

  • Text output to terminal or paging

    All, How do I send/print text to the console (System.out) so that I just fill the screen, then ask the user to press a key before printing another screen full. I want to output a license agreement with a more (or less) like paging functionality. This

  • How to set print scale in Safari 3.1.2?

    When I try to print a web page in Safari, the printer page shows "Scale: 62%" every time. I can manually change it, but I'd prefer the default to be: Scale 100%. It would be a real time saver. I can't figure out how to set a default Scale %. Thanks i

  • Extend length for standard keyfigure

    0BALANCE has limited to Char 17 and it is insufficient. Wondering if it is possible to change the length of standard keyfigure because I did tried going to edit data dic of  /BI0/OIBALANCE but it seems like there is nothing I can change ( of course a

  • Bt keep changing my connection date

    I ordered bt phone and internet on th 14th of april the start date was agreed for the 30th at bts earliest convenience. The 30th came my phone was swapped over but no internet or hub. I rang to complain was told ther was a technical fault my hub woul