Show pdf with wpg_docload

I am trying to:
Call a procedure in the db from Forms (904) through web.show_document, using a DAD, which will save a pdf-report (904) in a blob and after that show it in the new window. I get the pdf-report from a url to the report servers cache.
The report is saved in the table but when I try to call wpg_docload to show it I get a message from acrobat reader saying that the document doesn't begin with %PDF- but when I store the same pdf-report locally, I can see the %PDF- in the beginning of the file.
This is what my procedure looks like:
procedure blob_ex(p_url) is
v_buffer raw(2000);
v_buffer_size integer := 2000;
v_offset integer := 1;
v_length number;
v_pieces utl_http.html_pieces;
v_blob blob;
v_url varchar2(2000);
begin
v_blob := empty_blob();
dbms_lob.createtemporary(v_blob,true);
v_pieces := utl_http.request_pieces(p_url,64000);
for i in 1 .. v_pieces.count loop
v_buffer := utl_raw.cast_to_raw(v_pieces(i));
v_buffer_size := utl_raw.length(v_buffer);
dbms_lob.writeappend(v_blob, v_buffer_size, v_buffer);
end loop;
insert into
blobtable(id, report_file) values
(seqence.nextval
,v_blob);
commit;
owa_util.mime_header('application/pdf', FALSE);
owa_util.http_header_close;
wpg_docload.download_file(v_blob);
end;
Does anyone have a solution on this problem, or can anyone see what I am doing wrong?

hi
i want javascript code, which show pdf with bookmark on ios(ipad).
i am developing a native app in ios with objective c. In my app i need read & show PDF with bookmark.
So if any javascript availble to read and show, please let me know.
Thanks in advance for your help.

