Apex 4.1 PDF report generation

On Apex 4.1 when I attempt to download a report in PDF mode, it appears that it downloads,
but when I go to open it up I get an error that the file is of the wrong type or possibly corrupt.
Upon opening the file in Text editor, there is an error
Ora-20001
ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
What is this all about. DId I miss something in the install.
It can generate HTML and eXcel just fine just not PDF.
Any help appreciated.
greG

Greg,
This error typically indicates that something is wrong with your print engine configuration. Did this work before, or is this the first time you're trying this? Also, are you using BI Publisher or Apache FOP? And have you enabled networking services if you're using 11g?
Details can be found here:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
Regards,
Marc

Similar Messages

  • PDF reports generation problem from single oracle reports in 10G

    Hi All,
    i am generating 4 PDF reports from one Oracle reports in 10 G.
    i used RUN_REPORT_OBJECT built in 4 times with some different parameter list at a single time.
    some time it generates but some time it generate 2 or 3 out of 4.
    Can you anyone help me on this issue.
    Regards,
    Abhishek
    Code that i used for generation of report:
    on key-F0:
    DECLARE
    PL_ID PARAMLIST;
    PL_NAME VARCHAR2(10) := 'REP';
    USRNM VARCHAR2(50);
    pl_id2 paramlist;
    pl_name2 varchar2(10):= 'REP';
    usrnm2 varchar2(50);
    pl_id3 paramlist;
    pl_name3 varchar2(10):= 'REP';
    usrnm3 varchar2(50);
    pl_id4 paramlist;
    pl_name4 varchar2(10):= 'REP';
    usrnm4 varchar2(50);
    BEGIN
    USRNM := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID := GET_PARAMETER_LIST(PL_NAME);
    IF NOT ID_NULL(PL_ID) THEN
    DESTROY_PARAMETER_LIST(PL_ID);
    END IF;
    PL_ID := CREATE_PARAMETER_LIST(PL_NAME);
    IF ID_NULL(PL_ID) THEN
    MESSAGE('Error Creating Parameter List ');
    END IF;
    ADD_PARAMETER(PL_ID, 'P_PRNT_C_FAM_ID', TEXT_PARAMETER, :PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID, 'P_NOTICE_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'P_REDET_DATE', TEXT_PARAMETER, TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID, 'USR_NM', TEXT_PARAMETER, USRNM);
    ADD_PARAMETER(PL_ID, 'SCHEDULE', TEXT_PARAMETER, :RUN_TIME);
    ADD_PARAMETER(PL_ID,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID, 'P_ENG_SP', TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID,'CT506_Parent_FamId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM2 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID2 := GET_PARAMETER_LIST(PL_NAME2);
    IF NOT ID_NULL(PL_ID2) THEN
    DESTROY_PARAMETER_LIST(PL_ID2);
    END IF;
    PL_ID2 := CREATE_PARAMETER_LIST(PL_NAME2);
    IF ID_NULL(PL_ID2) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID2,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID2,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID2,'USR_NM',TEXT_PARAMETER,USRNM2);
    ADD_PARAMETER(PL_ID2,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID2,'P_PRNT_PROV',TEXT_PARAMETER,'PRNT');
    ADD_PARAMETER(PL_ID2,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID2,'CT506_Parent_FamId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM3 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID3 := GET_PARAMETER_LIST(PL_NAME3);
    IF NOT ID_NULL(PL_ID3) THEN
    DESTROY_PARAMETER_LIST(PL_ID3);
    END IF;
    PL_ID3 := CREATE_PARAMETER_LIST(PL_NAME3);
    IF ID_NULL(PL_ID3) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID3,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID3,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID3,'USR_NM',TEXT_PARAMETER,USRNM3);
    ADD_PARAMETER(PL_ID3,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID3,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID3,'P_ENG_SP',TEXT_PARAMETER,'N');
    REDET_REPORT('506',PL_ID3,'CT506_Prov_ProvId_Eng'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    USRNM4 := GET_APPLICATION_PROPERTY(USERNAME);
    PL_ID4 := GET_PARAMETER_LIST(PL_NAME4);
    IF NOT ID_NULL(PL_ID4) THEN
    DESTROY_PARAMETER_LIST(PL_ID4);
    END IF;
    PL_ID4 := CREATE_PARAMETER_LIST(PL_NAME4);
    IF ID_NULL(PL_ID4) THEN
    MESSAGE('Error Creating Parameter List');
    END IF;
    ADD_PARAMETER(PL_ID4,'P_PRNT_C_FAM_ID',TEXT_PARAMETER,:PRNT_C_FAM_ID);
    ADD_PARAMETER(PL_ID4,'P_NOTICE_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.NOTICE_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'P_REDET_DATE',TEXT_PARAMETER,TO_CHAR(:FRONT_END.REDET_DATE,'MM/DD/RRRR'));
    ADD_PARAMETER(PL_ID4,'USR_NM',TEXT_PARAMETER,USRNM4);
    ADD_PARAMETER(PL_ID4,'SCHEDULE',TEXT_PARAMETER,:RUN_TIME);
    ADD_PARAMETER(PL_ID4,'P_PRNT_PROV',TEXT_PARAMETER,'PROV');
    ADD_PARAMETER(PL_ID4,'P_ENG_SP',TEXT_PARAMETER,'Y');
    REDET_REPORT('506',PL_ID4,'CT506_Prov_ProvId_Sp'||To_Char(sysdate,'MMDDRRRR-HHMISS'));
    Message('Notice Submitted For Printing');
    EXIT_FORM;
    END;
    Program unit:
    PROCEDURE REDET_REPORT(rep_name in Varchar2,plist in ParamList,rep_pdf_name in Varchar2)IS
    filecode varchar(2);
    Repnm varchar(30);
    report_id REPORT_OBJECT;
    report_id_hear REPORT_OBJECT;
    report_prop VARCHAR2(20);
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(200);
    bat_loc varchar2(200);
    time_slot varchar2(100);
    rep_folder_name varchar2(100):='Redet Notice for Packets Sent\';
    BEGIN
    Filecode := init.GetFileNmCode;
    if filecode 'FL' then
    if upper(substr(rep_name,1,2)) ='CC' then
    RepNm := filecode||substr(rep_name,3);
    else
    if rep_name != 'viewerr' then
    RepNm := filecode||rep_name;
    else
    RepNm := rep_name;
    end if;
    end if;
    end if;
    Begin
    begin
    report_id := find_report_object(RepNm);
    if error_code = '41219' then
    Message('Unable to execute : '|| RepNm);
    Raise FORM_TRIGGER_FAILURE;
    end if;
    end;
    set_report_object_property(report_id, REPORT_FILENAME, RepNm);
    set_report_object_property(report_id, REPORT_SERVER, init.Appl_Repserver);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_EXECUTION_MODE, BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE,SYNCHRONOUS);
    set_report_object_property(report_id, REPORT_DESFORMAT,'PDF');
    select rprm_param_val||rep_folder_name||rep_pdf_name||'.pdf' into bat_loc from rprm where rprm_param_name = 'BAT_LOC';
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REPORT_ID,REPORT_DESNAME,'"'||bat_loc||'"');
    begin
    v_rep := RUN_REPORT_OBJECT(report_id,plist);
    exception when others then
    Message('Error While executing running reports ::'||error_code);
    end;
    end;
    END;

    Thanx Frank
    Well one solution is that i can decrease the length of my report name and the problem does not occur than.
    any ways thanx ..but where to get the patch from.
    Kindly provide me with the link if possible.
    Thanx,
    Qaiser Qayyum Malik.
    [email protected]

  • Error only in PDF report generation not HTML

    The same report exports fine in HTML. This only happens when exporting a PDF report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: 26---- Error code:-2147467259 Error code name:failed
    The application was developed by our developer team and it is hosted in a Windows Server 2008 R2.
    Does someone had the same problem ?
    Thank you.

    We solved but not so sure about the cause.
    It had something to do with character encoding in PDF reports.
    Thank you for all that read the question.

  • PDF report generation fails with v7.01

    I have software that generates a PDF report. I upgraded FireFox to v7.01 and I now get an error that the printer is not activated even though I am saving the report to a disc file and not printing it. Any ideas or suggestions are appreciated.

    I just received instructions from the TMG software company to uninstall and install the PDF driver they use. This fixed the problem. Apparently upgrading to v7.01 damages the driver but reinstalling it corrects the problem.
    Thanks for the advice.
    Mike

  • Problems with PDF report generation on WEB application

    Hi friends.
    I have the following problem.
    I heve many reports running on a client/server system. But we decide to move one by one, the menu options of the system to the WEB, using iAS. Most of the reports works just fine, but some of them works wrong.
    But I am not talking about the data or something like that, I am talking about the layout format. All of them out a grey rectangle in all the pages of the PDF reports. The report doesn't have any color inside, but when we move the file, to the UNIX server and test it, it is generated not in a white normal report but grey and white colors.
    anyone have an idea what is it happend?
    thank you folks....
    abdel.

    hi shivanjali..
    the problem may be due to your local system settings..
    try this..
    open internet explorer.-> click on tools menu-> click on internet options-> select connections tab-> press lan settings-> uncheck the proxy address if you have any and press ok....
    now try your web report.. hope it will help your concern..

  • Bug in PDF Report generation?

    Hi everyone!
    We have a problem! We need to print user data, including an initial password, on paper, one user per page. In the report section there is a choice of number of users per page.
    However, if one(1) user per page is chosen, the PDF-generator produces a document with only one page, and just one user, where it should be about 40 (test environment).
    Just running the report in the browser produces a corrects number of pages according to the number of users.
    Is this a bug? Are there any workarounds?
    Thanks,
    Anders
    Message was edited by:
    AndNys

    We solved but not so sure about the cause.
    It had something to do with character encoding in PDF reports.
    Thank you for all that read the question.

  • PDF Report Generation

    Hi,
    I would like to know how to generate reports in pdf format
    I use:
    EBS: Oracle 11.5.9
    Database : 9i
    O/S : Solaris
    And I use Oracle Reports 6i version

    Hi;
    Please see:
    Oracle XML Publisher and Oracle Reports
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    NOTE:276691.1 - XML Publisher and Concurrent Manager Integration
    Note 276691.1: XML Publisher and Concurrent Manager Integration will provide the technology used in Oracle Ebusiness Suite for generating various types of output (formats) for communication.
    http://bloggingaboutoracleapplications.org/integration-of-oracle-apps-and-bi-publisher/
    Also see:
    Re: How To View Large PDF Reports Output?
    http://download.oracle.com/docs/cd/B13597_05/bf.904/b13673/pbr_pdf.htm
    http://www.oracle.com/technetwork/middleware/bi-publisher/documentation/index.html
    http://www.oracle.com/technetwork/middleware/reports/documentation/index.html
    Regard
    Helios

  • PDF Report generation and email it from a DB trigger

    Dear all
    Is it possible to run a report in PDF format ad email it to some clients after a specific envent through Database Trigger. For example whenever a client makes an entry into order entry table (through entry form), a trigger should execute on Orders table, this trigger should execute or generate a PDF formatted report and finally mail it to Sales team?
    I'm using Oracle Database 10g. Rel.2 on Windows-XP.

    kamranpathan wrote:
    Is it possible to run a report in PDF format ad email it to some clients after a specific envent through Database Trigger. No. Not the way you imagine.
    A trigger is fired when? During the transaction. The transaction still is not committed and can be rolled back. So if you start doing notifications and what not in the trigger, and the transaction is rolled back, then that transaction never happened. But your notification code did. And the users have been informed incorrectly - about something that did not happen.
    The same trigger can also be fired in the same transaction for the same row - more than once. This can happen in specific circumstances in Oracle, where basically Oracle itself does an undo of the transaction (trigger already fired) and then redo that transaction (trigger fire again).
    So in such a case, your trigger will generate two notifications from the same trigger for the same event. Inside a transaction that still could be rolled back by the session owner.
    The correct approach is not to perform the action in the trigger. It is to queue the action to be executed when the transaction is committed.
    For example, the trigger is on the PRODUCTS table. When a new product is added, a notification needs to be send to customers that have selected to be informed of new product releases.
    The first step is to write a package that performs this notification. The procedure that drives the notification processing, gets a product identifier as input and does the checks and notification.
    After this package has been tested, it is implemented indirectly via a trigger on the PRODUCTS table. Instead of the trigger directly calling this package, the trigger needs to queue an action that will execute the notification package when the transaction is committed.
    This can be done using DBMS_JOB. In the trigger, a job is submitted to execute that notification package for the current product ID. The job submission is part of the existing transaction. If the transaction is rolled back, so is the job and it is removed from the job queue. If the transaction is committed, the job is also committed to the job queue and executed.

  • APEX 3.0 PDF REPORT

    Hi all
    I installed APEX 3.0 (no errors) but i have a problem printing.
    It seems that i am missing something. whenever i tried to print i am getting the following message:
    Acrobat could not open 'obe_ projects[1].pdf' because it is either not supported file type or the file has been damaged
    Pls Help. Thanks
    Ribhi

    Scott:
    I have now tried this with Oracle Business Intelligence Enterprise Edition 10.1.3.2 and it worked without issues. We’re currently updating our PDF Printing configuration document:
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    So you’ll find more details about this on that page soon. Im short though, I downloaded the two CDs, ran the installer (I’m using Windows XP) and selected to only install BI Publisher. Once the install completed, and I rebooted my server, all I had to do was start up OC4J (which can be done from the BI Publisher folder in the Windows start menu). And then enter the host address, port and servlet information (/xmlpserver/convert) into my Application Express instance settings and everything worked just fine afterwards.
    Regards,
    Marc

  • Can BI Publisher comes with EBize be used to print pdf report from APEX?

    Hi,
    We have EBiz suit (11.5.10) with APEX 3.2. Both are working fine. I want to enable APEX to develop PDF reports. I would like to know whether I can use BI Publisher comes with EBiz to print PDF from APEX.
    If yes where can I get instructions on how to setup APEX with BI Publisher with EBiz.
    TIA
    DineshS

    I'm not aware of the BIP/XMLP Web Services being available in the embedded EBS version (XML Publisher 5.6.3). But you might be able to create your own wrapper to the XMLP APIs in EBS.
    Regards,
    Gareth

  • Altova StyleVision 2013 - APEX PDF Report

    Hello,
    I read this tutorial for create report : http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf
    But I have a problem when I create report for APEX with Altova StyleVision.
    I use Oracle XE 11gR2, APEX 4.2 and APEX Listener 2.0.4.
    In APEX, I created a state with 14 queries, and I exported in XML format.
    I can built four tables (from 4 different queries / rowset) in my report, and PDF printing works.
    But I have a problem when I want to add a fifth query (table) in my report :
    When I generate the PDF document from my APEX application, I have the following error message :
    "Error displaying the error page ORA-01403: No data found ORA-06502: PL / SQL: numeric or value error"
    Do you know why I get this error message when my report has 5 queries ?
    The number of queries in a PDF report is limited?
    Thank you very much for your help ! And sorry for my english ;-)

    Thank you for your answer !
    This is what I checked :
    APEX is configured to print via Listener --> ok !
    XSLT is the 1.0 version --> ok !
    5th query actually produces data --> ok ! If I create a new Report (with Altova) with only this query, the PDF works.
    Your Report is assigned to the correct Report Layout --> ok !
    Making a new Report Layout in APEX using the same XSLT file --> same error !
    Build a new XSLT in StyleVision using the new XML sample data --> same error !
    Downloading the XML from within the Report definition (ie 'run the report but download XML instead of making PDF') --> here there is maybe an error. When I open with a text editor the xml file downloaded, it contains this : "String index out of range: -1". BUT when I do the same operation with a pdf file who works (only 4 queries), the xml file downloaded contains the same message (String index out of range: -1).
    I forgot to say that I use the trial version of Altova, and my APEX Listener run in Standalone mode.
    Do you have any other answer to my problem ?
    Thank you very much for your help !

  • PDF report Page Size

    I am using BI publisher in APEX to generate PDF report. Data is displayed only on paper size 8.5 X 11 regardless any paper size I select i.e. Letter 8.5x11, Legal 8.5x14, Tabloid 11x17, Custom 8.5x20.

    You need to specify the paper size in the RTF template. Iif you are using RTF templates? If not its an APEX issue and needs to be addressed by them
    Tim

  • How to Create new PDF Report in ORacle Apex3.2 without having XML Publisher

    I am an Apex developer , my requirement is to develop the PDF file from Apex 3.2 with out using Oracle BI Publisher.
    Can anyone let me know the possibility??
    Thanks,
    Dhana

    Dhana,
    What reports are you trying to generate? I believe Apex can generate PDF reports out-of-the-box.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31rpt.htm
    APEX forum: Oracle Application Express (APEX)
    regards,
    Rownald

  • Online Report generation

    Hi All
    I'm using jdeveloper 11.1.2.0
    This is my use case.
    I'm thinking of developing web reporting tool which enables design report online and generate reports
    For this I hope to use Itext for PDF report generation.
    I plan to implement a design area in web page and user can Drag and Drop fields to that area so that they can outline the view of the report
    First I want to know is there a controller to cater my requirement
    Then I'm going to read the position details(for ex coordinations of a particular filed) and generate the PDF report online.
    Please can any body give me a suggestion to implement this use case scenario.
    Thanks
    Padma

    Hi,
    ADF is not a pixel-perfect user interface and as such doesn't allow you to lay out components this was (though it allows drag and drop). My assumption is that JavaFX, Flash or Java Applets is what you want to look into
    Frank

  • Add PDF report type to TestStand

    We have created a PDF report generation method.  We would like add "pdf" as a selection in the TestStand report options editor screen.  Has anyone else added a new report generation method to TestStand?  Will we have to modify the support model dll to make this appear as a selection in the report editor screen?

    Hello CS,
    You are right on track with your identification of modelsupport2.dll as the code module that is responsible for the Report Options dialog.  This dll is located in the following directory:
    <TestStand>\Components\Models\TestStandModels\
    I am not sure whether you will be able to just modify a parameter that is passed in the particular step that calls this code module or whether you will need to modify the dll itself.  I would be glad to look into the issue further.
    Matt G.
    National Instruments
    Applications Engineering

