Showing dynamic images in BI Publisher PDF report

I defined a RTF report layout in BI Publisher. Almost done, but one requirement missing...
I should be able to include a dynamic image (so every "object" on the report has it's own image).
At first I embedded the base64 converted image in the XML output, but then I am running into the 32K limit. (Small pictures render fine).
Although Marc Sewtz sort of promised in June 2008 (!) : "One issue, which we'll address in the next version of Application Express, is the 32k limit on report columns." on his blogpost http://marcsewtz.blogspot.com/2008/06/one-question-about-pdf-printing-feature.html , it still not addressed.
So I tried to embed the image in the report using a trick described on the forum (and BIP documentation), by embedding a dummy picture and set the "Alt-text" of the picture to
(as an example) : url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}.
The strange thing is, that works fine for HTML Output and Excel output, but not for Word and PDF (why it does work for Excel and not for Word is very mysterious....). And of course I need a PDF output.
I also tried to embed a FO snippet:
<fo:block>
<fo:external-graphic src="url:{'http://www.oracleimg.com/us/assets/oralogo-small.gif'}" />
</fo:block>
But that doesn't (seem to) work on any output...
But
<fo:block>
<fo:external-graphic src="D:\Users\rhartman\Documents\PrintScreen Files\Screenshot004.jpg" />
</fo:block>
does produce the image on the PDF output.
So who has an idea how to solve this issue?? You'll be rewarded with a lot of pionts ;-)
TIA
Roel

