Invoking PDF file from Forms

We had a requirement in Oracle 10iDS to invoke PDF file from the Application form .I am trying to do that using client_host('AcroRd32.exe D:\temp\abc.pdf') which is not working ..
I have webutil configured as well ..
Can you some one suggest me on this
Many thanks
Sareen

Sareen,
If the PDF is on the client:
web.show_document('file://D:\temp\abc.pdf', '_BLANK');
If on the Application Server, then create a virtual directory (for instance docs/):
web.show_document('http://server.com:7778/docs/abc.pdf', '_BLANK');
Regards,
Martin Malmstrom

Similar Messages

  • Opening .pdf files from forms using OLE

    Hi,
    I want to open, print , save and save as pdf files from forms using OLE . Please help me with the same.
    Thanks
    Vidya

    If you are in client/server mode, you can put an OLE container component on your form. However, be warned that this method does not work when you convert to the forms server web enabled mode. If you anticipate moving your application to the web anytime soon, my advice would be to web-enable first and then add in the feature to view .pdf (or other) files. In our client/server app, I went to a lot of trouble to add in OLE features such as you describe, and now I have to completely re-write those features for the web.

  • Opening pdf file from form developer

    Dears:
    If I have a pdf file and I want to open it from form
    how can I open it by web.show_document
    developer 10g r2
    os :windows xp
    Thaks in advance

    if you have a local sever, put your pdf file on the root folder, then
    use this : web.show_document('http://localhost/oracle.pdf','_blank');
    or web.show_document('file:///C:/oracle.pdf','_blank'); <-- if you dont have one.
    instead of
    web.show_document('file:///c:\oracle.pdf','_blank');
    Edited by: 836773 on Mar 1, 2011 11:19 PM
    Edited by: 836773 on Mar 1, 2011 11:31 PM

  • Not able to open pdf file ( smart form from webdynpro )

    Dear friends,
    while trying to download pdf file from webdynpro i am getting the following error ( pls check the screen shot and also my  code )
    could any one please let me know what's the issue
    Thanks
    Vijaya
    data    v_bin_filesize           TYPE i,
               st_job_output_info       TYPE ssfcrescl,
                bin_pdfx TYPE xstring,
    data  : it_docs     TYPE STANDARD TABLE OF docs,
              it_lines    TYPE STANDARD TABLE OF tline.
    data : lv_file_name type string.
              lv_file_name = 'PDFSMARTFORM.PDF'.
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
    * EXPORTING
    *   USE_OTF_MC_CMD               = 'X'
    *   ARCHIVE_INDEX                =
         IMPORTING
           bin_filesize           = v_bin_filesize
         TABLES
           otf                    = st_job_output_info-otfdata
           doctab_archive         = it_docs
           lines                  = it_lines
         EXCEPTIONS
           err_conv_not_possible  = 1
           err_otf_mc_noendmarker = 2
           OTHERS                 = 3.
       cl_wd_runtime_services=>attach_file_to_response(
       i_filename = lv_file_name
       i_content = bin_pdfx
       i_mime_type = 'application/pdf'
       i_in_new_window = abap_false
       i_inplace       = abap_false ).

    Hi,
    I think the binary file conversion was not done properly( you haven't filled bin_pdfx, its the otf_data ). OR, Use CONVERT_OTF FM and pass format as PDF. Check this document for reference: Opening a Smartform in Web Dynpro ABAP
    Hope this helps u,
    Regards,
    Kiran

  • Urgent ! problem in accessing pdf file from client

    Problem : Unable to access the temp(.pdf) file from the client.
    Scenario: I,m working on pdf reports.Pdf file is created each time the user submits the form.
    The file can be accessed from the server itself.But can't be accessed from the client.
    Description :
    Path i,m specifying for run time creation of the .pdf file is :
    C:\PStudio\RepMenu|RepMenuWeb\tempp_files\
    The C:\ drive is of the server machine.
    After creating the temp file say,
    C:\PStudio\RepMenu|RepMenuWeb\tempp_files\temp_rpt_53881.pdf
    I assign this path to the variable as :
    dir_Path=C:\PStudio\RepMenu|RepMenuWeb\tempp_files\temp_rpt_53881.pdf
    and also create the hidden variable as :
    out.println("<input type='hidden' name='hfile' value="+dir_Path+">");
    Now onClick of image I invoke js function as :
    function clickOn()
         var path="";
         path=document.form1.hfile.value;     
         document.form1.action = path;
         document.form1.submit();
    Help me to figure out where I,m making the mistake.
    For any futher query Kindly mail me at [email protected]

    I had similar issue. Despite of having "Define workstation application in network" for PDF setup for Application Type 3 "print" with Application %AUTO% I was only getting the .pdf file displayed in Adobe Reader instead of getting it printed.
    Solution:
    set Application to "AcroRd32.exe /t" to get the files opened in the Adobe Reader, printed and closed. The only thing I wasn't able to do was to get the Adobe Reader application closed after the print.
    regards,
    Jacek

  • Lately pdf files from the Web do not display properly; what is wrong and how can I fix it so I don't have to use IE?

    I am a professor and frequently need to open pdfs of academic journal articles from electronic databases. Within the last two or three weeks, when I try to do this using Firefox, only the first page of the pdf displays and the rest are blank. In addition, a bar appears across the top with the message "This pdf file may not display properly." So I have had to switch to Internet Explorer to open the files and do my research. What is going on and how can I fix it so I can open pdf files from the Web in Firefox and have them display properly?

    My question is simple - why would you put an application in production that has a lot of bugs? To replace a good and steady Adobe product? My customers will believe that I put a pathetic fallible form online. They are not sophisticated on computers so I just tell them to use IE. Ugh
    I must agree with pgwebgirl!

  • Problem importing PDF file from Word to Pages on IPad 2

    I am trying to import a PDF file from Word 2007 to Pages on my iPad 2 using the file sharing function in iTunes.
    I am able to import it, however when Pages saves it, I get the following message:
    "Pages doesn't support some od the original document.
    Objects in headers, footers, shapes, text boxes and table cells were removed.
    Merged table cells were unmerged.
    Objects were removed from table cells."
    The document is a PDF form which needs to be filled in. The document was downloaded from a website and saved as a Word document where I have been able to enter in information and print it.
    I would like to be able to fill in the form and print it from Pages as there are other documents that accompany this PDF file. (these are plain text Word documents which I have succesfully imported and can edit and print.)
    Is there any way for me to achieve this?
    Cheers,
    Jules

    I don't think Pages can do this - you'll need a dedicated iPad PDF program that can fill in and edit PDF files. And even then, reports are that different readers work or dont' work with different PDF's... I use Goodreader, which can do some PDF filling in, but you might want to check the app store for others.

  • Accessible PDF files and forms

    I am beside myself with the lack of help and/or interest in the Accessiblity area. We have been mandated to make all our PDF files accessible on our Web site. We have been able to master many of the issues regarding tags and form fields, but still have questions regarding updating the original PDFs without loosing the tag structure.
    Is there any options on the Adobe site that may concentrate on this area? I called tech support yesterday (Bronze contract), was on hold for 10 mins and got disconnected. After leaving my number, they never called me back again.
    HELP
    KEN PANTHEN, Albany, NY

    Bill
    The point was not having to create the tags again in a new file before
    replacing the pages containing the form fields in the old file. We have
    many forms that get updated right up to the last minute and to go through
    the tagging process is too time consuming. We do not use PDF Maker, but
    produce all the PDFs directly out of InDesignCS3 to Adobe Acrobat
    Professional (Distiller).
    Thanks for your reply.
    KEN PANTHEN
    NYS Tax Department
    Information Technology Specialist 2
    FPM - Composition Services Unit
    (518) 457-1425
    (518) 485-7828 (fax)
    From:
    "Bill@VT" <[email protected]>
    To:
    Kenneth Panthen <[email protected]>
    Date:
    06/24/09 11:19 AM
    Subject:
    Accessible PDF files and forms
    I am really suggesting replacing all of the pages. I was thinking that the
    tag structure would go with the replacement and you would need to create
    the other PDF with PDF Maker to keep the tagging. I may be wrong, but that
    was the view I had. If you replace a single page, I am not sure what might
    happen since that would generally not be done with PDF Maker.
    Since you already have the application process going, it is probably
    easiest for you to try the variations on replacing pages and such --
    basically what I would be doing.

  • Requesting user capability to "Save Response as PDF File w/form design intact"

    Love the new admin "Save Response as PDF File with form design intact" feature, but we really need for our indivual users (i.e. the ones filling out the form) to be able to do this. Our director still needs a hard copy of the form for manual signatures and those who pay by check. Our committee chairs use the online data (from excel file) but we also need the user to print a hard copy to physically turn in to the director. A .pdf file with form design intact that our user could print out and turn in would be helpful.

    Hi,
    We have an "Ideas" page where you can add or vote on feature ideas:
    http://forums.adobe.com/community/formscentral?view=idea
    I am pretty sure this idea has been added for you to vote on, but I didn't find it to link to.  I know it is a popular request though so if you need to add a new idea click "Create an idea" under "Actions" in the top right, I am sure it will get a lot of votes..
    Thanks,
    Josh

  • Creating a PDF-File from a report within a service

    Hello,
    I have to create PDF-Files from a report within a windows service.
    My source is as follows (quick and dirty) using Microsoft Report Viewer 2012
    Imports Microsoft.Reporting.WinForms
    Dim reportViewer1 As New Microsoft.Reporting.WinForms.ReportViewer()
    Dim objRDLC As New Microsoft.Reporting.WinForms.LocalReport()
    reportViewer1.LocalReport.ReportEmbeddedResource = "MyApplication.MyReport.rdlc"
    Dim deviceInfo As String = "<DeviceInfo>" & _
    "<OutputFormat>PDF</OutputFormat>" & _
    "<PageWidth>21cm</PageWidth>" & _
    "<PageHeight>29.7cm</PageHeight>" & _
    "<MarginTop>0.7cm</MarginTop>" & _
    "<MarginLeft>0.7cm</MarginLeft>" & _
    "<MarginRight>0cm</MarginRight>" & _
    "<MarginBottom>0cm</MarginBottom>" & _
    "</DeviceInfo>"
    objRDLC.DataSources.Clear()
    'Fill Report with data
    reportViewer1.LocalReport.DataSources.Clear()
    reportViewer1.LocalReport.DataSources.Add(New Microsoft.Reporting.WinForms.ReportDataSource("dsInfo", dt))
    reportViewer1.RefreshReport()
    'Output Report as File
    Dim byteViewer As Byte() = reportViewer1.LocalReport.Render("PDF", deviceInfo)
    Dim newFile As New FileStream("MyFileName", FileMode.Create)
    newFile.Write(byteViewer, 0, byteViewer.Length)
    newFile.Close()
    'Clean up
    newFile.Dispose()
    objRDLC.DataSources.Clear()
    objRDLC.Dispose()
    reportViewer1.Dispose()
    In most cases everything works fine.
    But the service crashes after some/many reports (e.g. after 270 reports or after 1.400 reports). There is no fix number of reports that causes the service to crash.
    The service crashes with the following error:
    System.ComponentModel.Win32Exception (0x80004005): Fehler beim Erstellen des Fensterhandles.
       bei System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
       bei System.Windows.Forms.Control.CreateHandle()
       bei System.Windows.Forms.Control.get_Handle()
       bei System.Windows.Forms.Control.PointToScreen(Point p)
       bei System.Windows.Forms.ToolStripItem.TranslatePoint(Point fromPoint, ToolStripPointType fromPointType, ToolStripPointType toPointType)
       bei System.Windows.Forms.ToolStripDropDownItem.DropDownDirectionToDropDownBounds(ToolStripDropDownDirection dropDownDirection, Rectangle dropDownBounds)
       bei System.Windows.Forms.ToolStripDropDownItem.GetDropDownBounds(ToolStripDropDownDirection dropDownDirection)
       bei System.Windows.Forms.ToolStripDropDownItem.get_DropDownLocation()
       bei System.Windows.Forms.ToolStripDropDown.GetDropDownBounds(Rectangle suggestedBounds)
       bei System.Windows.Forms.ToolStripDropDown.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.set_Size(Size value)
       bei System.Windows.Forms.ToolStripDropDown.AdjustSize()
       bei System.Windows.Forms.ToolStripOverflow.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.ResumeLayout()
       bei System.Windows.Forms.ToolStrip.OnLayout(LayoutEventArgs e)
       bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
       bei System.Windows.Forms.Control.PerformLayout()
       bei System.Windows.Forms.Control.ResumeLayout(Boolean performLayout)
       bei System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.TextBoxBase.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)
       bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified)
       bei System.Windows.Forms.ToolStripControlHost.OnBoundsChanged()
       bei System.Windows.Forms.ToolStripItem.SetBounds(Rectangle bounds)
       bei System.Windows.Forms.ToolStripItem.set_Width(Int32 value)
       bei Microsoft.Reporting.WinForms.ReportToolBar..ctor()
       bei Microsoft.Reporting.WinForms.ReportViewer.InitializeComponent()
       bei Microsoft.Reporting.WinForms.ReportViewer..ctor()
       bei DC5Warteschlange.clsReportTools.Druck(DataTable dt, String Reportname, String ReportDataset, String Drucker, String Format, String Datei)
       bei DC5Warteschlange.clsInfoQueue.Snotiz(String[] CallIDs, String Speicherort)
       bei DC5Warteschlange.Imail.InformationMailSenden(Int32 AID, DataTable& tmpDT)
    Thank you very much....
    Gernot

    Unfortunately, it is not a piece of code that I can send. The SQL would be embedded inside Oracle Reports tool, and you would have the option to save the output of the report in PDF format.
    Once you have the Oracle Report developed, you can execute it from command line prompt and save the output to a pdf file. In your case, the cursor would be embedded inside Oracle Report
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • How to access a PDF file from Oracle DATABASE SERVER

    Hi
    I have some pdf files in "\home2\docs" directory in Oracle database server 10g. (OS is Linux) I want to access those pdf files from my client system through Oracle Forms. How is it possible?
    Please Help!!!! It is very urgent !!!
    Expecting fast response!!!!!
    Bye

    hi
    Thank u for ur response.
    Initially i tried to access pdf file from database server. I didn't get any solution for that. So I copied all my pdf files to Application server which is in Linux environment at "/home2/docs" directory.
    I gave the following command for accessing the pdf files kept in Lnux Application Server from Oracle 10g forms in a button press trigger.
    web.show_document('http://192.168.1.53:7779/home2/docs/test.pdf');
    It says "page cannot be found"
    So I copied one of the pdf file named "test.pdf" to "/oracle/oas10g/IasHome/forms90/java" in Linux Application Server . Then the following command
    web.show_document('http://192.168.1.53:7779/forms90/java/test.pdf');
    has opened the the pdf file in browser.
    192.168.1.53 is my Linux Application Server IP. and 7779 is the port.
    Actually we have lacs of pdf files. So i cannot keep all the pdf files in "/oracle/oas10g/IasHome/forms90/java" directory in Linux Application Server. And also all the pdf files not in the same directory , "/home2/docs" some of the pdf files r in the subdirectories of "/home2/docs/" like /home2/docs/sub1, /home2/docs/sub2, /home2/docs/sub3 etc.
    Then how to configure my "/oracle/oas10g/IasHome/forms90/server/forms90.conf" file for retrieving pdf files from "/home2/docs/" and its subdirectories. Is Anything other than this, required for solving my problems.
    Now My PDF files r in LINUX APPLICATION SERVER not in database server.
    Please help!! It is VERY URGENT!!!

  • How to open a PDF file using forms 9i

    Hi guys!!! Could you please help me with this?
    Using the webutil library, i've found the function FILE_OPEN_DIALOG which yes, it is like windows' dialog box, but it doesn't open the specific file. If i have the PDF software, and a pdf file, and i use the webutil code to open the file from forms, why doesn't it open de file?
    Code used:
    :block.item := WEBUTIL_FILE.FILE_OPEN_DIALOG('c:\',
    'pdf|*.pdf',
    'Select a file: ') ;
    I have also used:
    :block.item := webutil_file.file_selection_dialog(directory_name => 'c:\',
    file_name => null,
    file_filter => 'pdf|*.pdf',
    title => 'Select a file',
    dialog_type => open_file, --save_file
    select_file => TRUE);
    thnx!!

    The dialog just gives you the name of the file to open. You then have to write code to open the file. web.show_document should work.
    I have deleted your last entry. Whatever you think about the situation, a civilized language (which I know Spanish to be) would be appreciated.

  • I am trying to convert a pdf file from the Government Website.

    I am trying to convert a pdf file from the government site, it is a divorce petition item d008-eng.docx. Whenever I do the transcript is all over the place. Any suggestions?
    I have only bought the software to do this one thing and it failed.

    If you use Reader XI you should be able to save it. You should also be able to save the form with Acrobat. However, the form name you gave is a docx file, not a PDF. So it is not clear what you are asking. If it were a PDF form as I would have expected, your questions would have made more sense.
    Did you buy Acrobat? If so, are you trying to convert to docx or what. I really do not understand your question. I did find an 8 page PDF of the form (assume it is the same). If you have Acrobat, just start filling it out and save at any stage. I do not see any need to convert it to docx. There are no restrictions on the form for saving or such, so I do not see why you say you can not save your input. If you bought Reader, you got ripped off. If you bought Acrobat there should be no issues with saving. If you use Reader XI there should also be no issues with saving the PDF. So, I do not see the point of your question, sorry.

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • Flatten a PDF file from Excel

    Flatten a PDF file from Excel
    Is there any way to run a javascript to flatten a PDF document from Excel?
    I’m populating a PDF form from Excel by creating a FDF file, once I finish I need to flatten it.
    Is there any way to accomplish this without having Adobe Acrobat?
    Thank you,
    Luis Gonzalez

    Reader cannot flatten a document, if that's what you're asking. A user with Acrobat installed can, in which case you can use VBA to control Acrobat. For exampe: http://www.khk.net/wordpress/2009/03/04/adobe-acrobat-and-vba-an-introduction/

Maybe you are looking for

  • Apple Mobile Device Support Doesnt Seem To Be Installing With Itunes

    Title says it all really, i have been doing troubleshooting on installing itunes on my computer which is running windows 7 ultimate (64bit) once i got it installed finally and plugged my ipod (touch) in it came up with the message "this ipod cannot b

  • Sales Order No. missing/Skip off

    Hi, After creation of sales order system Skipping some numbers, This happen 4-5 Times. I have check setting into number range Objecy RV_BELEG, There is Buffering not maintained. Pl. help ASAP, Regards, Devendra

  • How do I turn off the logout warning?

    I get a warning when I try to shut down my machine saying that the other account holders may lose unsaved work. I want to shut this off! How do I do that? Thanks.

  • Can Apex Do This?

    Hi, I've built a mobile app using Oracle Mobile Server and need to create a rudimentary web interface that manipulates the same data. I'm trying to determine if I can install APEX on the same server and rapidly create a web interface that can do the

  • HP Pavilion dv7 Notebook PC - Webcam and microphone issues

    When attempting to use Skype or other videochat programs, I receive an error messaage asking me to enable webcam/microphone.  I have gone into the control panel and checked that the integrated webcam and microphone are enabled.  Perhaps the programs/