PDF report of economy on the client machine

Dear all,

I have a form where the user can select the path he wanted to save report PDF (generated by the Bulder report) at (I use Webutil). I put this path as DESFORMAT before calling the repot, but when the report is run, it is saved on the server (application server), if the same path exist on the server (for example, c:\temp), otherwise it gives an error.

How can I do this?

Concerning

Hello
I guess all the pdf files that you generate in the c:\temp directory. Otherwise if the files are in c:\temp\data then you will need to change in the webutil.cfg file. So, according to your webutil.cfg file the function call can be like that...

 lResult := WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS
               ('C:\TEMP\ABC.TXT',
                'C:\TEMP\ABC.TXT',
                'TITLE',
                'PLEASE WAIT...');

Or otherwise if the files are in C:\TEMP\DATA, and then change the configuration for the below setting and try the function as below...

 transfer.database.enabled=TRUE
 transfer.appsrv.enabled=TRUE
 transfer.appsrv.workAreaRoot=
 transfer.appsrv.accessControl=TRUE
 transfer.appsrv.read.1=c:\temp\data
 transfer.appsrv.write.1=c:\temp\data

And the function like this...

 lResult := WEBUTIL_FILE_TRANSFER.AS_TO_CLIENT_WITH_PROGRESS
               ('C:\TEMP\data'ABC.TXT',
                'C:\TEMP\ABC.TXT',
                'TITLE',
                'PLEASE WAIT...');

Make sure the file is readable on the ACE and the C:\TEMP directory is available on the client side.
With the help of example that you can find in the webutil demo. See the link below.
http://www.Oracle.com/technology/products/forms/htdocs/webutil/webutil.htm

-Clément

Tags: Oracle Development

