Help! Print OLE object from report builder.

Dear OTN Members,
I would like to know how to print out a OLE object from
report builder, because currently I face problem to print out
the whole contain of the winword document file, because when I
display the OLE on the form it will only display according the
size I declare for it, it seems that it will not automatic
extend the size itself. i.e. if I drag the size to one page in
fact the maximum is one page, then when it display, it will only
display maximum one page eventhough the document file maybe
contain 10 page inside it. So when I print out the report it
will only show me one page, so if you have any solution, pls
share with me, thank you.
null

As far as I know you have to use OLE Item to work with the information. Unfortunately there is not any standart way to extract a source document from OLE. Some applications such as Word, Excel support OLE Automation, so you could use OLE2 package to save the document as a file, that is the easest way. But others don't, so you may have to use an undocumented way to extract a document.
Take a look at the following thread:
Subj: 6i to 9i Ole to LOB translations, How do you know the App. server?
Re: 6i to 9i Ole to LOB translations, How do you know the App. server?
P.S. If you can't extract some types of your documents, please let me khow.
P.P.S. To extract a document through OLE2 package you could use something like the following. /I'm not sure the code is correct/:
DECLARE
handle ole2.obj_type;
BEGIN
ACTIVATE_SERVER('OLE1');
handle := forms_ole.get_interface_pointer('OLE1');
BEGIN
-- Save a document to disk
Args :=OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(Args, 'C:\test.doc'); -- file name
OLE2.INVOKE(handle, 'SaveAs', Args);
OLE2.DESTROY_ARGLIST(Args);
EXCEPTION WHEN OTHERS THEN
Message('Error');
END;
-- OLE2.RELEASE_OBJ(handle);
END;

