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.
>

Similar Messages

  • Why does my image not reach the edges of the page when printed, but appears fine as pdf?

    Why does my image not reach the edges of the page when printed, but appears fine as pdf?

    Check a printable area of your printer.
    Make a (grey) rectangle that is larger than the paper size. Print it,
    you'll get a message that some cropping will occur, that's okay. Then take a
    ruler and measure the dimensions of the rectangle printed on the paper or
    the white borders around the printed rectangle.

  • My hp 7160 wants to print in black only after replacing the yellow cartridge. Any suggestions?

    My hp 7160 wants to print in black only after replacing the yellow cartridge. Ink level shows full amount. Test page prints fine.
    I have tried different programs to color print in, all return the same error message.

    Hi @obxgirl,
    Welcome to the HP Support Forums! I see you are running into some print quality issues on your HP Photosmart 5510, you are unable to print in black ink.
    I would like you to continue here: Printer Does Not Print Black Ink or Color Ink, or Prints Blank Pages, I understand you may have done some of these steps already but I need you to complete all steps in order to resolve the missing black issue you are experiencing.
    Please note: There are three printhead cleaning stages. Complete all three stages if necessary. If the printhead is badly clogged, it might require another cleaning cycle. If so, wait 30 minutes after the last (third) cleaning stage to start the first stage of the cleaning process over again.
    If you are still unable to print in black ink, I suspect the issue may be the printer and not the cartridge. Please let me know which Country/Region you are in as well as the product Warranty status: HP Warranty Checker
    I hope to hear from you soon.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • 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.

  • HP 5510 wil not print in black ink after installing a new black ink cartridge

    My HP 5510 printer will not print in black ink after installing an official HP black ink cartridge.  I see other people have had the same problem.  I have gone through all the troubleshooting suggestions.  
    I would like to know if anyone has been able to fix this problem.  I just spend money on a new XL cartridge.  Any help/suggestions would be appreciated. 

    Hi @obxgirl,
    Welcome to the HP Support Forums! I see you are running into some print quality issues on your HP Photosmart 5510, you are unable to print in black ink.
    I would like you to continue here: Printer Does Not Print Black Ink or Color Ink, or Prints Blank Pages, I understand you may have done some of these steps already but I need you to complete all steps in order to resolve the missing black issue you are experiencing.
    Please note: There are three printhead cleaning stages. Complete all three stages if necessary. If the printhead is badly clogged, it might require another cleaning cycle. If so, wait 30 minutes after the last (third) cleaning stage to start the first stage of the cleaning process over again.
    If you are still unable to print in black ink, I suspect the issue may be the printer and not the cartridge. Please let me know which Country/Region you are in as well as the product Warranty status: HP Warranty Checker
    I hope to hear from you soon.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • OJ Pro 8625 will not print in color only shades of gray

    Printer was purchased two days ago.  The printer will not print in color only black and shades of gray.  alignment test on 2/28/15 showed color.  cartridges show full.

    Hi there @ChuckHilde 
    Welcome to the HP Community
    I saw your post about how you cannot print in color, and I would like to refer you to try the steps I previously recommended in another thread. The printer itself prints in color, therefor there is most likely settings on your Mac that need to be changed.
    Click here to get to that thread and try the steps: Re: Printer Only Prints Pictures in Black & White
    You should be able to print in color after those steps!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Why can I not print anything from a web page?

    Why can I not print anything from a web page?

    Thank you, but I still haven't solved my problem. I tried the reset suggestion. But I cannot find print.print_printer preference. Maybe the word "printer" is to be replaced with the name of my printer. But because of the warning that making any changes is a very dangerous thing to do, I hesitated to do anything.
    I have located the Print to file option, but it is not checked.
    This problem did not exist before the Firefox update of about 6 months ago. Today I downloaded the latest Firefox update, hoping that would solve my problem, but it did not.
    Thank you for your continued assistance.

  • Edge Animation plays only after page refresh in Firefox

    There is an issue with animation playback in Firefox (I have the newest version - 27.0) - it works only after page reload or if you go to another page and come back to the home page.
    I've saved Edge animation as .oam package and placed into Muse. My animation is floating clouds right above roof on homepage.
    When I open html generated by Edge Animate in Firefox it works perfectly at once.
    Please help!
    I would appreciate any advice.
    Thanks!
    Here is my site http://www.digidom.kz.

    Same FF version here, your page loads fine here, upon first visit and subsequent visits.
    Have you tried clearing out browser cache; restart FF then reload/revisit your page.
    Darrell

  • 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

  • Pages not printing... only opening printer

    Hi, when I go to print a document in Pages all that happens is the printer utility opens up and then closes in a matter of seconds with no activity at the actual printer. It is as if the information just is not sending to the printer. This is the only program that is doing this and it used to work when I first bought iWork. Any suggestions would be greatly appreciated. Thanks.

    Welcome to Apple Discussions
    Since this is a new problem & only affecting Pages, it probably is a corrupt preference/.plist. Quit Pages & then go to HD > Users > [your account] > Library > Preferences & delete the file com.apple.iWork.Pages.plist, empty the Trash & restart Pages.
    Let us know if that works or not. If it doesn't, maybe one of us can think of something else.

  • When printing from websites, only first page prints correctly. Rest of pages lose about one quarter of the page on the right side.

    Starting with the 2nd page, the pages are expanded and the whole right side of the page is gone. This only seems to happen on my Mac. I run Firefox on my PC and it prints correctly. At first I thought it was a problem with certain websites, but it always happens when I try to print out more than one page.

    The 2nd page print scaling error has been an issue with Firefox on the Mac since 2011. People at Mozilla have not considered this a major problem. Try printing anything at less than 100% and you'll quickly see how every page after the first page being scaled wrong gets old real fast. The lack of a solution to this issue forced me long ago into using Safari as my primary browser. Good luck waiting until version 21 for a solution. Current release is 18.0.2.

  • Printing list view -- only 1 page?

    I've just switched from Windows and Outlook to Mac with iCal and Entourage. When I try to print from iCal in list view so I can see all the info relating to events it won't let me print more than can fit on 1 page (I use A4), limiting me to only a few days whatever I have selected in the date range. Have I missed something or is there a way round this problem?

    Stephen Del wrote:
    When you are proofing a page, you must remember to check the page range button as it defaults to all after each page is printed. How do you change this default? We have printed many copies when we are thinking that only one page will go. We toggle between idd5 and pagemaker 7. When you print a page in pagemaker 7.0 it keeps printing that page until you select another option. We are reluctant to move up because of lack of compatability with our print devices and the ppd's. Thanks
    Perhaps some knows of a script that can do this. Have you tried asking on the InDesign scripting forum?
    Have you considered exporting to PDF, extracting the single pages, printing them from Acrobat or Reader? With full Acrobat, you can create a document from all open PDF files, then you can print that collection of pages from Acrobat. Another approach would be to placed the saved single-page PDFs into a new InDesign file and printing that file.
    Yes, it's extra steps to create one, but if you have many singles to print, collecting them in a file would let you print as many singles as are in your assembled document in one print command.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • 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>

  • My printer will not print in color, only black and white.

    I have an Epson NX 420. I have set it up to my laptop, and am able to print off of my computer. But when I go to print a document out of pages, even though it says it is in the color mode it only will print out in Black and White. Is there something I should be downloading? I do know that the printer can and does print in color, because everything works perfectly fine on my Windows computer.

    There are a few things to check:
    Make sure the blue tape has been removed from the nozzle plate.
    Print a diagnostic page as shown in method 4 here.  Does this page print color?  If so the issue may be your driver settings.  Check for a "Print in grayscale" setting and uncheck this box.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Officejet Pro 8620 will not print old documents, only newly created ones

    When I use the driver designed for the printer I can only print documents (Word, Excel, and Publish 2007) that are new, as long as I have not copied and pasted or inserted sheets from previously created documents.  It will not print any Outlook 2007 emails but it prints PDF's fine. Also, the printer works fine with driver for deskjet 990c but limits my options on page size and the margin on the right side won't change and are way to big for most of my documents.  Any thoughts?

    This is very peculiar @bmphr 
    Running the Print and Scan Doctor might help. The HP Print and Scan Doctor is a free utility (tool) that helps to quickly resolve common printing, scanning and connectivity issues including but not limited to:
    Connectivity:
    USB: Verifies that the USB connection from your computer to the HP product is working correctly.
    Network: Verifies that the network connection between your computer and your network is working correctly.
    Device Status Test: Checks for device errors such as out of paper, paper jams, carriage stalls, and paper feed issues, and then provides instructions for fixing the error.
    Driver Check: Checks for missing or corrupt driver files.
    Device Manager: Checks for problems in Device Manager that would prevent printing.
    Device Online: Checks if the product has been paused or set to offline, and then sets the status back to online if necessary.
    Print Queue: Checks for and clears pending print jobs in the print queue (a log of print jobs waiting to print).
    Port Match: Checks the port settings for the HP product.
    Device Conflicts: Checks for conflicts with other drivers, such as other printer brands.
    Ink Issues: Checks the cartridges and ink levels for issues that affect print quality.
    Print Settings: Checks and adjusts the print quality settings.
    Test Print: Prints a test page for print quality evaluation, and provides options for cleaning and aligning the printhead if necessary.
    Scan Tests: Checks the scan mechanism, drivers, and registry entries.
    Source:Try the HP Print and Scan Doctor for Windows
    Click here to download and run the Print and Scan Doctor> >>>>> www.hp.com/go/tools
    If that does not resolve the issue, post back and let me know if there are any symbols other than green check marks and what they are next to of course. The wrench is not always easy to spot as the wrench and the check mart are in the green circle.
    If you see only green check marks (), the tool did not find any problems.
    If you see green wrenches (), the utility identified an issue and corrected it automatically.
    If you see yellow exclamation points (), the test failed and required user action, but the step was skipped.
    If you see a red X (), follow the on-screen instructions to resolve the issue.
    Thanks, I look forward to hearing back from you.
    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

Maybe you are looking for