Hi Carsten
That was exactly* I was looking for. Maybe I should Google more in German ;-)
The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
After moving the image inside the group....it works great!
(One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
@Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
The way I use it now (very similar to Carsten's description) there is no limit....
Thank you all!
Roel

Similar Messages

  • Print stored pdf files to a XML Publisher PDF report

    I want to print PDF attachments to a XML Publisher PDF report. How can I do it?
    For eg. We have an iRecruitment vacancy IRC1309 for which the applicants upload pdf resumes. We want to print applicant resumes to a single PDF file for review.
    Any suggestions?
    Thanks in advance,
    Aakash

    Hi Guru,
    I have requirement to show attachment file in AR invoices which is .pdf files in BI Reports or Oracle Report.. Can ony one guide me please.
    Iam able to read blod data from fnd_lob table and also able to see junk data in xml output. Once rft template is generated then it is coming as blank. It does stream lob data. Can you please provide xsl fo statement to read.
    Thanks
    Simon
    Edited by: user13084103 on Nov 7, 2011 4:49 AM
    Edited by: user13084103 on Nov 7, 2011 4:50 AM

  • Image Print problem in PDF Reports

    Hi,
    I have imported a JPG image on the layout using Reports builder 6i using File -> Import -> Image. Once imported, this image is displayed correctly in the report layout editor. But, when I run this report (Pdf format) from Oracle Apps, this image is displayed with half side displayed as solid black color and the other half side with the actual picture.
    I have tried to change the size of the image, import other type of images (BMP) & tried dynamic image using "Link File" option, but nothing could work.
    Appreciate your help on the same.
    Thanks.

    Hi,
    Yes. I have tried running that report with other images of different formats & size. But nothing worked out till now.
    Regards.

  • How to show dynamic image

    I am returning a binary stream from the server. That stream once gotten into Browser will be opened as an image (tiff format). Can that stream be a source for a dynamic image in Flex?
    Thanks

    I thought Sun had a jdk for 3d images. Check the products & api's section.
    Bill

  • Inserting Dynamic Images in to a Crystal Report 10

    Hi all,
    I am trying to insert dynamic pictures into my report from repository, by getting the path for the picture from database fields. The version that I am using is Crystal Reports 10.
    Here is what I have done.
    I inserted an OLE object into the report, went to "Format Graphics" by right clicking on the OLE object, then to "Hyperlink" Tab (as I didn't see anything other than "Reset" button and picture dimension options under the "Picture" tab), and selected "File" Radio button (as I didn't want to display the picture as Hyperlink) and gave the @Filepath as the formula there. @Filepath is the formula that gives me the complete path for the JPEG that I need to insert in the report.
    filepath = field A + field B
    where field A is the location for the image and field B is the actual image name.
    the actual image is located in repository folder.
    I am not able to see the image in the report "Preview" section as it is showing it has an empty box and when I click on that empty OLE object, I am able to view the image in a separate window where as my requirement is to view the image within the report (not in a separate window).
    I didn't find anything useful under Format Graphics -> Picture tab.
    I appreciate any kind of help from you all.
    Thanks!

    That feature wasn't available nor was it supported in CR 10. You'll have to upgrade to CR Xi R2 or 2008 to allow using a database field as the location of the file.
    CR 10 would only load the picture when the report is opened, it will never update when clicking on the refresh button.

  • Image not displaying in pdf report using XSL-FO and using Oracle 11g databa

    Good Afternoon,
    I have created over 15 reports using XSL-fo, with the following syntax to display an image on the pdf:
    fo:block margin-left="0.24cm" margin-right="0.27cm" margin-top="0.0cm" ><fo:external-graphic content-width="scale-to-fit" content-height="scale-to-fit" width="1.73cm" height="1.57cm" >
    <xsl:attribute name="src">'url("http://readiness:7780/i/marforcom_symbol_rpts.gif")'</xsl:attribute></fo:external-graphic>
    </fo:block>
    This syntax works fine when using Oracle 10g, now my database has been upgraded to 11g and my image no longer displays in the reports. I have already upload the image into the database as a workspace image.
    I have tried to point the image @ the image by using url(#WORKSPACE_IMAGE#marforcom_symbol_rpts.gif)
    or <img src ="#IMAGE_PREFIX#marforcom_symbol_rpts.gif")
    and it still doesn't work.
    I have searched this forum trying to come up with a solution that will fix my problem and am unable to.
    Current config: Oracle 11g, using pl/sql gateway.
    I need to know how to point the xsl-fo file to the database, where the image now resides.
    Thanks,
    Mary
    Edited by: MaryM on Jul 25, 2012 3:15 PM
    Edited by: MaryM on Jul 25, 2012 3:51 PM

    Hi,
    I think you need load images to database XDB virtual directory /i/ and then use #IMAGE_PREFIX# substitution.
    This might help to access /i/
    http://www.apex-blog.com/oracle-apex/accessing-i-using-ftp-170.html
    Or use this to load images
    http://oracleinsights.blogspot.fi/2012/05/loading-images-into-oracle-xdb.html
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • BI Publisher PDF reports not displaying correctly from EPPM 8.2

    Hi,
    I have setup EPPM to run BI Publisher reports as specified in the documentation. I can see all the reports correctly and can run the reports ok after specifying the reqd parameters. However, when the report completes and tries to open the PDF output in Acrobat, the screen flashes and no output is displayed. This is when running P6 within Internet Explorer. If I run P6 in Firefox, the PDF output opens correctly.
    I presume this is due to an IE setting or because the add-ons aren't configured correctly. Has anyone had the same sort of issue ?, and if so, how did you fix it ?.
    Thanks
    Nik

    Hi Khaja,
    Font mapping is done using xdo.cfg file right ? If yes then yeah I have done it. But the barcodes are not displaying. Infact to display special fonts such as chinese,russian etc I have just pasted the corresponding ttf files under java home and not made any changes to xdo.cfg. But still the specail fonts are displayed properly.Problem is in displaying barcode fonts.
    Thanks,
    Kavitha

  • Help with inserting dynamic images in BI Publisher

    Hi everyone,
    I know that this question has been asked a million times but most of the answers and examples that I found online seem so old and dated and none of them work.
    I placed an image in my Word document. I right-clicked on it and clicked on 'Format Picture' from the context-menu. I got a dialog like this one: http://etc.usf.edu/techease/wp-content/uploads/2011/05/Screen-shot-2011-05-02-at-4.16.58-PM.png
    I then chose the 'Alt. Text' menu and typed the following text into the textbox labelled 'Description': url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}. Now when I run the report, the image doesn't change. I still get the same dummy image at run time. I'm using Word 2010. This is method stated in almost all articles but for some weird reason it doesn't work.
    Any help? Thanks everyone.
    Edited by: mridang on Jun 8, 2011 6:27 AM

    Hi,
    As far as I know Word 2010 will not work as it adds the text "Description:" before the url. Open the documentin Word 2007 and edit the Alt text and save it.
    Regards,
    Imtiyaz

  • How to print a BLOB (image) on a PDF report using Oracle APEX Listener as Print Server

    Hi,
    I use APEX 4.2.
    I have the following query as SQL text for a Report Queries in Shared Components:
    select
        customer_id,
        cust_first_name,
        cust_last_name,
        cust_street_address1,
        cust_street_address2,
        cust_city,
        cust_state,
        cust_postal_code,
        phone_number1,
        phone_number2,
        credit_limit,
        cust_email,
        filename,
        company_profile,
        -- customer_image,
        decode(nvl(dbms_lob.getlength(customer_image),0),0,null,
        '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
        'src="' ||
        apex_util.get_blob_file_src('P22_CUSTOMER_IMAGE', customer_id) ||
        '" height="75" width="75" alt="Photo Customer" title="Photo Customer" />') customer_image,
        mimetype,
        image_last_update
    from
        demo_customers;
    I am unable to have the image printed on the PDF report. Even when the P22_CUSTOMER_IMAGE is defined as session state item.
    Does someone knows how to print such image/BLOB in a PDF report?
    Thanks by advance.
    Kind Regards.

    Hi,
    Indeed, I would need a custom layout.
    Unfortunately, it seems (according to this white paper) not possible with the APEX listener only. I would need a third pary tool. A pity...
    For me strange, that I cannot generate such a report having images or pictures in a pre-definied report layout... Maybe a future enahancement for Oracle.
    Kind Regards.

  • Control the page height and page width of pdf report using pasta_pdf.cfg

    Hi All,
    I've followed the note: 338990.1 (how to print publisher PDF reports via the concurrent manager) in metalink to print a PDF REPORT. Everything work fine except the page height and page width is used as default (8X11). Is there anyway that i can custom page height and page width size such as: legal (8.5X14).
    current set up in pasta_pdf.cfg
    [DEFAULT]
    %% ============== Preprocessing Command ==================== %%
    % Pasta can use a preprocessing command to invoke any executable
    % that supports an input file and an output file (a filter program).
    % You can use redirection. Pasta will invoke the filter program
    % to preprocess the Pasta output before passing it to the printing
    % command. By using the preprocess option, you can generate output
    % formats other than the formats Pasta currently supports. For
    % example, you can generate PCL output.
    % You can use {infile} and {outfile} in this option.
    % {infile} is the output file generated by Pasta. You can use
    % it as input for the preprocessing command. It is a temporary
    % file and will be deleted after being passed to the
    % preprocessing command. {outfile} is the output file generated
    % by the preprocessing command. Pasta names it temporarily and
    % it will be deleted after being passed to the printing command.
    % If you want to keep it, you can name it by using the '-o'
    % command line option. Pasta will copy {outfile} to the file you
    % specify.
    % Preprocess for PDF output
    % This is an example for PDF output to print.
    ; Xpdf
    preprocess=/usr/local/bin/pdftops {infile} {outfile}
    ; Ghost Script
    ; preprocess=pdf2ps {infile} {outfile}
    ; Acrobat
    ; preprocess=acroread -toPostScript -pairs {infile} {outfile}
    %% ============== Printing Command ========================= %%
    % You can specify the printing command and options you want
    % to use to print your report. Pasta will pass the final output
    % to this command. {printername} will be replaced by the
    % actual printer name passed through the command line option
    % (-pn), so in most cases you don't have to change these
    % options.
    % for UNIX platform
    printCommand=lp -c -d{printername}
    % for Windows platform
    ntPrintCommand=print /D:{printername}
    %% ============== Error Log File =========================== %%
    % This tells Pasta to create a log file. The default error
    % output is stderr.
    ;errorlogfile=pasta.log
    NOTE: pasta version 3.0.4
    form server 6.0.8.27.0
    third party tool is pdftops
    Thanks
    Kevin

    i think that can be down from the printing direver/styles/prt files when you added the printer at your apps system check the follwoign for more info.
    ( How to Implement Printing for Oracle Applications: Getting Started )
    Note:269129.1
    (Step By Step Guide to Set Up a Printer in Oracle Applications)
    ( Note:60936.1)
    fadi
    http://oracle-magic.blogspot.com

  • Arabic PDF Report generate issue with Arabic Letters

    Hi
    I have an issue with Arabic PDF report,its display Junk characters,
    where as English PDF report is working fine and Arabic Text report is working fine.
    I need help to fix the above issue.

    970649 wrote:
    Hi
    I have an issue with Arabic PDF report,its display Junk characters,
    where as English PDF report is working fine and Arabic Text report is working fine.
    I need help to fix the above issue.Please post the details of the application release, database version and OS along with the database characterset.
    Please see these docs/links.
    Fonts Displayed As Junk Characters In PDF Report Output [ID 1218354.1]
    How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    How to Generate PDF Output With UTF8 in R12? [ID 778970.1]
    Arabic Data Appears As Junk , Currently using Forms Patchset 16 & XML [ID 755786.1]
    Why Printer Print Junk characters when printing rtf Bi Publisher Report Out Put? [ID 1497767.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=PDF+AND+Junk&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Print PDF report directly to a network printer (dot matrix)

    Dear All,
    I have a report of PDF output generated from an XML Report..
    Can I print this PDF report directly to the network printer (dot matrix), by default, like a normal text report output.
    If yes, how can I make this possible...
    Please update...

    Hi,
    Yes u can do that ,first setup the printer on the o/s and refer below documents
    Please refer below documents
    How To Print XML Publisher PDF Reports Via The Concurrent Manager [ID 338990.1]      
    How To Print Concurrent Requests in PDF Format [ID 333504.1]
    How To Generate And Print Reports In PDF Format From EBS With The UTF8 Character Set [ID 443778.1]
    Regards

  • Unable to print PDF reports on laser printer?

    Hi
    Our requirement is to print the PDF reports directly on the laser printer after submitting through concurrent requests. We have configured the local printer attached to the user, installed printer as network printer on IBM AIX server and configured the printer configuration in ERP instance. Whenever, we print garbage is printing. Then came across this metalink document (How To Print XML Publisher PDF Reports From The Concurrent Manager [ID 338990.1]). According this document, i have downloaded PDF converter 'xpdf' through this link http://www.foolabs.com/xpdf.
    As far as i know, extracting the xpdf.tar file itself will install this software. Modified and un-commented this line pasta_pdf.cfg file with 'preprocess=pdftops {infile} {outfile}' command. Still the printer is printing garbage.
    How to verify that XPDF is installed properly or not?
    Regards

    I think that means tool is either not installed or not in path:-
    "The Xpdf language support packages include CMap files, text encodings, and various other configuration information necessary or useful for specific character sets. (They do not include any fonts.) Any or all of these can be installed by simply unpacking the tar file and adding a few lines to your xpdfrc configuration file (see the README file inside each package for details).
    have you seen what needs to be changed in xpdfrc configuration file?
    Thanks,
    JD

  • Dynamic Image Location in JRC

    <p>Hi !</p><p> </p><p>We are interested in using so called dynamic image location future in JRC. So far we are unsucessful, so the question is, is it supported in JRC ? We are able to get dynamic image location future working in report designer, but when our report is exported there is no image only path to it. </p><p> </p><p>We use Crystal Reports 11 R2, Java Reporting Component in JSP version.</p><br /><p>Mac</p>

    I have a couple of reports working with dynamic images. CR4E doesn't support this (yet?!?), but you can still do it with the JRC. The big kicker is the syntax of your URL. If you're using a static image on a server somewhere, it should work with no problem. However, if you're using a generated image, it's a little trickier. I discovered this when I was creating a report with barcode labels. The barcodes were not getting generated. I turned on debugging and found that the JRC was screwing up my url. The url was as follows http://myserver/barcode?message=12345 67890&format=datamatrix.
    In the logs, the JRC said it couldn't find an image at the url
    http://myserver/barcodemessage=12345+67890&format=datamatrix. It was stripping out the ? in the url, which is kind of an important character to say the least. I messed around with it and eventually found that if I just put ?? instead of ?, the image would display correctly with the JRC. Hope this helps! If not, post what version of the JRC you're using and the URL you're using for the image location.

  • Dynamic Image Location?

    Hi Experts
    How can I use Dynamic Image location in my Crystal Reports?
    Thnaks in advance
    AG

    Techy Guy,
    In the properties of your image, you can set the location as a formula. Here, you can set the path by IF-ELSE statements:
    IF {letter.city} IN ["Arnemuiden","Kleverskerke","Middelburg","Middleburg","Nieuw- en Sint Joosland","Sint Laurens"]
    OR LowerCase({letter.city}) LIKE "*joosland"
    THEN ".\Middelburg.png"
    ELSE
        IF {letter.city} IN ["Oost-Souburg","Ritthem","Vlissingen"]
        THEN ".\Vlissingen.png"
        ELSE ".\Middelburg.png"
    In this formula, the logo will be depending on a the city the recipient is in. If the city is not in one of these two options, Middelburg.png will be used as default (to have at least a logo in the letter).
    You could even use a field to define the image name:
    ".\Flags\" + {Customers_.Country} + ".png"
    will point to the directory 'Flags' in the same directory as your report is. Here, it will locate the .png file having the same name as the country field in the customers database (i.e. France.png).

Maybe you are looking for

  • How do I delete an Apple discussion account?

    I am wondering if you can delete one of your Apple discussion account, so that the username is not longer active for that account.

  • New-object itextsharp causes an error

    Hi, i am trying to use powershell to read a pdf document with the following code [System.Reflection.Assembly]::LoadFrom(".\itextsharp.dll") $reader = New-Object iTextSharp.text.pdf.PdfReader -ArgumentList ".\201408_issue.pdf" for ($page = 1; $page -l

  • Passing Variable from frame to frame

    Hi- I have used JFileChooser to let the user select the location of a picture. I have then stored the location of the picture into a String. This is all done on the MainJFrame of the program. I am having trouble passing this string to a different Fra

  • How do you do Switch statement in JSP

    using the HTML tags!

  • Deb Squeeze 32bit 10g XE install, but no APEX

    I have a Debian Squeeze system. I downloaded and installed the debian (stable) distribution of the Oracle 10g XE database from the Oracle download page (behind the archived versions tab). So, Oracle is running. But I can't access the homepage. I'm co