Similar Messages

  • Doubt , how to display ole objects in report builder

    Please tell me, how to display ole objects in report builder.
    I mean i wanted to print ole object in report, so how to do that.

    Just to clarify Lixia's response.
    In Reports 9i we have deprecated our OLE functionality. Reports created in prior versions that contain OLE objects should still run, but you will not be able to create new reports containing OLE objects.

  • Help: Extract OLE object from 8i (long raw) to a server file folder

    Posting here because most of the technical discussion I have found are in this group (Forms).
    I have an 8i db with workpapers(.doc,.xls,etc) stored in a Long Raw column wrapped in OLE that were collected using forms. The DB is maintained on a Sun Solaris platform.
    I need to extract the documents and write each one to a server folder as a .doc or ,xls without any OLE details.
    Is this possible? How?

    As far as I know you have to use OLE Item to work with the information. Unfortunately there is not any standart way to extract a source document from OLE. Some applications such as Word, Excel support OLE Automation, so you could use OLE2 package to save the document as a file, that is the easest way. But others don't, so you may have to use an undocumented way to extract a document.
    Take a look at the following thread:
    Subj: 6i to 9i Ole to LOB translations, How do you know the App. server?
    Re: 6i to 9i Ole to LOB translations, How do you know the App. server?
    P.S. If you can't extract some types of your documents, please let me khow.
    P.P.S. To extract a document through OLE2 package you could use something like the following. /I'm not sure the code is correct/:
    DECLARE
    handle ole2.obj_type;
    BEGIN
    ACTIVATE_SERVER('OLE1');
    handle := forms_ole.get_interface_pointer('OLE1');
    BEGIN
    -- Save a document to disk
    Args :=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(Args, 'C:\test.doc'); -- file name
    OLE2.INVOKE(handle, 'SaveAs', Args);
    OLE2.DESTROY_ARGLIST(Args);
    EXCEPTION WHEN OTHERS THEN
    Message('Error');
    END;
    -- OLE2.RELEASE_OBJ(handle);
    END;

  • Can't print OLE objects when 9i report developed in 6i

    Hi,
    I am migrating my reports from 6i to 9i. I just open report in 9i which is already developed in 6i and run the report it don't print OLE objects. It shows when I run report in Designer Preview, but in printing it shows blank
    --Vijay                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello,
    The answer is in the Migration FAQ :
    When I open an Oracle6i Reports Developer report in the Oracle Reports Builder 10g and run my Web layout, I get an empty Web page in my browser.
    http://www.oracle.com/technology/products/reports/htdocs/faq/faq_migration.htm#368
    Regards

  • Why is printing report different from report builder and app server

    I created a report and when ran from report builder it looks fine.
    And when i moved the report to server and ran the report in the browser using this url
    http://192.1.1.8:7778/reports/rwservlet?userid=esp/esp_dev1@wdev&report=FMMA_VOUCHER.rdf&destype=cache&desformat=pdf
    and print it the report shrinks, the fonts become small and the margins change. I am having hard time how to figure out a way to correlate the formatting in the report builder and when i run on the server using pdf format.
    Is there any way to set the server so that the pdf output matches with the report builder.
    Thanks.
    Sree

    I assume you are doing a cross platform deployment
    Pls read section 6.2
    Resolving PDF Font Issues During Cross-Platform Deployment
    in
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Connecting to db2 from report builder via odbc

    Hi!
    Some manuals said, it is possible to connect to DB2 from Oracle SQL*Plus (we have version 8.0.6.0.0)
    and from Oracle Report Builder.(6.0.8.11.3)
    User must install OCA (Oracle Open Client Adapter for ODBC (6.0.5.29.0)) and make ODBC entry.
    I did it.
    run with: plus80 db2user/db2pass@odbc:db2test
    SQL*Plus made the connection, but with errors:
    SQL*Plus: Release 8.0.6.0.0 - Production on Fri Oct 17 16:12:56 2003
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    DB2/NT 08.01.0000
    SQL>
    The error refers PUPBLD.SQL, but I think it is Oracle specific, don't help.
    Worse, that it can't connect from Report Builder, it just throws error.
    If I set OCA_DEBUG=TRUE in registry, I have bonus messages:
    oca-30053 unsupported network call (oracle code: 3115)
    oca-30002 ubofssw function not supported (1010)
    I tried to connect to MsAcces too, but I got same errors.
    Have you any idea, how can I solve this?
    Thanks

    resolved
    I just add the master entry in the c:\Report\NET80\ADMIN\tnsnames.ora, and it works.
    but I can't connect with the system or sys accounts, it work just with scott/tiger.

  • Attention!!-don't use OLE object in Reports

    If you are planning to use or is currently using OLE objects in Reports-please don't use it as the object maynot reload in future and your report may not even open in Report Builder.I got this message when opening the report containing OLE object:
    REP-4004: Error occurred while restoring OLE object
    and it refused to open up crashing my days of work.
    The pity is I can't open my report even to remove the OLE object.

    I know that is weird.I placed the object in the same directory-but in vain.Afterall, what's the logic of putting it in the same directory after embedding it?

  • Not able to connect to database from Report builder

    hello,
    I installed oracle 9i in my machine and is accessable from SQLPLUS . In the same drive i installed Report builder, i am getting the below error when i tried to connect DB from Report builder.
    REP-0501: Connecting to the database not specified.
    ORA-12521: TNS: address symbolic have not been resolved
    I create 2 accounts "system/ensa2010" and "sys/mrs2010" and a DB "master"
    to connect I use this informations
    User: system
    Password: ensa2010
    Database: master
    the contents of my tnsnames.ora file is:
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    MASTER =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = toto-86fb8e5b52)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = master)
    INST1_HTTP =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = toto-86fb8e5b52)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Please, if you have any ideas help and thanks.

    resolved
    I just add the master entry in the c:\Report\NET80\ADMIN\tnsnames.ora, and it works.
    but I can't connect with the system or sys accounts, it work just with scott/tiger.

  • Showing Japanese characters from Report Builder

    Hi , We've some problem showing the Japanese characters using Oracle Report builder 6i (6.0.8.17.0).
    Our database version is Oracle9i-9.0.1.4.0 and
    we'r using the DB character set as US7ASCII and National charecter set as UTF8 (Tried with AL16UTF16 but it's supported as per Oracle-metalink). We'r using Solaris 9 (OS 5.9) to invoke the Report Builder.
    Japanese characters are able to insert and select from SQL prompt using Japanese Terminal..
    But from the Report builder when we run the Report, we'r seeing some junk characters. Please help if anybody has worked on showing the Japanese characters from Report builder.
    Thanks
    -TN Reddy

    Hi Vinod and Sripathy,
    Thanks much for your feedback. We did some testing and it manage to get the results from txt/html/xml outputs but still have problem with post script format.We'r Checking this now..
    The prblem was UTF-8 was installed at the OS level (solaris 9).
    Anyway, Thank you very much.
    Regards
    -TN Reddy

  • Generate PDF from App. Srv. Produces Larger File than from Reports Builder

    Good Day,
    I have a the below issue , and need your help please.
    When generating a PDF report from the application server, the PDF size is large (200 MB) while
    same report is generated from the builder with smaller size 10MB.
    - Report Builder 9.0.2.0.3
    - The report contain only TEXT no Image , and contain arround 4000 pages ...
    The steps done from Application server in command line :
    - First I tested with several values for the parameter OUTPUTIMAGEFORMAT : file size stays the same or increases.
    - Second I tested with parameter PDFCOMP (for PDF compression) with varying values from 0 to 9 : file size stays the same.
    Kindly help ...

    From report builder :
    I open only the .rdf and generate the output to a PDF file.
    The number of page is from the PDf generated from Report builder , for the other one I Cant open it with PDF reader...
    Thx.
    MAN

  • How to remove Built-in-Fields from Report builder report

    I have create SSRS report which is sending email to recipient but at the bottom of report email I am also getting
     report accessible address. I don’t want to send that address to recipient. How should I remove from report builder?
    The report is accessible at the following address
    <<Report address>>
    Rahul

    You have to change the report subscription, and untick the checkbox that says to also send it as a link.

  • Subject in Email is always "Report sent from Report Builder"

    We run Forms 6.08 in C/S - architecture.
    Forms calls reports:
    ADD_PARAMETER(pl_id, 'SUBJECT',TEXT_PARAMETER, 'Please read appending pdf' );
    add_Parameter(pl_id,'DESTYPE',TEXT_PARAMETER, 'Mail');
    Run_Product(reports, 'MY_Report', SYNCHRONOUS, BATCH, Filesystem, pl_id);
    This works: Lotus pops up and a Email is initialized with a pdf appended.
    But the subject isn't filled in properly. There is always a constant text: "Report sent from Report Builder"
    How can I control the subject?
    Is it possible to fill in some text into the Email-body?
    Wolfram

    Hi,
    Please find my comments below :
    1. Subject is coming properly in EN but for DE taking the subject from standard task , BASIC DATA tab, Abbrevatio or Name ...
    which i am not able to rectify. i am not required to translate in DE , have to send email as it is in EN. but subject is only missing
    and everything is working fine. Can you please suggest me here ?
    Ans. Your problem here is not clear...Is this a Work Item or  mail ?..  Is your subject missing with Work Item in DE ?...
    2. For the (sent) From email address instead of email something like WF_USER , i have to display like below :
    densapwfadmin
    Ans.  Are you using talking about Extended notification here?... or just about mail step in your workflow?...
    Regards
    Gautam

  • Bought a new Canon MG7540 printer to replace the old HP A618. When printing vector objects from Illustrator, they look like graphics from dandy (8 bits) ... no smooth, all cubes ... if do raster than print perfectly.  Who knows how to treat it? No well to

    Bought a new Canon MG7540 printer to replace the old HP A618. When printing vector objects from Illustrator, they look like graphics from dandy (8 bits) ... no smooth, all cubes ... if do raster than print perfectly.  Who knows how to treat it? No well to rasterize vector before each printing. OS - MacOs 10.10.

    Have you read the User's Guide for that printer?  Odds are you will get reasonable prints.  However, it is a photographic printer.  That said, it should print excellent quality photographic files.  To get smooth lines in Illustrator, try Preferences > Use Anti-Aliased Artwork.  That will smoothen the output.  If, for some reason, that does not work, try Print > Save As PDF > open PDF in Reader and print from there.  Check the User's Guide for media sizes available for your particular printer.  Setup your artboard to the size page you want the image to print on.  Use View > Show Page Tiling ( to see where the page's printable area lies.  Align the page with the artboard using the Page tool.

  • Rep-0002 : unable to retrive string from report builder message file

    rep-0002 : unable to retrive string from report builder message file
    i'm using developer/2000 ver 2.1 and my reports running under win95 platform and i'm using client/server techneque, when i start to distribute my reports to my users on their machines i got the above message , and i have to recompile all of my RDF files again on every user machine. this not all my story , but after some period may be 2 months these reports start to give the same message , again i must recompile all my RDF on every user machine.
    please if any one have a solution for this mazing problem.
    thank you.
    [email protected]

    bogdom and gaben,
    I belong to your club too it seems. Though in my case the compilation was required on each database. Report used to work in the only that database in which they were compiled. Connecting to other database used to give this string error. Moreover this problem existed only for those reports in which i had used PL/SQL code in the formula columns. One way to avoid this is by writing all PL/SQL code in a library and call it in the formula column calculations.
    null

  • Problem in sending mail from REPORT BUILDER...HELP ...PLS ....URGENT

    Hi All,
    I added the mailserver part in the rwbuilder.conf file.This is how it looks
    <pluginParam name="mailServer">smtp.xxx.com</pluginParam>
    The smtp server of our company is working fine.
    Now when i am sending mail frm report builder i am getting the error.
    Pls tell me .....
    Do i have to configure any other file?
    Should the smtp server be running in my local machine?WHAT IS THE SOLUTION ...FOR THIS PROBLEM?
    Please someone give me some guidance..
    regards,
    ashok

    Hi,
    Pls give some idea ......
    your reply will be greatly appreciated.
    regards,
    ashok

Maybe you are looking for