Maybe you are looking for

  • How do I install just the Quicktime Browser plugin?

    So I would like to just have the Internet Explorer Quicktime Addon installed without having the full quicktime 7 installed. How would I go about doing that? Thank you in advance,

  • Robocopy with Win 8.1 , guidance needed

    In Win8.1Pro 64 bit used  the command line: Robocopy V: F: \ backup /MIR / R:0 The copied directories now take most of the space on an external Lacie HD F: . All the files and directories seem to be hidden though, neither  command line DOS evel  nor

  • Out-of-order-writing and fsync issues ...

    I am facing a fairly interesting problem on my Sun box. The problem is: My customer has reported that PostgreSQL loses a file on TRUNCATE. The scenario is: BEGIN; TRUNCATE table; COMMIT; When the system is killed during this transaction it can happen

  • Latest Update has major ISSUES!!!!

    Is it just me or does the latest update of Skype comes with lots of major issues??? 1. It is ridiculously SLOW compared to all previous versions! 2. Sending "pasted" (CTRL+V) screenshots simply DOESN'T work! 3. Sending attached files simply DOESN'T w

  • External widescreen monitor

    I just bought a hannspree widescreen monitor for my pb since the screen has been acting up. I'm using a hdmi to dvi cord. problem is im only getting a letter box view. It is not stretched out. Is there anyway to expand it so it will fit the entire sc