PDF generation on APEX applications Reports

Hi all
PDF generation on APEX applications is Facilitated in Interactive Reports in the Down load Option,
When we Choose this pdf Down load Option,this is not Working.
why this is not Working?
But this Down load Facility in Interactive Reports is Working fine with Excel Format
Do we need to Install & configure FOP/Cocoon or BI Publisher to Enable PDF Format DOWNLOAD
OR
any Other Work around Availble for this
please Suggest
tahnks Alot

To generate PDF file from APEX reports, you either have to install & configure Bi Publisher or FOP/Cocoon..
http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
There are alternatives (jasper reports, pl/pdf), but they are also items you need to install and configure..
Thank you,
Tony Miller
Webster, TX

Similar Messages

  • PDF Generation in APEX

    Hi,
    I will explain my question by the following example:
    A customer buys some things in your store, you fill this in in your APEX-page (that stores the entered data in your database).
    If everything is entered, I want to make an invoice based on the data: I click a button and an automatically genereated PDF will be shown on the screen.
    This PDF is based on a template, but filled with the data I've just entered (e.g. name customer, adress, goods, amount.... everything that you can find on an invoice).
    Is this possible in APEX?
    Thx,
    Davy

    Here is a free option. http://www.web2pdfconvert.com/
    If users of your apps will have internet access and your ok with unsecure connection and using a third party to generate pdf....
    To setup a link to the web utility add this code to a page or region. If you want to use it accross all pages change your page template.
    <!-- Web2PDF Converter Button BEGIN -->
    <script type="text/javascript">
    var pdfbuttonlabel = "Save page as PDF"
    </script>
    <script src="http://www.web2pdfconvert.com/pdfbutton.js" type="text/javascript"></script>
    <!-- Web2PDF Converter Button END -->

  • Example of calling PDF report in APEX application

    Hi,
    Can anyone direct me where to download this sample APEX application - http://apex.oracle.com/pls/otn/f?p=31057?
    This app is a great example on how to fill up government form and print it out in PDF.
    The link provided by the author (Marc Sewtz) is no longer avaialable.
    http://www.oracle.com/technology/products/database/application_express/html/3.0_new_features.html
    Thanks.

    40 QUERIES???? Why don't you move SOME of those to views in your database, unless they need some sort of parameters passed in, then move them to collections in a procedure... Sounds like a train wreck just waiting to happen....
    A blonde goes to the doctor and as she touches each part of her body with her finger she says: Doc it hurts everywhere. My leg hurts, my arm hurts, my neck hurts, and even my head hurts! Doc what's wrong? The doctor answers: Your finger is broken!
    Thank you,
    Tony Miller
    Webster, TX

  • APEX and iText PDF generation

    Hi,
    Has any one used iText in apex to generate PDF documents in APEX. The reason for me to look for a solution to generate PDF documents like invoice, Purchase Order for different customer in different format. Since the online hosting companies have different reporting services like (JasperReport/Oracle BI publisher etc) it is a pain full procedure to have rtf and XML-FO. If I use iText within the PL/SQL procedure which will generate PDF document by supplying PDF form and XML data.
    In this case the client can create there PDF form which can be filled by XML data.
    Thank you.

    I had a look but seems like I have use command line to execute the process. You do.
    I want to generate from PL/SQL. My package does. Mind you -- I have to make use of a host command to perform the actual integration. When a process 'prints' to a PDF, it supplies the PDF form to be filled in, the specific fields to be filled in, and the values for the fields. I write these values out to an FDF file for the appropriate PDF form on the OS, then call PDFTK via a host command to integrate the blank PDF and the newly-created FDF into a 'filled' PDF form. I then email the completed PDF file to the user that requested it.

  • Application Reports in APEX 4.0

    Hi,
    I've upgraded to APEX 4.0 and really enjoying the new features. The one feature that I used to use in 3.2 is the "Application Reports" under the Tasks.
    It is referred to in the help but for the life of me I cannot find it, has anyone else encountered this?
    Here is the extract from the help file:
    Accessing the Bulk Edit Item Help Report
    To view the Bulk Edit Item Help report:
    1.On the Workspace home page, click the Application Builder icon.
    2.Select an application.
    *3.On the Tasks list, click Application Reports.*
    This is the part that's not there
    Any help would be appreciated.
    Thanks
    Connor

    We shifted all the reports and bulk updates underneath the area they best fit. For bulk edit of help, from the page definition page, click the edit all icon and then the utilities tab - you will see all the bulk edits and special reports available for items. Same for other object types. You can also get at these from the Utilities page (new icon in the upper right), within the right side-bar you will find a list of all the page-specific utilities.
    Same for Shared Components, grid edit of lovs is now a tab under lovs.
    -- Sharon

  • Help: PDF Generation Problems in Reports 3.0

    Hi Techies,
    We are generating PDFs from Oracle Reports 3.0
    The PDF generation is fine in some datbases.
    But in some database,when the records are more, during PDF
    generation, Dr.Watson error is encountered, saying access
    violation.
    Can any one please clarify whether the error is due to memory
    constraints on the system or if it has something to do with
    Oracle Reports setting, while generating PDFs.
    Do note that the reports are running fine, when the report has
    less number of records.
    Any suggestion/tip is awaited at the earliest.
    Thanks in advance,
    Geoff
    null

    Hi!
    Remove cache from output dir from time time.
    (i.e. from virtual dir where report server puts output)
    let me know ...
    later
    Geoff (guest) wrote:
    : Hi Techies,
    : We are generating PDFs from Oracle Reports 3.0
    : The PDF generation is fine in some datbases.
    : But in some database,when the records are more, during PDF
    : generation, Dr.Watson error is encountered, saying access
    : violation.
    : Can any one please clarify whether the error is due to memory
    : constraints on the system or if it has something to do with
    : Oracle Reports setting, while generating PDFs.
    : Do note that the reports are running fine, when the report has
    : less number of records.
    : Any suggestion/tip is awaited at the earliest.
    : Thanks in advance,
    : Geoff
    null

  • PDF Generation problems in Reports 3.0

    Hi,
    I am generating PDFs from Oracle Reports 3.0
    The PDF generation is fine in some datbases.
    But in some database,when the records are more, during PDF
    generation, Dr.Watson error is encountered, saying access
    violation.
    Can any one please clarify whether the error is due to memory
    constraints on the system or if it has something to do with
    Oracle Reports setting, while generating PDFs.
    Do note that the reports are running fine, when the report has
    less number of records.
    Any help in this matter is appreciated.
    Regards,
    PRAKASH
    null

    Hi!
    Remove cache from output dir from time time.
    (i.e. from virtual dir where report server puts output)
    let me know ...
    later
    Geoff (guest) wrote:
    : Hi Techies,
    : We are generating PDFs from Oracle Reports 3.0
    : The PDF generation is fine in some datbases.
    : But in some database,when the records are more, during PDF
    : generation, Dr.Watson error is encountered, saying access
    : violation.
    : Can any one please clarify whether the error is due to memory
    : constraints on the system or if it has something to do with
    : Oracle Reports setting, while generating PDFs.
    : Do note that the reports are running fine, when the report has
    : less number of records.
    : Any suggestion/tip is awaited at the earliest.
    : Thanks in advance,
    : Geoff
    null

  • APEX 4.1 - APACHE FOP PDF generation problem.

    Hi all,
    I'm having problem with PDF generation using APACH FOP on OC4J.
    When I test my print server as described here:
    http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
    everything works without problem. But when I upload my Layout to APEX and try to generate PDF from apex I'm getting error:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:549)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1375)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:337)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:714)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:322)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop._jspService(_apex__fop.java:71)
         [SRC:/apex_fop.jsp:21]
    I could see similar post here:
    Handling Special characters in call to apex_util.download_print_document
    But it doesn't explain my case as it's crashing even when I generate empty pdf(no data so no special characters, only empty XML file with no data should be sent to print server)
    Is there any way to see what xml is sent do print server for processing? That could eventually show where is a problem.
    Palo

    My mistake, there was really an "&" character in my template. now when I replaced it with %26 it works.
    However I would be still interested if there is a way to see what data is APEX engine sending to print server cause it will help me to find this kind of errors.
    Palo

  • PDF generation from Webdynpro for java application

    Hi all,
    I have a scenario in which a PDF has to be generated from the datils present in a table in the same view, on click of a button. I have found many solutions for generating interactive forms but I need to generate it from the code directly. I have also found an application for generating an excel sheet from the table  data but it is not working with PDF.
    So anybody suggest me how to do it or please refer any applications that have been done.
    Thanks in advance.

    Hi marco,
    Sorry for the late reply.
    I have got an application to generate an excel file and i will paste that code here for your reference.
        byte[] excelXMLFile;
        IWDCachedWebResource cachedExcelResource = null;
        String fileName = dataNode.getNodeInfo().getName() + ".xls";
        try {
          // create Excel 2003 XML data as a byte array for the given context node, attributes and headers       
          excelXMLFile = this.toExcel(dataNode, columnInfos).getBytes("UTF-8");
          // create a cached Web Dynpro XLS Resource for the given byte array and filename
          cachedExcelResource = this.getCachedWebResource(excelXMLFile, fileName, WDWebResourceType.XLS);
          // Store URL and filename of cached excel resource in context.
          if (cachedExcelResource != null) {
            wdContext.currentContextElement().setExcelFileURL(cachedExcelResource.getURL());
            wdContext.currentContextElement().setExcelFileName(cachedExcelResource.getResourceName());
            // Open popup window with a link to the cached excel file web resource.
            this.openExcelLinkPopup();
          } else {
            wdComponentAPI.getMessageManager().reportException("Failed to create Excel file from table!", true);
        } catch (UnsupportedEncodingException e) {
          wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
        } catch (WDURLException e) {
          wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), true);
    In the above code "excelXMLFile" is a byte array in which the data that has to be appended to the pdf (in xml format) is present.
    the toExcel method is used to convert the data in the table(i.e., the data that gets populated in the nodes of the view) in to XML format.
    My Problem is when i change the filename to .pdf extension and the WDWebResourceType.XLS to WDWebResourceType.PDF and execute the application the Acrobat reader is getting opened but it says
    "unsupported file type or the file has been damaged" .
    I mean i am unable to put data into the file.
    So, please help me in this regard.

  • Newly deployed apex application - very slow response time reported.

    Hi, we just deployed an APEX application on January 4th. It is used up and down the east coast to track commercially caught fish. There are currently about 375 users. Most are accessing via cable or dsl. Many are complaining of speed issues. Is there something that can be done locally on their machines to help.
    The application is complex and often must process through loops of data depending on the port, species, state reqs. Each of the queries has been run through the db tool that examines how optimal they are, and all run within seconds.
    Since the system is new, we are concerned that people will become frustrated and stop using it. ANy suggestions are appreciated. It was a 2yr project and had been in a test environment for 6 months.
    thanks, Karen

    What I would suggest is, the agents could try pinging the server that you are hosting the apps on, to see how long the ping takes to return. It maybe that the server is producing the pages fine, but the traffic is getting jammed on the way to the port agent..
    Just as an example, there have been severe issues with using Oracle's hosted instance of apex in the past 6-9 months. It's not an always occurrence, but for some folks it takes FOREVER to load the applications builder or even pages in the builder. The database server is performing fine, but the app server seems to be having issues, from what I gathered in one of the last messages from Oracle on the subject..
    You could try going outside your building and accessing your app in a similar fashion that your customers do..
    Thank you,
    Tony Miller
    Webster, TX

  • Reseting page number in Word RTF template for BI Publisher PDF generation

    Hi!
    Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
    Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
    Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
    How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
    Page numbers are in footer in format
    curr_group_page/total_group_pages
    where:
    curr_group_page is current page number in group (defined with BILLS.ID field),
    total_group_pages is total page number of pages in group (defined with BILLS.ID field).
    I need to reset numbering whenever BILLS.ID (group) change.
    Example:
    ID=1 (4 pages)
    1/4, 2/4, 3/4, 4/4
    ID=2 (1 pages)
    1/1
    ID=3 (2 pages)
    1/2, 2/2
    ID=4 (3 pages)
    1/3, 2/3, 3/3
    etc.
    How to achieve that kind of numbering?
    Any help appreciated.
    Regards,
    Damir Vadas
    Edited by: Damir Vadas on May 16, 2011 12:49 PM

    Simple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
    If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
    Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
    This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
    Thank you,
    Tony Miller
    Webster, TX
    You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Problem regarding PDF printing in apex 3.1 and 11g database using cocoon

    Hi,
    i am configuring pdf printing on apex 3.1 (database 11g on windows XP OS) with cocoon/apache tomcat/fop using steps given in Carl Backstrom blog
    http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
    I am using cocoon 2.2.10 / tomcat 6.0.20 and JDK 1.6
    I did everything as was mentioned in Carl's blog and everything configured without any hassle. I even enabled network services for FLOWS_030100 user on database. Even after doing all the steps I'm getting the error
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    I'm confused and don't know what to do next.

    Hi,
    By default, the ability to interact with network services is disabled in Oracle Database 11g release 1 (11.1). Therefore, if running Oracle Application Express with Oracle Database 11g release 1 (11.1), use the new DBMS_NETWORK_ACL_ADMIN package to grant connect privileges to any host for the FLOWS_030100 database user. Failing to grant these privileges results in issues with PDF/report printing, specifically, you will get the following error message:
    ORA-20001: The printing engine could not be reached because either
    the URL specified is incorrect or a proxy URL needs to be specified.
    Follow the steps mentioned in the Oracle Application Express Installation Guide, [Enabling Network Services in Oracle Database11g|http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/post_inst.htm#BGEJJIHE]. Also refer to the [troubleshooting section|http://download.oracle.com/docs/cd/E10513_01/doc/install.310/e10496/post_inst.htm#BHAGIHIB] in case you receive an ORA-44416: Invalid ACL error after running the previous script.
    /Kenny

  • Create MS Word documents from data in an Apex Form/Report

    My requirement is to create editable RTF form letters from data managed by an Apex application. I do not have BI publisher available and am looking at using the XSL-FO route. Effectively I want the user to select the desired data in the Apex application, hit a button and be presented with a word document containing the data, which they can then customise.
    I know how to set Apex up to create PDFs based on reports using embedded XSL-FO but PDFs are not editable extra steps by the user. Also the user could export data to CSV and mailmerge with a word template but thats extra work for the user too.
    In the past I've used PLSQL/XML/XSL-FO with .NET to do what I want here by generating an XML file with PLSQL and using .NET to associate the XML file to XSLT/XSL-FO template files creating output as varied as .doc, .ps and .html files.
    Any ideas on acheving the same flexibility with Apex would be greatly appreciated. As my googling and forum hunting has not turned up much.
    Thanks
    FunkyMonkey

    Hi FunkyMonkey,
    Do you know Docufy | Simplify with docufy ? It's an APEX application that lets you create/generate/edit word templates. Else JasperReports Library | Free software downloads at SourceForge.net lets you generate a multitude of report formats (RTF/pdf/docx/xlsx/xml/etc.) you can use iReports to easily create xml templates for the reports, It's a lot simpler then xsl-fo.
    Regards,
    Vincent Deelen

  • PDF Printing in APEX

    Hi,
    I'm trying to get report printing sorted in APEX and it's just not going welll at all. I've given up on OC4J. I followed Carl's advice and got Apache Tomcat and Cocoon installed on my server. I can successfully connect to them. However, when I try to generate a report, all I get is an empty file of 0 bytes.
    A few details if that will help:-
    My APEX application is accessible on - http://localhost:9000/apex
    My tomcat/cocoon is accessible on - http://localhost:8080/cocoon
    In my application Instance settings I have the following entered :-
    Print Server - Standard
    Protocol - HTTP
    Print Server Host Address - localhost
    Print Server Port - 8080
    Print Server Script - /cocoon/fop_post
    In my report print attribute settings I have the following:-
    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.:26:&SESSION.:FLOW_XMLP_OUTPUT_R1109229236159547
    I have run the following script for the ACL access
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl => 'doris.xml',
    description => 'Doris network permissions',
    principal => 'APEX_030200',
    is_grant => true,
    privilege => 'connect');
    DBMS_NETWORK_ACL_ADMIN.ADD_PRIVILEGE(acl => 'doris.xml',
    principal => 'APEX_030200',
    is_grant => true,
    privilege => 'resolve');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl => 'doris.xml',
    host => 'localhost';
    END;
    COMMIT;
    Can anybody please help sort this out? I have no idea where this is falling over. There is no log created with errors etc.
    P.s:- I did try to see what happens when I shutdown tomcat/cocoon and I get an error in the PDF generated, but when they are re-started it is back to the empty file
    TIA,
    chandini

    Hi,
    Try change Print Server Script in instance settings to /cocoon/fop_post/
    br, Jari

  • Pdf forms and web applications

    Hi all,
    Can anyone help me regarding the feasibility of using PDF forms in web application such as simple html forms?
    As a part of the web application written in php, we have large html forms for collecting data.
    pdf reports must be generated based on data entered in forms.
    So, 1 filled in form = 1 pdf report. Generating large pdf files from scratch with php script is not fun, and I'd like to figure out if there is some way to use pdf forms created in Adobe LifeCycle as html forms.
    So, we would like to publish pdf forms created in LifeCycle as a part of web application, where users fill in this form and in some way we pass form data to php script (upon form submit) for saving it in database and load data back to pdf form once user decides to edit it.
    Once form is filled in completely we'd like to print it (and maybe save as separate pdf file containing all filled data).
    Please advice, is there any solution for doing something like this, or maybe some other suggestions about simple pdf generation & forms handling in case described above?
    Your input would be greatly appreciated.

    Yours is not a feature request. It is a question about the functionality of the Livecycle Designer product. Please repost in that forum.

Maybe you are looking for