Similar Questions

  • Flow on the client machine connected RAS VPN multicast

    Hi all

    I got a requirment, it is the flow of Muliticast need access via RAS VPN

    Scanario: I have ASA 5540 peripheral, configured profile RAS and user that connects to the ASA device to the standard access via VPN server.

    We have now posted on the Web and flow need to access the profile of RAS VPN PCF. Please let me know is technically possible to configure configuration mulitcast and is the machine of the client user can access flow via VPN. Help, please

    Unfortunately, this is not supported with the customers of the software.  You need a router IOS any if you want to multicast via VPN.

    -Jason

  • Overview of the data in the service Console Regional on the client machine generates an error.

    When I saw the data in the Regional (version 11.1.1.4) service console on a client workstation, I get a "cannot sign in the field. "Error of initialization of the ORB.java.io.FileNotFoundException: domain.db (access is denied)" error. Now, if I use the client URL to Admin Console on the same computer am able to preview the data correctly. Also when I saw the data on the client installed on the server can't correctly preview data. Just when I use the Admin console client installed on a workstation, I get this error. Any suggestions?

    Thank you
    Ted.

    Published by: Teddd on March 26, 2013 14:51

    TimG says:
    I certainly say it is your problem (I don't even know how to see / control when installing local vs. web-Launcher finds Java, or if indeed there is a difference) but I think it's plausible enough to a test value

    In 11.1.1.3 the Regional (not the web version) service console will resume java installed on the machine, if Java has not been installed it will use the settings in the admincon.lax file for example lax.nl.current.vm=E:\Hyperion\common\JRE\Sun\1.5.0\bin\java.exe
    So basically if you have installed Java 1.6 it will pick up and use that otherwise it will use the default JRE INSTALLED with Hyperion. The web console needs a version of Java installed in order to use Java Web Start.
    And I agree to have a different version of Java that sustained can cause problems using the Regional service console.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • The client Machine Info

    How can I get these last applications opened in the client using the form 10 g machine

    You can use welutil pacakge to get the files to the client directory % RECENTLY.
    then analyze each file in the directory.
    each file is recently open files on the client computer

  • FRM-92095 Oracle Jinitiator too low Version - dsiplayed on the client machine

    Hello

    When I connect my Windows/Xp client computer on my Linux R12.1.1 server. I get the following message:

    'FRM-92095; Oracle Jinitiator Version too low. "Please install the 1.1.8.2 version or higher.

    I don't really know what that means.

    Can someone give me the steps on how to solve this problem - when I open a form on the client computer.

    Thanks in advance for your help.

    Published by: user565503 on August 26, 2011 21:52

    When I connect my Windows/Xp client computer on my Linux R12.1.1 server. I get the following message:

    This worked before? If so, the changes have been made recently?

    'FRM-92095; Oracle Jinitiator Version too low. "Please install the 1.1.8.2 version or higher.

    I don't really know what that means.

    Oracle EBS R12 comes with JRE, so you are not supposed to download any version of Jinitator. If you have already installed, uninstall it (via Control Panel > Add/Remove Programs) and then check.

    Can someone give me the steps on how to solve this problem - when I open a form on the client computer.

    Can you reproduce the problem by using a different browser? What happens if you try from another machine?

    If please run AutoConfig and make sure that it ends successfully.

    Thank you
    Hussein

  • Hardware changes reported after moving from the virtual machine to a host of W7 W8 host.

    I tried to move a virtual machine with the guest OS Windows 8 used in the VMware Workstation 9.02

    my HP desktop with Intel core i7-2600 processor, running Windows 7

    to my Toshiba laptop with Intel core i7-4700MQ processor, running the latest version of Windows 8.

    I did something like that all the time with my old laptop with i7-2630QM running Windows 7.

    It turns out that something changes significantly when the host of the laptop operating system passes W7 to W8.

    After starting the virtual machine on my laptop W8, I clearly stated it had been MOVED and NOT copied.

    Unfortunately when I try to use one of the Office 2010 applications, I get a message that the change of
    HW has been detected, and that I must again request (purchase new license I guess).

    Can someone help me solve this problem. For me the time is important.

    I'm leaving for a business trip to 3 weeks and the old laptop is no longer appropriate.

    Andrew J

    Hello

    It seems to be normal, because the changes to the hardware (RAM, CPU,...)

    may be a reason for reactivation of Microsoft Windows or Microsoft Office.

    I had such a situation, the upgrade of RAM.

    So if you have the license, activate it again.

    Hope has helped you.

    Your Oscar

  • How to remove the file from the client machine

    Hi all
    We use the database: oracle: 10 g,.
    and forms/States 10g (developer suite 10g - 10.1.2.2).

    can someone help me how to remove the file from the client computer in the location specified using webutil or everything
    (I tried with webutil_host & client_host but this only works for the application server)
    Thank you.

    Hello

    Checkbox not tested.

    PROCEDURE OPEN_FILE (V_ID_DOC IN VARCHAR2)
    IS
    
    --------------------------------------------------------------------------------
    -- Open a stored document --
    
    --------------------------------------------------------------------------------
    LC$Cmd Varchar2(1280) ;
    LC$Nom Varchar2(1000) ;
    LC$Fic Varchar2(1280);
    LC$Path Varchar2(1280);
    LC$Sep Varchar2(1) ;
    LN$But Pls_Integer ;
    LB$Ok Boolean ;
    -- Current Process ID --
    ret WEBUTIL_HOST.PROCESS_ID ;
    V_FICHERO VARCHAR2(500);
    COMILLA VARCHAR2(4) := '''';
    BOTON NUMBER;
    MODO VARCHAR2(50);
    URL VARCHAR2(500);
    
    Begin
    
    V_FICHERO := V_ID_DOC;
    
    LC$Sep := '\';--WEBUTIL_FILE.Get_File_Separator ; -- 10g
    LC$Nom := V_FICHERO;--Substr( V_FICHERO, instr( V_FICHERO, LC$Sep, -1 ) + 1, 100 ) ;
    --LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
    LC$Path := 'C:';
    LC$Fic := LC$Path || LC$Sep || LC$Nom ;
    
    If Not webutil_file_transfer.DB_To_Client
    (
    LC$Fic,
    'TABLE_NAME',
    'ITEM_NAME',
    'WHERE'
    ) Then
    
    Raise Form_trigger_Failure ;
    
    End if ;
    
    LC$Cmd := 'cmd /c start "" /MAX /WAIT "' || LC$Fic || '"' ;
    Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
    LN$But := WEBUTIL_HOST.Get_return_Code( Ret ) ;
    If LN$But 0 Then
    Set_Alert_Property( 'ALER_STOP_1', TITLE, 'Host() command' ) ;
    Set_Alert_Property( 'ALER_STOP_1', ALERT_MESSAGE_TEXT, 'Host() command error : ' || To_Char( LN$But ) ) ;
    LN$But := Show_Alert( 'ALER_STOP_1' ) ;
    LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
    Raise Form_Trigger_Failure ;
    End if ;
    
    If Not webutil_file_transfer.Client_To_DB
    (
    LC$Fic,
    'TABLE_NAME',
    'ITEM_NAME',
    'WHERE'
    ) Then
    NULL;
    Else
    Commit ;
    End if ;
    LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
    
    Exception
    When Form_Trigger_Failure Then
    Raise ;
    End ;
    

    Sarah

  • Font change in accordance with the resolution of the client machine

    I have a Flex application in deployment now that resizes based on the size of the screen. One screen, on which it is running is a huge flat screen of 48 ", and it should also run on different portable small etc..

    Resizing works fine, but I would also change the fonts based on the resolution of the client computer. I have two questions:

    (1) is there a way to detect that in Flex
    (2) how you dynamically set policies on barregraphes and DataGrid, you can just reference to a function rather than a variable or do you need to use a kind of special method like "fontFormula" or something?

    M.

    It works for me:

  • How to enter IP address of the client Machine.

    Hello...

    I want to enter the ip address of the client computer and store it in a field.
    My client wants to capture the ip address so that it can easily emerge from
    What specific work of the client system is done.

    If there any pre defined function or syntax is here to get the IP...

    with cheers
    Sprity...

    There will be a webutil.pll in your devsuitehome/forms library
    First copy in your working directory and compile it.
    then attach this library to your form.
    Create a char type textfield and button

    in the trigger when button pressed

    To write

    : blockname.textfieldname: = webutil_clientinfo.get_ip_address;

    You must run the form with config = webutil

  • Print the PDF to the client machine

    We are generating HTML pages using HTP and HTF packages. There are some PDF files which users transfer to the database using these pages. Now, we need to view and print PDFs (stored in the BLOB) in these HTML pages and call the customer print dialog box.

    Anyway is this goal using PLSQL?

    Environment (Linux server):
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    [email protected] wrote:
    We are generating HTML pages using HTP and HTF packages. There are some PDF files which users transfer to the database using these pages. Now we have obligation to view & print PDF (stored in the BLOB) files in these HTML pages and call the customer print dialog box.

    Anyway is this goal using PLSQL?

    You must provide a URL for the web browser to download the PDF file. The wpg_docload.download_file () procedure must be used - you provide the Mime header to the HTTP response and provides the content.

    The URL of the browser will look something like this:
    URL:.../pls/myschema.pdfdownload?filename=test.pdf

    And the active web aka mod_plsql procedure will look as follows:

    create or replace procedure PDFdownload( fileName varchar2 ) is
      b blob;
    begin
      -- read the PDF blob
      select p.pdf_file into b from my_pdf_files p where p.file_name = fileName;
    
      -- create the HTTP response header for the browser
      OWA_UTIL.mime_header( 'text/pdf', FALSE );  -- please check up on the Mime type to use for PDF
      HTP.p( 'Content-Disposition: attachment; filename='||fileName );
      HTP.p( 'Content-Length: ' || DBMS_LOB.getlength(b) );
      OWA_UTIL.http_header_close;
    
      -- stream the content
      WPG_DOCLOAD.download_file( b );
    end;
    

    The problem with this impression on the customer side - you do not know how the browser will treat this type Mime PDF it receives. He can summon the browser Adobe Reader plug-in if installed. It can offer users the ability to download and save it to a file. It can save it as a file in the temporary browser cache and then call an external program (e.g., okular on Linux) to view this file.

    So, how do you get the browser to automatically print this file? It can not. It must be filled by an application that includes PDF and can print PDF format. The browser itself does not work. That's why he needs a plug-in or a request for assistance.

    Offhand I don't see how you can trigger an automatic print of the PDF itself via the plug-in application or assistance - which is more than one question in the web development forum where web developers deal extensively with browser plug-ins.

  • PDF report does not display the Cyrillic letters

    Hello world. To generate report I started using Exaprom PDF https://decibel.ni.com/content/docs/DOC-10952 . But there is that I found a bug. I'm trying to insert Russian letters to the pdf text document, there is no error. But when I open the pdf documents, there is not all the Russian letters. That of English letters and numbers. Anyone know what kind of problem is it?

    I solved this issue as follows. First create a control of the chain. Insert in the text of the control with Russian letters then use Add control Image.vi and wire to ot references of my order

  • create a txt file in the client machine

    Hi all

    I have


    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    PL/SQL Release 9.2.0.6.0 - Production
    CORE 9.2.0.6.0 Production
    AMT for Linux: release 9.2.0.6.0 - Production
    NLSRTL Version 9.2.0.6.0 - Production


    I want to create a file in my pc with utl_file for example

    {

    CREATE OR REPLACE PROCEDURE HELLOFLE IS
    v_MyFileHandle UTL_FILE. TYPE_DE_FICHIER;
    BEGIN
    v_MyFileHandle: = UTL_FILE. FOPEN ("C:------',' myfile.") TXT', 'w');
    UTL_FILE. Put_line (v_MyFileHandle, "something must printed");

    UTL_FILE. FCLOSE (v_MyFileHandle);
    EXCEPTION
    WHILE OTHERS THEN
    DBMS_OUTPUT. PUT_LINE ('ERROR' |) TO_CHAR (SQLCODE) | SQLERRM);
    NULL;
    END;


    }

    could you please help me, I'm new.


    Thank you

    Hitesh

    Your code looks OK and also fine requirement. You can create a text file on your PC, if you are working on the server or client.
    It works fine without any problems abs. The only thing to be supported is the path of directory and file mode.

    1 directory path - it must be created on the Oracle server, pointing to the location of the target file you. If target is the customer, you must use the name of the computer and the relative path to create the directory as below. If your machine name is CLIENT001 and the target location is C:\Test, then your directory must be on the server (as sysdba)

    conn uname/pass as sysdba
    create directory mydir as '\\CLIENT001\TEST\'
    

    Because file access operations are supported by the server, so the server must have read/write access on the directory path. In the direct words, target your path on the cleint must be shared for access to the R/W server.
    Also grant read, write on directory access to the user who executes the procedure UTL_FILE.

    2. If you want to create a new file on the location of the target file, it must be open in write mode (w) only. You have already done, which is correct.

    That thing you can change is the directory in your code and move forward. It should work properly

    CREATE OR REPLACE PROCEDURE HELLOFLE IS
    v_MyFileHandle UTL_FILE.FILE_TYPE;
    BEGIN
    v_MyFileHandle := UTL_FILE.FOPEN('C:\','myfile.TXT','w');
    UTL_FILE.PUT_LINE(v_MyFileHandle,'some thing should printed ');
    
    UTL_FILE.FCLOSE(v_MyFileHandle);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR ' || TO_CHAR(SQLCODE) || SQLERRM);
    NULL;
    END; 
    
  • Loading slowly VDR devices after connecting - 100% cpu on the client machine

    Whenever I connect to one of my vdr devices (5 of them), it connects, but takes a good 5-10 minutes for all events and loading failures.  As is the case, it makes the cpu on my workstation peg up to 100% continuously during the time it takes to load all the events etc.

    Version of the VDR is 1.2.

    Any ideas or suggestions?

    Thank you

    Under the reports tab in the camera VDR console, select the events you want to purge, right-click and then click on remove.

    Sean

  • ORA - 17008 on the client machine

    Hello

    I installed oracle 10G 10.2.0.1.0 (32-bit for windows) on the server. Then when I connect to the database through SQL or SQL Developer prompt or the application server (websphere 6.1) on local computers and after I keep the ideal session for some time (say about a minute or two), I get a closed connection message ' connection closed ORA - 17008. It then asks me to reconnect and it maintains past frequently.

    I also installed on the oracle server SQL Developer and here, this issue is not reproducible.

    I also checked with the server team and network, but it is not all the problems in the network or the server.

    Can anyone suggest a solution for this problem?

    Ask your network to check/change team settings of the firewall for idle connections.

  • Print to local printer from the client computer

    Hi Dan
    Please help the following problem:
    How to send a print to the local printer of the client machine (or end-user) have activate additional services?
    The project is deployed on a server Linux with Oracle Enterprise BPM and Oracle WebLogic 10.3.
    Thanks for the help

    Hello

    If you want to print the presentation of the subject of a BPM, you can add a new button to the presentation with the label "Print". 'The Action' property for the button should just be changed to 'print '.

    You can choose a couple to print a PDF file. Easiest would be to add a link in your PDF presentation (assuming that the PDF would be on the server somewhere). Once they click on the link, the PDF file would come to the top and they could print the pup.

    Hope this helps,
    Dan

Maybe you are looking for