Similar Messages

  • Show pdf with bookmark

    Hi I want to show pdf using javascript and also shoow pdf's book.
    Is it possible to extract pdf book from pdf using javascript?
    Yes then please let me know how i can do?
    thanks in advance for your help.

    hi
    i want javascript code, which show pdf with bookmark on ios(ipad).
    i am developing a native app in ios with objective c. In my app i need read & show PDF with bookmark.
    So if any javascript availble to read and show, please let me know.
    Thanks in advance for your help.

  • How to show PDF with web.show_document in a separate browser frame (forms10g)?

    I'd like to show PDF in a separate browser frame or in the same window, but at the same time with form screen. So, I'd like to have form in the left and showing pdf in the right. PDF is runing on web.show_document. I understand that this is imposible (btw: does anyone know when it's going to be posible?), but I'd like to figure out if someone have already made some kind of solution?
    Thanks.

    I'd like to show PDF in a separate browser frame or in the same window, but at the same time with form screen. So, I'd like to have form in the left and showing pdf in the right. PDF is runing on web.show_document. I understand that this is imposible (btw: does anyone know when it's going to be posible?), but I'd like to figure out if someone have already made some kind of solution?
    Thanks.

  • Reader not showing pdf with long file names in IE8 for standard user

    Hi,
    I have this problem for standard users, that is, not Admin level.  Admin level users have no problems.
    If a web site opens up a pdf file with java, usually in a new window, and the file name is very long (I haven't figured out how long, but visually long) then the reader plug-in won't work and opens a blank page.  If the file name is small then there is no problem, and reader opens the pdf without problem.
    Interestingly, if I edit the document name (say for example the link has something on the end like "&Doc_Type=Statement" which is obviously not part of the document name but part of the SQL used to find the document by the web page) then reader will open the file no problem.
    Again, this doesn't happen for Administrative level users.
    Any ideas on how to fix?

    I'll crosspost to the reader forum.
    Yes, reader works in all other situations.

  • InDesign - exporting interactive pdf with page curls issues

    I followed a Rufus Deuchler adobe tv video called "InDesign: creating interactive pdfs with page turn and flash animations"  and I was able to create an Interactive Pdf document with page culrs but it is limited to only my mac Book Air as when I sent it as an attachment (pdf) it did not work on any other PC or mac.
    Have  I missed the point or have I not done something as I thought the video mentioned that any adobe reader could view the interactive pdf (ie on other PCs or tablets)?
    Thanks
    David

    Only Adobe Acrobat or Reader can show those PDFs (and many others) correctly. Are you sure that the PDF was opened in one of these 2 applications and not in Apple Preview or Ghostviewer or something else?
    Only Adobe Reader 9 and X and Acrobat 9 and X can show PDFs with Flash content correctly. If you have an older version, let us say Version 8 or older, you are not able to see Flash content at all. If you have a newer version, that is Reader XI or Acrobat XI you need additional Adobe Flash player have installed on that computer and allow access to your PDFs. Can you check, if these substantial requirement are fulfilled?

  • How do you create a link to a pdf in Muse? Thought it was going to show that with Katie's menu and can"t find in any of the tutorials.

    How do you create a link to a pdf in Muse? Thought it was going to show that with Katie's menu and can't find in any of the tutorials.

    The steps would be :
    - Add files from file menu > select pdf > add to site
    - Select the content (rectangle,text etc) and click on hyperlink dropdown > it should show you the added files list
    - Select the file you want to link
    Thanks,
    Sanjit

  • Showing a PDF with InteractiveForm and IFrame components

    Dear Experts,
    For quite some time we were having several issues while showing PDF Files in WebDynpro Java Components because of different versions of Adobe Readers and mainly because of browsers. Finally I have read about the option to show PDFs using IFrame.
    byte[] PDFFormContent = bytes;
    IWDResource resource = WDResourceFactory.createCachedResource(PDFFormContent, pdffile.getName(),WDWebResourceType.PDF);
    Now this is working for me with Google Chrome, Firefox and IE without a problem. But with different pc clients of my colleagues PDF files are forced to download,when the application is called, instead of showing the PDF file in an IFrame.
    Which setting is deciding to whether download the PDF or showing it embedded? Is there any way to prevent this grammatically?
    Thanks and Regards,
    Koray

    If you are allowed to, you could check Adobe settings on client side.
    Take a look at this:
    See also the official Adobe guide Acrobat Help | Display PDF in browser | Acrobat, Reader XI
    Hope this helps.
    Regards,
    Tobias

  • I highlighted a pdf with my ipad mini and when I opened it again half of what I did is not showing anymore....ideas?

    I highlighted a pdf with my ipad mini using acrobat and when I got home and opened it again half of what I did is not showing anymore is it lost?
    How can I recover all this highlighted notes?

    You are sure you used Acrobat, and not Adobe Reader?
    [topic moved to Adobe Reader for iOS forum]

  • How do I get Bridge to show PDF's with their dimensions in inches?

    How do I get Bridge to show PDF's with their dimensions in inches?
    I know how to tell Bridge to do it. But it seems the information is not embedded in the PDF's.
    Is there a way to make the PDF's be aware of their size in inches at authoring time?

    I'd like to have Bridge showing PDF dimensions in millimeters. Also dimensions for InDesign and Illustrator files in millimeters. Is this still an upcoming feature? I've been waiting for this since CS3...
    Thanks

  • Apple mail not showing PDFs - just a blue box with question mark

    Hi all,
    For some weird reason my Mail is now showing PDFs as blue box with a "?" in it... not the PDF icon..
    Only happened since the Mavericks upgrade.
    Anyone come across this or got an answer?
    Thanks
    Rob

    No unfortunately not yet. No answers on this one

  • Safari 5.1.5 shows .pdf web pages as black. The same thing happens with Firefox. Does this have something to do with an AdobePDF plug-in?

    Safari 5.1.5 shows .pdf web pages as black. The same thing happens with Firefox, at least with the few pages I've checked. Does this have something to do with an AdobePDF plug-in? I recently had to restore my system from Time Machine backup.

    The following appears to have I solved my problem with Safari 5.1.5, 5.1.6 and 5.1.7. I also have Adobe Acrobat Pro 9 installed.
    Follow mbuffy's post dated May 10, 2012 directly above, and
    Do NOT allow Adobe Acrobat Pro 9 to perform the "repair" the missing Adobe PDFViewer Plug-in when the window pops up and offers to repair Adobe PDFViewer Safari Plug-in. If Adobe does the "repair," then I can not view .pdf web pages in Safari or Firefox.
    FYI, cmmartin0275 posted the following on Sep 8, 2011 in a discussion of "Missing PDF Pluggin" at https://discussions.apple.com/message/16119130#16119130:
    "Just FYI to anyone with this problem...this is straight from Adobe's website.
    "Adobe Reader plug-in and Acrobat plug-in are not compatible with the Safari 5.1 browser, which will ship with Mac OS X 10.7 and for 10.6 in July. Adobe Reader and Acrobat will continue to work as standalone applications on Mac OS X 10.7 and 10.6, and will render PDF documents outside of the browser. In addition, Safari 5.1 renders PDF documents natively. However, the Adobe Reader and Acrobat plug-ins will not function as expected in LiveCycle and Acrobat workflows that require either plug-in to render PDF documents in Safari 5.1."
    They also go on to say they hope to have a solution or work around before the end of 2011..."
    Thanks for the help.

  • Word 2010x64 to PDF using Acrobat Pro XI: Print shows box with ? inside.

    System: Windows 7 SP1 X64
    Adobe: Acrobat XI Pro
    Office: Office 2010 x64
    On multiple systems, I creating a document with standard text and font and then saved as or printed as a PDF. This creates a normal PDF with no visable issues. Problem arrises when printing the newly created PDF. All PDFs converted from Word print with question marks inside squares. There is no symbols evident on the Word document, created PDF or in print preview. All formatting Markups have been disabled in Word as well. Any ideas as to a work around or fix? See below images for example.
    Word Document: Scan of Printed PDF:

    We are having exactly the same issue as described above.
    Did this ever get answered?
    We are using:
    Acrobat 11.0.3
    Word 2010 (V 14.0.7015.1000 32-bit)
    MS Office Home and Business 2010 SP2
    Windows 7 Professional SP1 64-bit
    The problem seems to occur only when, in Word, we use File - Print - Printer Adobe PDF, email the resulting PDF file to another office, and then printout on a Toshiba Studio 2330c printer.
    If we print the file locally to a Toshiba Studio 2550c printer then it prints ok.
    It also prints ok if we, in Word we use the Acrobat tab, click Create PDF, email the resulting PDF file to another office, and then printout on the same Toshiba Studio 2330c printer.
    Any ideas?

  • Keywords imported but don't show up with photos

    I am not getting keywords to show up with imported photos. i've done a lot of searching on this and other forums to try to figure out what is different about my situation but to no avail. here's what I've deduced though:
    the keywords will import if I deselect “Copy the items to the iPhoto Library”. But if I leave the default box checked", I will not get keywords associated with the photos.
    (the rest of my discussion deals with a library where the imported photos ARE copied to the library)
    Interestingly, the keywords ARE imported into iPhoto (if one looks at the keyword list); they just aren't attached to the photos (i.e. clicking <Get Info> shows no keywords, as opposed to them being there but just not showing up on the screen with the image). Most (but not all) of my imported photos show up in iPhoto without any keywords attached. Most Events are all-or-nothing; i.e. all the photos of the event either have keywords or don’t. At least one Event is a mix. I cannot make any sense as to why some do, as the ones that do will be part of an event that all the other photo's don't show the keywords; additionally, neither the ones with nor the ones without keywords share any common feature or change (e.g. edited, rotated, file type, keyword/tag name, etc.).
    I'm a pretty basic user when it comes to photos (but with a fair amount of common sense and computer knowledge); not trying to do anything fancy here. I don't know much about photography, so I'm not manipulating photo settings on my camera and am not (purposefully/knowingly) manipulating the metadata directly from the file. So, I'm baffled as to why my system would be acting differently than any other "out of the box" iMac.
    In case it matters:
    -- the photos being imported originated from a Windows-based PC and tagged by Adobe Photoshop Elements. I have the same problem regardless of whether I export them (using Photoshop) to a file on the iMac or directly import them over the network from the PC using iPhoto.
    -- (Using iPhoto Library Manager) I created another iPhoto library to see if the same thing would happen with photos imported to a different library -- same problem. (BTW, I checked the new library's Keywords BEFORE I imported to make sure the keyword "library" wasn't somehow replicated from the previous library.)
    -- In one of your forum discussions, you said that these “copies” would be in the “Originals” folder within the iPhoto package, right? If so, then they are the same size as the files being imported minus a few KBs, presumably due to the lack of associated keywords.
    I assume that these "copied" files are suppose to retain their keyword/tag info. Any ideas why they aren't and/or what I can do about it? I tried rebuilding the database too but that didn't do any good. I'm figuring on trying to reimport everything again, but I fear I'll get the same result.

    Welcome to the Apple Discussions. First try the simple fix: delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder. Launch iPhoto and see if the keywords show up. If not, then launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select the first three options.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Can't print to pdf with Acrobat 7.1.0 in Vista

    I am unable to print to pdf with Acrobat 7.1.0 in Windows Vista.  I used to be able to, now all of a sudden that functionality is gone.  I haven't knowingly done any upgrades since the last time I successfully printed to pdf, but I do have autoupdates enabled, so I can't say what Microsoft may have been up to recently.  When printing to pdf from Internet Explorer 7, the window simply closes.  A printer icon shows up in the system tray but registers 0 print jobs and soon disappears.  When printing to pdf from Word (2003), Word crashes with a series of message boxes saying something about attempting recovery.  Any suggestions?

    AcroTray is running.  Thanks for asking that question, as this is one thing that I have disabled on computers running XP, since disabling it in XP doesn't adversely affect my limited use of Acrobat in any way.  I have not disabled it with Vista.  I tried printing to file, and that also caused the window to close.  I happened to have a second IE7 window open when attempting to print to file, and it did not close, so it only affects the active window.  I don't know if that helps at all; when a program crashes, I typically observe it take with it all open windows associated with that program, so the fact that this is only closing the active window seems potentially useful to me in my ignorance of what is the root cause. 

  • Issues showing PDF files in web-browser (Windows 7 x64, 32-bit version of AdobeReader X)

    I'm not sure if this is the right way to share my experience, but at least I know Google will discover this thread eventually and maybe someone else will find what I have been looking for the past 3 hours
    I'm deploying the 32-bit based AdobeReader X (http://www.adobe.com/support/downloads/detail.jsp?ftpID=4950) to Windows7 32-bit and 64-bit based machines. This is a MSI deployement done through our Active Directory. Everything goes well - no errors. Except for the x64-based machines having trouble showing PDF-files in the web-browser.
    I used Adobe Customization Wizard X to customize our MSI installation - this showed out to be the solution once again.
    Common for the installation on Windows7 32-/64-bit were that the value in the registry database for HKCR\Software\Adobe\Acrobat\Exe (Default) was set to "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe". This is valid for the 32-bit installation as Program Files is situated in C:\Program Files, but since it's a 32-bit edition of AdobeReader that I'm installing on the 64-bit based system as well, it's installed in C:\Program Files (x86) and the reference in the registry database to "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" is therefore not valid - which explains why PDF files could not be displayed in the web browser. Changing the registry to "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" solved it. Now this is a manual solution which might be useful on 1-2 machines but on a bigger scale it's not the right way to do it.
    I could change it with a batch/vbs script but still this is only a solution of the symptom and not a solution to the core issue. I therefore focused on Adobe Customization Wizard X again.
    The problem was easily solved. I opened the MSI file, loaded the transform file that I've made previously. Went to Registry > HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe . I then changed the (Default) value from "C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe" to "[INSTALLDIR]Reader\AcroRd32.exe", generated the MST file and replaced my current one for distribution. Problem solved! :-) The entry in the registry now shows : "C:\Program Files (x86)\Adobe\Reader 10.0\Reader\AcroRd32.exe" and PDF files are open without any issues.
    I hope someone can save a bit of time on this one.
    Best regards!
    Alex Mikkelsen

    I was able install and view the files in adobe reader 10.1.1 and in web browser window 7 64 bit machine.  But when I go to Edit-preferences-internet and  unchecking "display PDF in Browser" , I am not able to view the pdf files in ie 9 browser.  I have used this javscript to check for pdf version.
    Immediately after installing adobe--
    when I do adobe test in ie 9---https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html--  launches a test pdf file--Acro_Test.pdf
    After unchecking-- it stays in the  https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html instead of showing test pdf file--Acro_Test.pdf
    Tried to go back to "display PDF in Browser"--it is showing it is checked(eventhough I did not check it)
    and in ie
    it stays in the https://courses.worldcampus.psu.edu/public/diagnostics/Acrobat.html instead of showing test pdf file--Acro_Test.pdf

Maybe you are looking for

  • Close a VI template

    My VI works well, however when the .vit opens front panel, this doesn't close with the button "CLOSE" because the program has been stopped. It seems as the vi template executes and stops. I don't know how use the button "CLOSE" to close front panel w

  • Downloaded Safari Update and Now Safari Won't Open

    This past Sunday I was informed that I needed to download an update for Safari. I did this (during a major thunderstorm, but never lost power) and everything seemed to go through properly and worked normally. I restarted my computer when it prompted

  • SRM 4.0 - Upload function of Bid Invitations (Bidding Engine)

    Hello, I am currently working on the Bidding Engine in SRM 4.0 I would very much like to use the Download/Upload function in Bid Invitations, but for now I have the feeling it doesn’t work. I tested it by downloading a Bid Invitation and changing jus

  • Where do I install Avid Meridien codecs for use in Final Cut Pro X on Lion?

    I'm using FCPX and imported a couple of files that were output with the Avid Meridien codec. When I try to use the files in FCPX, I can hear the audio, but I get no video. How do I get FCPX to see the codecs?

  • Premiere Pro CS6 Crashes When Dragging

    Trying to edit in PP CS6 and keep getting this error every time I drag files. "Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down. We will attempt to save your current project." This happens every time I try to drag any