Auto print Oracle report through call to PL/SQL

I have been tasked with finding a way to generate an Oracle report from a java servlet. Basically they want to pass in parameters to a PL/SQL procedure and have it automatically print out, without user interaction.
Can this be done?
Jeff

I am in a similar situation and have reached a bit of an impass. I am creating the report by means of passing a dynamically created URL from WebDB to the Report Server.
I have created a procedure to do various things and was planning on calling the report via the procedure using
OWA_UTIL.redirect_url depending on the params
that the user entered. Does the UTL_HTTP work in the same means as the aforementioned? Or are they the same thing?
Regards and thanks,
Steve
null

Similar Messages

  • Auto-print oracle report

    hi all...
    i created a batch file to auto-print an oracle report upon executing the batch file.
    the report is successfully printed upon clicking on the batch file or by executing it in ms-dos environment on the server but it is not printed out when i execute the batch file by calling it from a visual basic program, instead i encounter a report error, REP-3002(Error initializing a printer).
    please take note that the batch file is located in a windows 2000 server and a printer is already installed on the server.
    The batch file has the following code:-
    D:\ORACLE\DEV6i\BIN\RWRUN60.EXE REPORT=D:\SIMPLE\PROGRAMS\FWR_DISCREPANCY_LIST.REP USERID =WMS/WMS@ORCL p_ware_id=%1 p_arrival_no=%2 PARAMFORM =NO DESTYPE =PRINTER DESFORMAT=dflt TRACEFILE =C:\TRACE.LOG PRINTJOB =NO
    please help...
    i am not sure why it is not able to print out the report upon calling/executing the batch file from visual basic...

    I am in a similar situation and have reached a bit of an impass. I am creating the report by means of passing a dynamically created URL from WebDB to the Report Server.
    I have created a procedure to do various things and was planning on calling the report via the procedure using
    OWA_UTIL.redirect_url depending on the params
    that the user entered. Does the UTL_HTTP work in the same means as the aforementioned? Or are they the same thing?
    Regards and thanks,
    Steve
    null

  • Can not able to print Oracle report on HP inkjet500 Plotter

    Dear All,
    Please let me know how to print oracle report on HP plotter.
    I tried with both Bitmape and Character mode report but report preview automatically exit from the menu immediately without any error when i click print button (to the destination HP Plotter). But i can print Excel file/ PDF file on Plotter.
    My report size is 36 inch width, when i convert into
    PDF it converts data for 11 inch width only remaining
    is not available.
    I am using the following version
    Oracle 8i Enterprise Edition Release 8.1.7.0.0
    Report Builder : 6.0.5.28.0
    Forms : 6.0.5.0.2 [32 Bit] Version
    Hope you will reply with best solution.
    Thanks.
    Regards
    Yoonus

    user11996936 wrote:
    Has anyone faced such an issue with Oracle Apps?Maybe. Maybe not. Ask to the proper forum. Here you are in Peoplesoft forum.
    Nicolas.

  • How Can I print Oracle Report 9i directly To Printer on the local network?

    Dear All;
    How Can I print Oracle Report 9i directly To Printer on the local network?
    or to any other computer ? or to my default printer without prevoiues know the printer name i mean found it in my connected printer?
    plear help me?
    Best Wishes

    1. Check documentation for DESNAME and DESTYPE
    2. See 1 as long as they are a shared resource
    3. Think you must know the name, but please check or documentation
    Regards,
    Martin
    PS. There's a Reports Forum here which would be a better option for posting this question

  • Calling Oracle Report through AQ

    Does anybody know how to invoke an Oracle Report using Advanced Queuing?
    Any assistance will be greatly appreciated.

    Hi Darryl,
    I believe you can invoke PL/SQL in Oracle Reports. If so, invoke AQ PL/SQL procedures from Oracle reports.
    Thanks,
    Brajesh.

  • Print Oracle report into a network folder

    Hello,
    I was trying to print an Oracle report in PDF format to a network folder. I can do this directly from the url by pasting the url below on the browser, but when I try to do the same from a database trigger, I get "Rep 51002 bind to report server failed" error. I would appreciate any help that you can provide.
    Here is my code
    DECLARE
    req utl_http.req;
    resp utl_http.resp;
    value VARCHAR2(1024);
    BEGIN
    req := utl_http.begin_request('http://appserver.biosys.com/reports/rwservlet?server=rptserver&module=QueryIDResponse.rdf&userid=testuser/pwd@oracledb&destype=file&desformat=pdf&desname=c:/Query_Response_Report/245237new.pdf&P_QUERY_ID=123457&P_SERVICE_ID=6&P_SITE_ID=12501');
    utl_http.set_header(req, 'User-Agent', 'Mozilla/4.0');
    resp := utl_http.get_response(req);
    LOOP
    utl_http.read_line(resp, value, TRUE);
    dbms_output.put_line(value);
    END LOOP;
    utl_http.end_response(resp);
    EXCEPTION
    WHEN utl_http.end_of_body THEN
    utl_http.end_response(resp);
    END;
    Thanks
    Sani

    Thank you so much for your help. I used event driven pulishing and needed to install SRW package on my infra database and it is working good now.
    One thing I am struggling with sending pdf reports to another server. I could create a pdf at runtime, but needed to send to another server for storage. I could set up the desname parameter to store the pdf in the same report server by using the following code
    PORTAL.srw.add_parameter(myPlist, 'DESNAME', 'c:\Report\abcd');
    but to store in a different server I don't know how to do that. Any help would be appreciated
    Thanks

  • Printing Crystal Reports without calling Adobe Acrobat preview window

    Post Author: akurilin
    CA Forum: General
    Hi, each time a click a Print icon in a Crystal report preview toolbar, it opens a dialog box which opens an Adobe Acrobat preview window. Is it possible to print a Crystal report without calling Adobe Acrobat window?
    Thanks in advance,
    Anatoly Kurilin

    Post Author: lakarne
    CA Forum: General
    I want to know if I useing Crystal Reports xi and want print without calling Adobe Acrobat preview window, how can I do it?

  • How Can I print my report through character mode using DOS, very very urgent

    Hi all
    I would like to print my reports instead of from windows based, I want to print through DOS mode. While giving dos mode printouts report builder is hanging and comming out. Any help will be appreciated.
    Thanks
    Reddy

    Hi Reddy,
    Here is the solution.
    At Dos\> ORACLE_HOME\BIN\RWRUN60 <followed by the report name and desired arguments >
    srini

  • Dr watson error while printing Oracle reports 6.0.5.28.0

    Hi All:
    I am getting this problem when I was trying to print from the perview mode of Oracle Reports(6.0.5.28.0) on Windows NT Client machine. We are using Network printer which is on Windows 2000 Server. Can you hyelp me resolve this problem.

    The first thing you should do would be to get onto a supported version. We've done a lot of work in the printing area in the 6.0.8 (6i) release, particularly in the latest patch set.
    If this doesn't help then you should download the drivertest utility (http://otn.oracle.com/software/products/reports/files/printerdrivertest.zip) and follow the instructions to test the driver. Then work with support to get a bug filed.
    Regards,
    Danny

  • Printing Oracle Report.

    I have a problem printing an Oracle report on a dot matrix
    printer.
    I have the report set to print in character mode
    with the width and height of the report set to 132,31
    respectivley and the width and height of paper
    set to 7.25,11 each.
    The problem is:
    when I print my report it still prints on a whole A4 page.
    isn't it supposed to stop printing somewhere on half of the A4?
    I hope you can help me figure out the matter.
    Jaq84.

    Hi Prabodh,
    I have used Debug mode and I see 2 debug entries added.
    The first is just displaying all the page defaults - (I think the page gets reloaded when you select debug from the developer menu)
    The second is the SUBMIT request and it shows the initial value of the hidden item (ie null) and then where I changed its value (ie Y).
    The problem is, it does not list an entry for the page when it returns from the Report Status page, so I have no way of knowing if anything is
    changing its value. I even changed code to set the item to N instead of null and then to Y on submit. But when I return from the Status page
    the value remains at N, even though if I check the Session State values it will say Y. The only conclusion I can come to is that it is using the
    cached values and effectively just displaying the values set before I submit the page.
    I have been playing around with iFrames and it seems to work the way I want.
    I created a new Page (5), then a HTML region. Within the HTML region i have the following code
    <table>
    <tr>
      <td>
       <iframe src="&P1_URL." width="500" height="300"></iframe>
      </td>
    </tr>
    </table>I also create a button (Return) + branch and on submit will return to page 1.
    From page 1, instead of branching to a URL, I now branch to page 5. This loads the Report Status page into my iFrame and indicates that it was
    successful, but now instead of using the OK button within the status page I use the Return button that is part of the Apex application.
    This way I no longer need the javascript or hidden items to try refresh the page , it will be done automagically once the return button is pressed.
    I know it may not look great but it is the only solution I can get to work at the moment.
    Thanks again for all your help, I really appreciated it.
    Regards,
    Ryan

  • Printing oracle report from oracle forms

    At our place, our clinet machines are upgraded to IE8 (Internet explorer 8), and some users are having probelms when they print pdf reports from IE8. If they save pdf report on computer and use adobe acrobat reader, then they can print, but when they hit print button on the IE8 they are unable to rpint.
    Please advise why some users cannot print pdf reports from IE8. Thanks

    Hi,
    has anyone managed to resolve this yet?
    seems as though some sort of impersonation mechanism is necessary for the machine running the reports server to identify to the printer as the client username running the report..
    i do know it's possible to pass to the rep server a parameter called "authid",
    so if for example i run the following -
    http://<server>/reports/rwservlet?report=test.rdf&authid=rsorero&userid=bla/bla@bla&server=repsrv&destype=PRINTER&desname=\\printsrv1\myprinter1&desformat=PDF
    then in the report server queue (showjobs) i get the owner as "rsorero" instead of "ANONYMOUS"..
    but that doesn't translate to an OS user on the server side, and the print is still owned by [server]$..
    any insights?

  • Page reload/refresh after printing Oracle report.

    I have upgraded from version 3.0.1 to version 4.0.1 and I am having an issue.
    I have a page with a tabular form (SQL Query - updateable report) which allows me
    to select items I want to print.
    The report looks like the following:
    Name          Print
    Template 1     Y/N
    Template 2     Y/N
    Template 3     Y/N
    Template 4     Y/N
    The print column is a static LOV with a 'Y' or 'N' option.When I submit the page, a MRU runs and sets a flag for each item I want to print in the database.
    It then branches using "Branch to URL Identified by Item (Use Item Name)". The URL specifies an Oracle report
    server and the oracle report to print.
    All this works fine and the items that were selected, print out. An Oracle Reports Job Status is displayed
    on screen (this originates from the oracle report server) to indicate that it has "successfully run" along with
    an OK button. The OK button contains the following code: javascript:history.back()
    A process also exists on the page ("On Load - Before Regions") that resets any flags that were set in the database
    when the page is loaded and so the report will displays all N's in the Print column.
    Now my problem is that in version 3.0.1 when I hit the OK button it would return to the page in the apex
    application that branched to the oracle report and the page would be reloaded, where as in version 4.0.1
    the page is not reloaded.
    Any ideas how to fix this or can someone suggest a new way of achieving the same result.
    Any help would be appreciated.
    Regards,
    Ryan

    Hi Prabodh,
    I have used Debug mode and I see 2 debug entries added.
    The first is just displaying all the page defaults - (I think the page gets reloaded when you select debug from the developer menu)
    The second is the SUBMIT request and it shows the initial value of the hidden item (ie null) and then where I changed its value (ie Y).
    The problem is, it does not list an entry for the page when it returns from the Report Status page, so I have no way of knowing if anything is
    changing its value. I even changed code to set the item to N instead of null and then to Y on submit. But when I return from the Status page
    the value remains at N, even though if I check the Session State values it will say Y. The only conclusion I can come to is that it is using the
    cached values and effectively just displaying the values set before I submit the page.
    I have been playing around with iFrames and it seems to work the way I want.
    I created a new Page (5), then a HTML region. Within the HTML region i have the following code
    <table>
    <tr>
      <td>
       <iframe src="&P1_URL." width="500" height="300"></iframe>
      </td>
    </tr>
    </table>I also create a button (Return) + branch and on submit will return to page 1.
    From page 1, instead of branching to a URL, I now branch to page 5. This loads the Report Status page into my iFrame and indicates that it was
    successful, but now instead of using the OK button within the status page I use the Return button that is part of the Apex application.
    This way I no longer need the javascript or hidden items to try refresh the page , it will be done automagically once the return button is pressed.
    I know it may not look great but it is the only solution I can get to work at the moment.
    Thanks again for all your help, I really appreciated it.
    Regards,
    Ryan

  • Printing Oracle Reports with values obtained from file using IO

    Hi All,
    We have decided to change the report writer tool from Brio SQR to Oracle Reports 6i. The design using Brio SQR was such that we used to populate all the values to be printed in a text file and then we use to populate the values in the BRIO reports using this file as an input.
    We don't want to make many changes to the design at this stage. Can anybody suggest how can we use the text file as input to populate the different fields in the Oracle Reports.
    Thanks in advance.
    Regards,
    Milind

    Hi Miliand
    Text Datasoucre is a Reports 9i feature. You can get the information on the feature overview at
    http://otn.oracle.com/products/reports/content.html.
    You will find the complete 9I Reports reference manuals on OTN soon
    Thanks
    The Oracle Reports Team

  • How do I trigger an Oracle report through Java Code?

    Hello,
    I am new to reports. Is there any way to trigger a report through java code - I know there is an OS command to trigger a report automatically. Has anybody done this through a high level PL?
    Amit

    We are in a similar situation. If you receive any answers can you forward the same to [email protected]

  • Invoke oracle report 10g from database pl/sql package

    Hi
    Is there a way that i can invoke an oracle report 10g from the database pl/sql package? I am working on a requirement that needs to generate a report when one of the criteria is not met.
    Please suggest me on this.

    Thanks for the info.
    I have a scenario where i need to fetch members details like name , email address and so on from the mainframes on the oracle database. Then on the oracle database i need to check if they have a email address or not. If yes then i need to generate a notice and mail it to them. If they don't have an email address, i'll have to print that out in a some centralized location.
    By the way, the notice was developed using oracle reports 10g.
    Now i am developing a pl/sql package which will do the address validation but i didn't know how to call a oracle report to generate the notice in pl/sql procedure.
    As suggested i will try with dbms scheduler and see if that works for me.

Maybe you are looking for

  • Low FPS when accesing iPhone video output image buffer

    2 down vote favorite Hi, I'm trying to do some image processing on iPhone. I'm using http://developer.apple.com/library/ios/#qa/qa2010/qa1702.html to capture the camera frames. My problem is that when I'm trying to access the captured buffer, the cam

  • Invoke node: invalid method error

    hi, can someone help me explain what i did wrong or help me try to solve these errors.. i am trying to work on an example problem and i dont see where i did wrong.. thanks in advance labview 7.0 Message Edited by krispiekream on 03-14-2008 12:11 PM M

  • Authentication of inside users ASA (EasyVPN)

    Greetings All Authentication of users behind ASA 5505 connected to VPN3000 Concentrator with EasyVPN According to the law in a certain country, we need to log the following: Time & Datestamp Username/ip address of the pc inside Which sites they have

  • No contacts displayed from Outlook 2007 on iPad Mini

    Contacts are available when using email, but none showing in the Contacts app

  • Problem connection between airport bases

    Hello everyone I would like to ask a question if someone could give me a solution if it exists I own four bases airport installed in a three-story house in this way: Airport Extreme configured as "creates wireless network" on the third floor Airport