Image not printing in Layout Editor

I am using BI Publisher 11.1.1.6.
I tried inserting an image in Layout Editor to display company logo.
Followed the steps below.
1. Click on Image icon in Layout editor.
2. Select 'Field' Radio button, in the image URL: selected the field LOGO which
comes from an SQL query.
select value LOGO
from Pro_Ent_table
where section = 'SYSTEM'
AND KEY = 'CORPORATE_LOGO_PATH';
Value is: http://www.noug.org/clubs/165905/graphics/bip.jpg
3. Click on insert in the Layout editor the logo can be seen.
4. But when run the report, we are getting the following errors in different output formats.
a. Interactive viewer - No error, blank screen had been shown.
b. PDF - File does not begin with '%PDF-'.
c. Excel - The report cannot be rendered because of an error, please contact the administartor.
oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException
d. RTF - The report cannot be rendered because of an error, please contact the administartor.
oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException.
Please let me know if more information is required.
Thanks in advance

Metadata. Check the files and strip it or save to a format that doesn't support it in teh first place. Perhaps the copy&paste messes up some stuff on that level such as DPI flags or stored printer data...
Mylenium

Similar Messages

  • PrintDataGrid's DataGridColumn - Embedded image not printing when you use TextFlow in the item rende

    I'm printing a datagrid using something like  this...
    <mx:PrintDataGrid
      id="printDataGrid" 
      width="100%" 
      height="100%"
      showHeaders="false"
      borderVisible="false"
      horizontalGridLines="false"
      variableRowHeight="true"
      dataProvider="{titles}"
      >
      <mx:columns>
       <mx:DataGridColumn 
        itemRenderer="renderer.TitlePrintRenderer" 
        />
      </mx:columns>
    </mx:PrintDataGrid>
    TitlePrintRenderer.mxml has s:RichText component. I use  RichText's textFlow property to render the text. The approach is working fine  except that if the textFlow has embedded images (<img source=... />), the  images are not printed!
    Is this a bug? Is it a limitation? Has anyone come  across this issue?
    I'm using Flex SDK 4.5.1

    After struggling for 4+ days on using timer / events for printing PrintDataGrid with embedded images in RichText's textFlow, I tried your other suggestion... to convert <img> tags to InlineGraphicElement and give it Bitmap from image loaded from a .gif file. The approach works but the printout skips images in a few rows!
    I've this test case in which, every time I print, it skips printing image in the second row! I also implemented this approach in a more complex test case and depending on the total number of rows, it would skip printing image in different number of rows. I'm suspecting that even if you construct InlineGraphicElement from bitmap loaded from an image, PrintDataGrid's renderer still skips printing image intermittently.
    I would very much appreciate it if you could create small project from my following code and verify this behavior. I'm at my wit's end in getting this printing to work.
    PrintImagesTest.mxml
    =================
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        minWidth="955" minHeight="600"
        initialize="initData();"
        viewSourceURL="srcview/index.html"
        >
        <s:layout>
            <s:VerticalLayout
                paddingLeft="20" paddingRight="20"
                paddingTop="20" paddingBottom="20"
                />
        </s:layout>
        <mx:Button
            label="Print"
            click="printClickHandler();"
            />
        <fx:Script>
            <![CDATA[
                import flash.utils.setTimeout;
                import flashx.textLayout.elements.InlineGraphicElement;
                import flashx.textLayout.elements.ParagraphElement;
                import flashx.textLayout.elements.SpanElement;
                import flashx.textLayout.elements.TextFlow;
                import mx.collections.ArrayCollection;
                import mx.printing.*;
                import mx.utils.OnDemandEventDispatcher;
                public var contentData:ArrayCollection;
                private var embeddedImages:ArrayCollection;
                private var numberOfImagesLoaded:int;
                public var printJob:FlexPrintJob;
                public var thePrintView:FormPrintView;
                public var lastPage:Boolean;
                private var textFlowNS:Namespace = new Namespace("http://ns.adobe.com/textLayout/2008");
                public function initData():void {
                    contentData = new ArrayCollection();
                    var page:int = 0;
                    for (var z:int=0; z<20; z++)    {
                        var content:Object = new Object();
                        content.srNo = z+1;
                        content.contentText =
                        "<TextFlow whiteSpaceCollapse='preserve' xmlns='http://ns.adobe.com/textLayout/2008'>" +
                        "<span>some text</span>" +
                        "<img width='53' height='49' source='assets/images/formula.gif'/>" +
                        "</TextFlow>";
                        contentData.addItem(content);
                public function printClickHandler():void {
                    convertToTextFlow();
                private function convertToTextFlow():void {
                    embeddedImages = new ArrayCollection();
                    numberOfImagesLoaded = 0;
                    for each (var contentElement:Object in contentData) {
                        extractImageInfo(contentElement.contentText);
                    if (embeddedImages.length > 0) {
                        loadImage(embeddedImages.getItemAt(0).source);
                    } else {
                        printData();
                private function extractImageInfo(contentText:String):void {
                    var textXml:XML = new XML(contentText);
                    var imageList:XMLList = textXml.textFlowNS::img;
                    for each (var img:XML in imageList) {
                        var embeddedImage:Object = new Object();
                        embeddedImage.source = String(img.@source);
                        embeddedImage.width = parseInt(img.@width);
                        embeddedImage.height = parseInt(img.@height);
                        embeddedImages.addItem(embeddedImage);
                private function loadImage(imageSource:String):void {
                    var loader:Loader = new Loader();
                    var urlRequest:URLRequest = new URLRequest(imageSource);
                    loader.load(urlRequest);
                    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoaded);
                private function imageLoaded(e:Event):void {
                    embeddedImages.getItemAt(numberOfImagesLoaded).bitmap = (Bitmap)(e.target.content);
                    embeddedImages.getItemAt(numberOfImagesLoaded).width = ((Bitmap)(e.target.content)).width;
                    embeddedImages.getItemAt(numberOfImagesLoaded).height = ((Bitmap)(e.target.content)).height;
                    ++numberOfImagesLoaded;
                    if (numberOfImagesLoaded < embeddedImages.length) {
                        loadImage(embeddedImages.getItemAt(numberOfImagesLoaded).source);
                    } else {
                        // all the images have been loaded... convert to textflow
                        buildContent();
                        printData();
                private function buildContent():void {
                    var contentIndex:int = 0;
                    for each (var contentElement:Object in contentData) {
                        if (hasImage(contentElement.contentText)) {
                            buildTextFlow(contentElement, contentIndex);
                            ++contentIndex;
                private function buildTextFlow(content:Object, contentIndex:int):void {
                    var textXml:XML = new XML(content.contentText);
                    var p:ParagraphElement = new ParagraphElement();
                    for each(var child:XML in textXml.children()) {
                        switch (child.localName()) {
                            case "span":
                                var span:SpanElement;
                                span = new SpanElement();
                                span.text = child;
                                span.fontSize = 10;
                                p.addChild(span);
                                break;
                            case "img":
                                var image:InlineGraphicElement;
                                image = new InlineGraphicElement();
                                image.source = embeddedImages.getItemAt(contentIndex).bitmap;
                                image.width = embeddedImages.getItemAt(contentIndex).width;
                                image.height = embeddedImages.getItemAt(contentIndex).height;
                                p.addChild(image);
                                break;
                    content.textFlow = new TextFlow();
                    content.textFlow.addChild(p);
                private function hasImage(contentText:String):Boolean {
                    var textXml:XML = new XML(contentText);
                    var imageList:XMLList = textXml.textFlowNS::img;
                    if (imageList.length() > 0) {
                        return true;
                    } else {
                        return false;
                private function printData():void {
                    printJob = new FlexPrintJob();
                    lastPage = false;
                    if (printJob.start()) {
                        thePrintView = new FormPrintView();
                        addElement(thePrintView);
                        thePrintView.width=printJob.pageWidth;
                        thePrintView.height=printJob.pageHeight;
                        thePrintView.printDataGrid.dataProvider = contentData;
                        thePrintView.showPage("single");
                        if(!thePrintView.printDataGrid.validNextPage) {
                            printJob.addObject(thePrintView);
                        } else {
                            thePrintView.showPage("first");
                            printJob.addObject(thePrintView);
                            while (true) {
                                thePrintView.printDataGrid.nextPage();
                                thePrintView.showPage("last"); 
                                if(!thePrintView.printDataGrid.validNextPage) {
                                    printJob.addObject(thePrintView);
                                    break;
                                } else {
                                    thePrintView.showPage("middle");
                                    printJob.addObject(thePrintView);
                        removeElement(thePrintView);
                    printJob.send();
            ]]>
        </fx:Script>
    </s:Application>
    FormPrintView.mxml
    ===============
    <?xml version="1.0"?>
    <mx:VBox
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:MyComp="myComponents.*"
        backgroundColor="#FFFFFF"
        paddingTop="50" paddingBottom="50" paddingLeft="50"
        >
        <fx:Script>
            <![CDATA[
                import mx.core.*
                    public function showPage(pageType:String):void {
                        validateNow();
            ]]>
        </fx:Script>
        <mx:PrintDataGrid
            id="printDataGrid"
            width="60%"
            height="100%"
            showHeaders="false"
            borderVisible="false"
            horizontalGridLines="false"
            variableRowHeight="true"
            >
            <mx:columns>
                <mx:DataGridColumn
                    itemRenderer="MyPrintRenderer"
                    />
            </mx:columns>
        </mx:PrintDataGrid>
    </mx:VBox>
    MyPrintRenderer.mxml
    =================
    <?xml version="1.0" encoding="utf-8"?>
    <s:MXDataGridItemRenderer
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        xmlns:bslns="com.knownomy.bsl.view.component.*"
        >
        <s:layout>
            <s:VerticalLayout
                paddingLeft="5"
                paddingRight="5"
                paddingTop="3"
                paddingBottom="3"
                gap="5"
                horizontalAlign="left"
                clipAndEnableScrolling="true"
                />
        </s:layout>
        <fx:Declarations>
        </fx:Declarations>
        <s:HGroup
            width="100%"
            gap="5"
            verticalAlign="middle"
            >
            <s:Label
                text="{data.srNo}"
                color="0x000000"
                fontFamily="Verdana"
                fontSize="10"
                />
            <s:RichText
                id="title"
                width="700"
                textFlow="{myTextFlow}"
                color="0x000000"
                fontFamily="Verdana"
                fontSize="10"
                />
        </s:HGroup>
        <fx:Metadata>
        </fx:Metadata>
        <s:states>
            <s:State name="normal" />
            <s:State name="hovered" />
            <s:State name="selected" />
        </s:states>
        <fx:Script>
            <![CDATA[
                import flashx.textLayout.elements.TextFlow;
                [Bindable]
                private var myTextFlow:TextFlow;
                override public function set data(value:Object) : void {
                    if (value != null) {
                        super.data = value;
                        myTextFlow = data.textFlow;
            ]]>
        </fx:Script>
    </s:MXDataGridItemRenderer>

  • Why are the images not printing from InCopy? Why is the relink button in Links panel ghosted?

    I am having a problem with printing from Incopy. All stories are editable and that is working just fine. I am able to view the images although AD has set the graphics to not be editable yet I can still see them of course.
    My problem is upon wanting to print the layout. Getting a message that the image links are missing. I have not moved the original folders (they are all set up on the same level in one main folder). I am working remotely, layout based workflow via dropbox.
    My client would like to have the option to print layouts also initially. How can I relink the images if the "relink" button is ghosted. Can somebody help me please? I have tried doing a restart… Any ideas? 

    the-edmeister, you are a genious. I went to "view" then "toolbars" and de-selected "yahoo toolbar" and then moved the curser over my firefox page and it now works completely including the problem area (the top 3 cm of each screen). Thank you, thank you, thank you, thank you, thank you, thank you. You have no idea how good I feel know on this otherwise cold, windy and rainy day.

  • SAPScript Image not printing

    Hi all,
    In SAPScript I can see an image in the print preview, but when i print it is not printing from spool, other text parts are printing.
    Please help me in solving this.
    Thanks

    Hi,
    It should print from spool. Please check the spool whether the image is there or not.
    Regards,
    Teddy Kurniawan

  • Image not printed in SapScript, only after page break

    Hi,
    I have a problem in printing an image (stored as text) in a sapscript. The image was uploaded correctly from a TIF file in tcode SE78. The image contains a signature and I need to print it at variable positions within the form. That is I need to print it in the MAIN window. The image does not get printed when a page break occurs when outputing the text element containing the picture. If the page break occurs when outputing any (other) text, the image is printed correctly (after that text).
    Has anybody else encountered this problem? Could it be a sapscript bug?
    Thx in advance.
    Claudiu

    >
    > Looks like the last page is not called !!! I can see data only on one page and it shows page 1 of 1.
    >
    > "make sure ST_TEMP is filled with data" how do I do this ?? My program line node has the data filled in the internal table it_temp and the loop node has the data transferred to st_temp for every row. How can I debug the program lines code ??
    > > Have a break <username> in the program lines. and check it_temp has data in it.
    > "use a command and call the last page at end of the loop on internal table"...how to do this ?
    > > like program lines there is a "command line" do a little search on SDN for more info on how to use command lines for next page.
    >

  • Image not printing dynamically

    Hi all,
    I m trying to print the image in RTF template by the giving reference through XML data template but its not taking reference in RTF.
    When i am giving direct path of that image in web property of image its coming but when trying to get the path through profile value then its not printing anything .
    Could u please tell me how to do ?
    Thanks & Regards,
    Manoj

    It would be nice if you can share your file with us so that we can replicate the issue at our end.

  • Why can I not print from text editor?

    I am new to the mac & was trying to do up a text document.  I went to text editor thinking that would work. I did it up all nice & can not print it. I just goes all funny. I know it is not my printer; can print other things fine. Can you please help?

    If preview looks fine, that does suggest - though it doesn't prove, I don't think - the printer might be mucking things up. Do you have the latest Epson drivers?
    Epson: Mac OS X Lion Support
    Others here might have better advice.
    charlie

  • HP Deskjet 5650 and Mac OS 10.5.8 Photoshop Images not printing

    For some reason my HP 5650 does not print images anymore. It will print a page from Firefox. It pretends to print a Photoshop image or a jpeg opened in Mac's Preview app but the page is blank. I can't seem to find a link to drivers or information.
    Power Mac G5
    OS 10.5.8
    Photoshop CS3

    Sure, you can have a job.  No pay, but you can answer posts here on these boards day and night!
    I am glad it worked.
    By the way, you can leave it connected to your Airport Express by Ethernet.  The router does not care how things are connected, wired can talk to wireless and v/v.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Placed AI images not printing correctly?

    I'm having a big problem getting placed AI images to print correctly. Other placed placed images seem to reproduce fine, but not the AI images. Any ideas?

    Let's keep this discussion in one thread, OK?
    http://forums.adobe.com/message/2080004#2080004

  • Why has part of an image not printed from pdf file?

    Hi, I have recently used Indesign to do the layout for a press advertisement. I exported the file as a High Quality pdf file to send to the printer. The logo on the advertisement  has not printed out correctly - the text part of the logo is showing but not the surrounding graphic. When you export and view the pdf file onscreen, everything looks fine. The graphic part of the logo is white - would this have anything to do with why it has not printed? What options should I have checked/unchecked to make sure the pdf prints exactly as it is seen onscreen or is it a problem with the logo file itself?
    I would appreciate any assistance.

    Gopalboopathy wrote:
    Hi
    if the logo is placed in front of the tint/backgrounds, if it's reverse the tint/background same color will be applied and the percentage of the color has been changed to 0%. it will works fine rather than changing the overprint/knockout. hopes it works.
    I'm afraid I don't understand waht you are trying to say here. The white in a logo should generally never be set to overprint. The only way I can think of to get any interaction between a backgorund and a white overprint is to use a blending mode, and that would affect the other colors as well, typically not what you want in a logo situation.
    This is a mistake in the construction of the original art, not a problem at can be fixed directly in ID.

  • Suddenly!  Images not printing

    I'm designing a poster and have NEVER had this happen before. When I print none of my images will print. It worked earlier this morning, then all of a sudden they quit printing. Now that includeds jpgs, artwork from Illustrator, Photoshop. It could be something I mistakingly did but I have no idea since I've never seen this before.
    Other InDesign documents print just fine. So it has to be some switch turned on or off in this document only.
    Any help would be appreciated.
    Trudy

    I have it set up as follows:
    Print Graphics
    Send Data: All
    Output: Composite RGB
    Layer options:
    Show Layer
    Show Guides
    Layer is not locked
    Nothing checked in Attributes.
    Any other ideas?
    Trudy

  • Images not printing clear

    Hello, I'm sure this topic has come up before, but I did a search and can't find any relative articles; so sorry if I'm bringing up "old news."
    I'm having difficulty in getting images to print clearly with Pages. I'm writing a book on musical topics and am using Finale 2007 to create musical examples. I've tried saving them as gif, tiff, png, pict, etc. The results are always the same; when I place them on my pages document they look a little blurry, and when I print them they look even worse. If I open them in Preview they look fine, at all different zoom levels, so I know the images themselves are not necessarily the problem.
    Back in grad school (about 10 years ago) I had the exact same problem with Word; I somehow solved it, but I can't remember how!
    Any advice on how I can get my musical images to look and print clean and crisp will be greatly appreciated!
    Thanks in adavance!

    Hi @Anna44,
    Does the document look as you expect it to when you look at the print preview? Does the print preview and the actual print appear the same or different?
    This might be a formatting issue with Word, not with the printer. What happens if you print a document with images you are not posting in from Google?
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • EPS Images not Printing

    I have inserted an EPS image on each of four worksheets in an excel workbook.  When I print to the Adobe PDF converter printer I see the EPS images in print preview,  however when the multi-page pdf document is created I only see the EPS image on the first page.  Any ideas on how to correct the problem?

    It's sort of interesting.  When I print to my standard laser printers all of the images show in Print Preview and also print just fine.  When I use the adobe PDF printer I can also see the images in print preview however only the image on the first page shows up in the pdf document.  The images on the other pages are not viewable.  That is I have an exel workbook with four (4) worksheets (tabs) each worksheet has an EPS image inserted.  When I create a pdf only the image on the first page prints.  When I try to isolate by printing only the second or subsequent page those images do not show up inthe pdf document.

  • File not visible in Layout Editor, but okay in Source Code Editor & Preview

    I just finished editing this page, and uploaded. It is visible on www, but when I go to edit it in Layout Editor, the cursor is blinking on a white background. Nothing appears to be there. However if I change to Source Code Editor or Preview, all my data is there. Here is the link to it - www.engraversnetwork.com/uls_lasers.html.

    Wow! I figured it out. I was cleaning up my meta tags and left the ">" bracket off of the end of the line. Maybe that will help someone later on

  • Images not printing

    My program only seems to print out the last card in my JFrame, even though I do have a "for" loop. I really do not get why it doesn't print the others.
    public class Image extends Component {
    BufferedImage[] img = new BufferedImage[6];
    public void paint(Graphics g) {
    g.drawImage(img[1], 150, 0, null);
    g.drawImage(img[2], 250, 0, null);
    g.drawImage(img[3], 350, 0, null);
    g.drawImage(img[4], 450, 0, null);
    g.drawImage(img[5], 550, 0, null);
    public Image(String x, String y, int p) {
    try {
    img[p] = ImageIO.read(new File(x + y + ".gif"));
    } catch (IOException e) {
    e.printStackTrace();
    public static void main(String[] args) {
    JFrame f = new JFrame("Load Image Sample");
    f.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent e) {
    System.exit(0);
         Card crd = new Card();
         crd.makeBlank();
    for (int i = 1; i<=5; i++){
         crd.makeCards();
         String y = crd.getSuitAsletter();
         String x = crd.getValueAsnumber();
              f.add(new Image(x, y, i));
    f.pack();
    f.setVisible(true);
    f.setSize(1200,800);
    }

    public class Image extends Component {1) Extend JComponent instead of Component.
    2) Image is a Java API class. Use other name.
    Call setPreferredSize() in the constructor to define its default size.
    public void paint(Graphics g) {If it extends JComponent, you should write paintComponent() instead of paint().
    f.add(new Image(x, y, i)); // where it should be added to ???Use an appropriate layout manager for JFrame content pane.
    f.pack();The pack() method needs components' preferred sizes.
    f.setSize(1200,800);If you did call pack(), don't call setSize().

Maybe you are looking for

  • ISA570W - web filtering issue - apple device update

    Hi, I have got a ISA570W - FW 1.1.17 here are two scenarios which fail trying to update my apple device. The result is error 1403 - which means no access to gs.apple.com first scenario: active web url filter: bocked category: advertisments degugging

  • Weird MAC Crash; anyone who can decipher the log for me?

    My Macbook Pro (mid 2009) with a recently clean installed Mountain Lion experienced a weird crash. I have never had one like this: suddenly the screen turns white and informs that the computer has been restarted due to a problem. As I restart, the lo

  • Work around solutions

    dear gurus,     what is meant by work around solutions?can anyone please explain with few examples..                                 -guna

  • How can I highlight text

    How can I highlight text in PDFs on adobe.ccom?

  • How to set java.library.path form code

    I'm new to JNI. I see there are several ways to set JVM to look for libraries dll, so, etc.      System.setProperty("java.library.path", ".");      System.loadLibrary("hello");That's when UnsatisfiedLinkError java.lang.UnsatisfiedLinkError: no hello