Free Solution for PDF in APEX

PL_FPDF ( ver )
PDFBLOB ( ver )
anyone use these tools?
have documentation?
what is your opinion?
there is something better?
Edited by: e:// on 16/07/2010 16:29

hello,
I already applied configurations for JasperReports and Apex integration but I still encountered errors... I can't view the sample pdf evertym I open it.
Can you help me with this one?
thanks...
Muffinboy

Similar Messages

  • A question about error with jasperserver for pdf and Apex

    I have created a pdf report on jasperserver and I can call it from apex via a url and it displays fine. The url is this format {http://server:port/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/Apex/deptemp&output=pdf&deptNo=#DEPTNO#&j_username=un&j_password=pw}
    However, I am trying to follow a stored procedure executed from Apex so it would not expose the username/pwd in the url like above.
    If I am reading the apache error log correctly it is erroring in this piece of the code below where it executes {Dbms_Lob.writeAppend}
    loop
    begin
    -- read the next chunk of binary data
    Utl_Http.read_raw(vResponse, vData);
    -- append it to our blob for the pdf file
    Dbms_Lob.writeAppend
    ( lob_loc => vBlobRef
    , amount => Utl_Raw.length(vData)
    , buffer => vData
    exception when utl_http.end_of_body then
    exit; -- exit loop
    end;
    end loop;
    Utl_Http.end_response(vResponse);}
    The error log says this; HTTP-500 ORA-14453: attempt to use a LOB of a temporary table, whose data has alreadybeen purged\n
    What is this error telling me and how can I correct it?
    The stored procedure I am following is below but replaced the vReportURL with my url like above that works.
    Thank you,
    Mark
    {CREATE OR REPLACE procedure runJasperReport(i_deptno   in varchar2)
    is
    vReportURL       varchar2(255);
    vBlobRef         blob;
    vRequest         Utl_Http.req;
    vResponse        Utl_Http.resp;
    vData            raw(32767);
    begin
    -- build URL to call the report
    vReportURL := 'http://host:port/jasperserver/flow.html?_flowId=viewReportFlow'||
         '&reportUnit=/reports/Apex/deptemp'||
         '&output=pdf'||
         '&j_username=un&j_password=pw'||
         '&deptNo='||i_deptno;
    -- get the blob reference
    insert into demo_pdf (pdf_report)
    values( empty_blob() )
    returning pdf_report into vBlobRef;
    -- Get the pdf file from JasperServer by simulating a report call from the browser
    vRequest := Utl_Http.begin_request(vReportUrl);
    Utl_Http.set_header(vRequest, 'User-Agent', 'Mozilla/4.0');
    vResponse := Utl_Http.get_response(vRequest);
    loop
    begin
    -- read the next chunk of binary data
    Utl_Http.read_raw(vResponse, vData);
    -- append it to our blob for the pdf file
    Dbms_Lob.writeAppend
    ( lob_loc => vBlobRef
    , amount  => Utl_Raw.length(vData)
    , buffer  => vData
    exception when utl_http.end_of_body then
    exit; -- exit loop
    end;
    end loop;
    Utl_Http.end_response(vResponse);
    owa_util.mime_header('application/pdf',false);
    htp.p('Content-length: ' || dbms_lob.getlength(vBlobRef));
    owa_util.http_header_close;
    wpg_docload.download_file(vBlobRef);
    end runJasperReport;
    /}

    I am new to working with working with jasperserver to apex interfacing, and also using utl_http with binary data.
    But I guess typing my question down helped me figure out a way to make it work for me.
    I combined info from http://www.oracle-base.com/articles/misc/RetrievingHTMLandBinariesIntoTablesOverHTTP.php
    and from http://sqlcur.blogspot.com/2009_02_01_archive.html
    to come up with this procedure.
    {create or replace PROCEDURE download_file (p_url  IN  VARCHAR2) AS
      l_http_request   UTL_HTTP.req;
      l_http_response  UTL_HTTP.resp;
      l_blob           BLOB;
      l_raw            RAW(32767);
    BEGIN
      -- Initialize the BLOB.
      DBMS_LOB.createtemporary(l_blob, FALSE);
      -- Make a HTTP request, like a browser had called it, and get the response
      l_http_request  := UTL_HTTP.begin_request(p_url);
      Utl_Http.set_header(l_http_request, 'User-Agent', 'Mozilla/4.0');
      l_http_response := UTL_HTTP.get_response(l_http_request);
      -- Copy the response into the BLOB.
      BEGIN
        LOOP
          UTL_HTTP.read_raw(l_http_response, l_raw, 32767);
          DBMS_LOB.writeappend (l_blob, UTL_RAW.length(l_raw), l_raw);
        END LOOP;
      EXCEPTION
        WHEN UTL_HTTP.end_of_body THEN
          UTL_HTTP.end_response(l_http_response);
      END;
    -- make it display in apex
    owa_util.mime_header('application/pdf',false);
    htp.p('Content-length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;
    wpg_docload.download_file(l_blob);
      -- Release the resources associated with the temporary LOB.
    DBMS_LOB.freetemporary(l_blob);
    EXCEPTION
      WHEN OTHERS THEN
        UTL_HTTP.end_response(l_http_response);
        DBMS_LOB.freetemporary(l_blob);
        RAISE;
    END download_file; }
    Don;t know what I did wrong, but I could not create an 'on-demand' process to call my procedure. I did not understand what it means when it says 'To create an on-demand page process, at least one application level process must be created with the type 'ON-DEMAND'.
    so I had to use a blank page with a call to my procedure in the onload - before header process and that seems to work ok.
    Thank you,
    Mark

  • Does Adobe have a free download for pdf and data files

    I cannot open pdf files AND data files with this expensive pc & Windows 7 HELP

    Don't know what are "data files", but you can open PDF files using the free Adobe Reader: Adobe - Adobe Reader download - All versions

  • Free Download for PDF to Word - Anybody?

    Yes..I would like to know if there is a (free) download that can change a PDF to Microsoft Word?

    https://exportpdf.acrobat.com/ offers a one-time free trial.  If you need more than one, use Google to find a numbe of free non-Adobe conversion tools on the web.

  • Recommendations for PDF app?

    I get pdf's sent to me that I need to work with to some extent.
    I'm looking for an app that would let me open the pdf, select some or all of it.
    Then copy that into a Pages document.
    Print support would be nice.
    Sometimes I get a pdf that is a 'Form'. With fields that have certain requirements for input.
    It would be nice to be able to fill those out, save them, and e-mail them back.
    I do use Acrobat on Windows to create new pdf's. That might be something I would do.
    If it could do that, it would be a bonus.
    Thanks for any advice!

    Although Adobe Reader is the “official” PDF app, Adobe was late to the AppStore party and only recently updated its app to include annotation capabilities. Despite the delay, Adobe Reader is still a good app, and by far the best free option for PDF annotation. Adobe Reader isn’t limited in any way, and allows users to add “sticky notes” (with the ability to mark yourself as the author), free-hand drawing, and signatures. However, the app has some very significant detriments: (1) it does not allow you to add text outside of a note, (2) no cloud connectivity (users can only import files via iOS’s “open in” function), and (3) no undo or redo (it is possible to delete annotations manually). Despite these minuses, Adobe Reader will likely be enough for many people, or at least a good introduction to the world of PDF annotation.
    http://itunes.apple.com/app/adobe-reader/id469337564?alreadyRedirected=1&mt=8

  • Is there a solution for graphs that do not translate from Excel to PDF?

    We are working on an Excel Spreadsheet with graphs but when we create a PDF of the sheet the graph does not contain the ledger or values. Is there a solution to this problem. We have tried both printing to PDF and exporting to PDF.

    Just a note: If you want to print the PDF to paper, it may still not print correctly even though it looks correct on the PDF document- the printed graph may flow off of the paper sheet.  When you click Print, a print dialog box opens with some options and a preview.  If the preview does not look correct, change the size option to "Shrink oversized pages".  
    Jeffry Calhoun
    Workforce Analytics Manager
    Ohio Department of Job & Family Services
    P.O. Box 1618, Columbus, OH 43216-1618
    InterAgency: F376, 4020 E. 5th Avenue
    614-644-0564
    Fax 614-728-5938
    [email protected]
    OhioMeansJobs.com -
    The next best thing to having an HR department.
    OhioMeansJobs.com -
    Ohio's premier website for connecting businesses and job seekers - quickly, easily, and for free!
    >>> alscud <[email protected]> 4/9/2012 9:34 PM >>>
    Re: Is there a solution for graphs that do not translate from Excel to PDF? created by alscud ( http://forums.adobe.com/people/alscud ) in Creating, Editing & Exporting PDFs - View the full discussion ( http://forums.adobe.com/message/4323530#4323530 )
    Thank you Lori for your help your suggestion works!
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4323530#4323530
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4323530#4323530. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Creating, Editing & Exporting PDFs by email ( mailto:discussions-community-acrobat-creating__editing_%[email protected] ) or at Adobe Forums ( http://forums.adobe.com/choose-container!input.jspa?contentType=1&containerType=14&contain er=4697 )
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.
    Ohio Means Jobs
    You're looking for something unique. Use more than an ordinary site.
    http://www.ohiomeansjobs.com
    This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and/or privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, employee, or agent responsible for delivering this message, please contact the sender by reply e-mail and destroy all copies of the original e-mail message.

  • How to open my file in Gmail after download free trial for converting PDF file to Microsoft Words.

    after download the Free Trial for Converting PDF file to Microsoft Words, I can't open my file in gmail

    One solution would be to generate the report via an servlet which you then call with an af:golink with an target frame set to blank.
    For a sample how to do this check out http://tompeez.wordpress.com/2011/12/16/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-3/
    Timo

  • What is the best free backup solution for Hyper-V R2/2012? CSV support is necessary

    Hi,
    I need so guidance, please.
    I’m planning to deploy a free backup solution for my virtual environment and I need your advice. I have the following configuration:
    Failover Cluster:
    Two Dell Servers
    OS: Windows 2012 STD
    Each server has two AMD Opteron 4180 6C @ 2.6 GHZ
    16 GB – RAM (supports 256GB)
    QNAP NAS (CSV)
    It’s hosting a DC, an Exchange 2010 and soon a SharePoint 2013 VM
    Standalone Hyper-V:
    Dell Server
    OS: Windows 2008 R2 Datacenter
    It has two Intel Xeon E5520 @ 2.2 GHZ
    16 GB - RAM
    It’s hosting 3 VMs
    In my research I found these apps. All of them are limited in some way but they do the job:
    Veeam Backup Free Edition v7
    Altaro Hyper-V Backup
    Unitrends Enterprise Backup
    PHD Virtual Backup for Hyper-V
    HV Backup from CodePlex
    Windows Server Backup (WSB)
    What is your experience with them? What would you recommend?
    When it comes to money, which one is more affordable? (In case I want to buy the full version)
    Thanks in advanced. 

    Hi,
    I need so guidance, please.
    I’m planning to deploy a free backup solution for my virtual environment and I need your advice. I have the following configuration:
    Failover Cluster:
    Two Dell Servers
    OS: Windows 2012 STD
    Each server has two AMD Opteron 4180 6C @ 2.6 GHZ
    16 GB – RAM (supports 256GB)
    QNAP NAS (CSV)
    It’s hosting a DC, an Exchange 2010 and soon a SharePoint 2013 VM
    Standalone Hyper-V:
    Dell Server
    OS: Windows 2008 R2 Datacenter
    It has two Intel Xeon E5520 @ 2.2 GHZ
    16 GB - RAM
    It’s hosting 3 VMs
    In my research I found these apps. All of them are limited in some way but they do the job:
    Veeam Backup Free Edition v7
    Altaro Hyper-V Backup
    Unitrends Enterprise Backup
    PHD Virtual Backup for Hyper-V
    HV Backup from CodePlex
    Windows Server Backup (WSB)
    What is your experience with them? What would you recommend?
    When it comes to money, which one is more affordable? (In case I want to buy the full version)
    Thanks in advanced. 
    Any Altaro Hyper-V Backup User?

  • When converting tables in a MS Word 2010 or 2007 to PDF the table borders do not retain the correct thickness as identified in the word document.  Is there a solution for this issue?

    When converting tables in a MS Word 2010 or 2007 to PDF the table borders do not retain the correct thickness as identified in the word document.  Is there a solution for this issue?

    Please try with latest version of MS Word and Acrobat.
    Regards,
    Anoop

  • Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    Since I have connected my iPad with the MacBook through ICloud I have problems in Preview of opening PDF- and JPG-files. Does anyone have a solution for this?

    I'm not sure I understand the connection between iCloud and this problem.  Is it simply a problem of coincidental timing (ie, the problem happened after you set up iCloud)?  If so, there's almost certainly no connection between these two events.
    Where are you getting the files you're trying to open, and what specifically happens when you try to open them?

  • Does Adobe provide a free API for creating PDF files

    Does Adobe provide a free API (for Windows) for creating PDF files?   We are currently using
    a basic, internally developed API for creating PDF files, but would like some additional
    capabilities ... in particular the ability to add a watermark that appears when printing
    but not when viewing PDF files on-line.
    If this is not the right forum for this question, please let me know what forum would be
    appropriate.
    Thanks,
    Mark

    OK, with a little bit of searching on Adobe's web site, I found the answer to my question.   Yes, Adobe does offer
    an API for creating/manipulating/reading PDF files:  it's called the Adobe PDF Library SDK and it has to be
    licensed.  Version 9 is the latest.   The cost is decided on a case-by-case basis.    Here is the link:
    http://www.adobe.com/devnet/pdf/library/
    Mark

  • Scrolling solution needed for pdf imported to Cp 8 Responsive on the iPad

    Using Cp 8, Responsive Projects, I imported a pdf (through the library import button) and placed it on a slide.  When published (for devices), the pdf can be viewed on a computer and an iPad (if the Acrobat Reader app is installed).  However, it can only be scrolled on the computer (a PC).  The iPad just displays the first page.
    Does it need a scrolling button or slider for the iPad?  Does anyone have a solution for such?  Russ_E offered a solution for the TOC.  Would something similar work to view a pdf on the iPad?
    Thanks in advance.

    jerryfromtorrance wrote:
    What version of GB is needed to open .band files created in GB for the iPad.
    6.0.2
    jerryfromtorrance wrote:
    I am running GB '08 on my desktop PPC G5 with OS X 10.5.8, so I can't go to GB '11. Any solution?
    although i ran GBX6 under 10.5.8, i do believe an intel processor is required. that means that the only complete solution would be a new computer, i'm afraid.
    the best you could do is export each track as an audio file from GBi and drop them into your GBX project

  • Error while generating PDF from APEX through BI Publisher

    Hi,
    I am facing a problem which is intermittent.
    I am generating a pdf from APEX which has been developed using BI Publisher.
    I have linked the report to the APEX using report queries/report layouts in shared components.
    The pdf used to open without any problems previously.But currently,I am getting the following error
    *"An error exists on this page.Acrobat may not display the page correctly.Please contact the person who created the pdf document to correct the document."*
    Once the Bi Publisher Services is restarted,I am able to generate the pdf.Again After sometime the same error pops up.
    Has anybody faced the above error?
    Any solution for the same.
    Kindly reply.
    Thanks and Regards,
    K Tanna

    in the log file,following message was shown
    [050510_021134100][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
    [050510_021134126][oracle.apps.xdo.template.FOProcessor][STATEMENT] End Memory: max=15744MB, total=237MB, free=121MB

  • Request suggestions for PDF printing of forms such as paychecks, W2's

    This question is on two levels. I see this as an up and coming project at work, and even there I doubt we will be purchasing BI Publisher as we are in cutback mode. More inportantly, for my own clients who want an application on the cheap. I have seen posts about PLPDF. I would consider it, but then I am not sure who could host the application with the condition of needing plpdf as a requirement.
    I have looked at FOP, and even installed it. Like many others, I don't have a lot of xslt formatting experience, and a cheap or free tool for creating a report format would be really helpful. Having to purchase a $600 tool really cuts into a $1000 dollar project.
    What are available options? The key concept is I am trying to replicate other people's forms in PDF, such as W2's and Paychecks, so the look and feel has to be professional.
    Way back in the day, I would write a Visual FoxPro app that used Crystal Reports to format the report. It wasn't too difficult to write applications for small companies that have a real business need and not lots of cash. I want to accomplish the same thing with a Web application using Oracle XE, APEX, and perhaps FOP or another tool. I just need suggestions from those that have already solved this problem!
    Thanks!
    Ken Lee

    Suggestion. (you caught my attention with the Visual Foxpo talk.. Been there, done that, glad I am doing Oracle now).. If your budget is $1000, maybe you should look at a hosting company to host your app that offers BI Publisher. Revion.com (http://www.revion.com/hosting/apex.html) has a $9.95 a month hosting plan that INCLUDES BI Publisher as a feature).
    In the APEX development projects I have , I have them hosted there to save the clients money & effort, since they don't need to deal with the hosting issues and can just use the applications I build and have access to BI Publisher for reporting needs.. You do need to download the Bi publisher desktop add-on for MS Word, but then you can access existing templates to print W2 forms, paychecks and whatever..
    Not saying its the ONLY way, but I have found it the more affordable way..
    (No I don't work for them, or get a commission for directing people there, I just send people to a company I trust working with..)
    Thank you,
    Tony Miller
    Webster, TX

  • Any solution for arabic language in DW8 ?

    Hi
    i try all solutions from google or other resources but all
    failed !!! i need any solution for writting arabic language in
    Dreamweaver 8
    im installing the latest update 802
    any help?
    thanks in advance.

    Get hold of a copy of PDF Browser Plug-in from Manfred Schubert www.schubert-it.com/pluginpdf/ which works a treat and is free for private use. Best PDF plug in I've come across.
    This works for me on 10.7.2 and Safari 5.1.1
    Ally
    Message was edited by: AllyGill with OS and Safari version info

Maybe you are looking for