One clik to print graph proxy

Hi
I want to print a chart after click button. After I click this button then is creating a chart in a new box and I see printer parameters to print this but the legend on the chart is on the right not bellow like is definied. In normal view I see a legend bellow chart, only when print then it is on the right.
Procedure after click button "Print" (Procedure for button "View" is the same except method ~print)
      IF GU_dialogboxPrint IS INITIAL.
        create object GU_dialogboxPrint
          exporting
            repid    = REPID
            dynnr    = DYNNR
            lifetime = 2
            caption  = ''
            top      = 1
            left     = 1
            width    = 420
            height   = 120
          exceptions others = 1.
        if sy-subrc <> 0.
          call method GU_dialogboxPrint->free.
          clear GU_dialogboxPrint.
        endif.
        RETVAL = CL_GFW=>OK.
        IF FIRSTCALL IS INITIAL.
          CREATE OBJECT DC_INST.
          DC_MANAGE = DC_INST.
          CALL METHOD DC_MANAGE->INIT IMPORTING ID = MY_ID_AT_DC
                                                RETVAL = RETVAL.
          IF RETVAL <> CL_GFW=>OK.
            CALL METHOD CL_GFW=>SHOW_MSG EXPORTING MSGNO = RETVAL.
            CLEAR DC_INST.
            CLEAR DC_MANAGE.
          ELSE.
            PERFORM FILL_DC CHANGING RETVAL.
            IF RETVAL <> CL_GFW=>OK.
              CALL METHOD CL_GFW=>SHOW_MSG EXPORTING MSGNO = RETVAL.
            ELSE.
            CREATE OBJECT CUSTOM_CONTAINER
              EXPORTING
                CONTAINER_NAME = 'CONTAINER_GRAPH2'.
            CREATE OBJECT GP_INST.
            CALL METHOD GP_INST->IF_GRAPHIC_PROXY~INIT
                     EXPORTING parent  = GU_dialogboxPrint
                               DC      = DC_INST
                               PROD_ID = CL_GUI_GP_PRES=>CO_PROD_CHART
                               FORCE_PROD   = GFW_TRUE
                               EVTCODE_LIST = EVTCODE_LIST
                     IMPORTING RETVAL  = RETVAL.
      CALL METHOD gp_inst->if_graphic_proxy~print.
Edited by: Kosmo on Feb 18, 2010 7:21 PM

Not solved. I think that it must be container first on view screen and next printing is good.

Similar Messages

  • Printing Graph

    Hi,
    I'm using XML Publisher desktop version 5.5 Build 23. Oracle XML Publisher 5.6.3.
    The Oracle Application Instance I used is in version 12.0.4.
    I'm trying to display a Graph at the bottom of the tabular data.
    I could the see the Graph output if I preview from the my local desktop.
    Now if I run in Oracle Apps and use PDF as the output, the Graph is not displayed.
    What I could see is only the tabular data. The area where the Graph is supposed to be printed is just blank.
    I tried to use EXCEL as the output and now the concurrent program ends with a WARNING.
    The error is:
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 4585265 on node NESSR12 at 31-OCT-2008 16:37:47.
    Post-processing of request 4585265 failed at 31-OCT-2008 16:37:47 with the error message:
    One or more post-processing actions failed. Consult the OPP service log for details.
    What I see from the log is:
    [10/31/08 4:37:47 PM] [OPPServiceThread1] Post-processing request 4585265.
    [10/31/08 4:37:47 PM] [1302949:RT4585265] Executing post-processing actions for request 4585265.
    [10/31/08 4:37:47 PM] [1302949:RT4585265] Starting XML Publisher post-processing action.
    [10/31/08 4:37:47 PM] [1302949:RT4585265]
    Template code: XXGREGDT2
    Template app: FND
    Language: en
    Territory: 00
    Output type: EXCEL
    [10/31/08 4:37:47 PM] [UNEXPECTED] [1302949:RT4585265] java.lang.StringIndexOutOfBoundsException: String index out of range: -1
         at java.lang.String.charAt(String.java:558)
         at oracle.apps.xdo.common.encoding.Base64Util.decode(Base64Util.java:54)
         at oracle.apps.xdo.template.fo.elements.FOInstreamForeignObject.end(FOInstreamForeignObject.java:71)
         at oracle.apps.xdo.template.fo.FOHandler.endElement(FOHandler.java:439)
         at oracle.apps.xdo.common.xml.XSLTMerger.endElement(XSLTMerger.java:69)
         at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1287)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
         at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:307)
         at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5916)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3452)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3541)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
    [10/31/08 4:37:47 PM] [1302949:RT4585265] Completed post-processing actions for request 4585265.
    Anybody has any idea on this?
    Has anybody tried printing graphs in R12?
    TIA,
    Greg
    Edited by: user6147889 on Nov 3, 2008 7:59 PM

    Hi Greg,
    I am having the same isssue. In Pdf output, it is prinitng only table data with no graphs. But when I run in excel it is giving out the same error that you described. Can you let me know if you have the solution?
    Thanks,
    Srinath

  • How do I direct my HP Photosmart e-ALL-IN-ONE D110 series printer to my Android Tablet?

    How do I add my HP Photosmart e-ALL-IN-ONE D110 series printer to my Android Tablet?

    Hi,
    Given your ptinter supports print from Android, you need an app called HP ePrint. Please use Google Store to install it:
       https://play.google.com/store/apps/details?id=com.hp.android.print
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

    Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
    I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
    The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
    You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
    application and the selection is stored in a config file in 
    C:\ProgramData\mfgr\prog\setting files
    I don't have access to the application so I can't change how this works.  
    In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
    users.
    Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
    services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
    So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
    in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
    SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
    physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
    SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
    C:\ProgramData\mfgr\prog\setting files
    they actually get 
    C:\UserData\UserA\AppData\mfgr\prog\setting files
    and user "B" gets
    C:\UserData\UserB\AppData\mfgr\prog\setting files
    So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

    I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
    I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
    printed to an LPT port...yep, that old).
    Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
    (a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
    After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
    This was clarified by the following series of comments:
    I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
    and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
    USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
    Newton Mar
    17 at 16:21   
    @JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
    C Mar
    17 at 16:28
    You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
    NewtonMar
    17 at 16:35   
    @JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
    C Mar
    17 at 16:51
    Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
    Newton Mar
    17 at 17:09   

  • Selecting more than one photo to print at a time

    Im using a Dell laptop, 2GB, Windows XP PROF, Epson Stylus Photo RX620.
    How can I select more than one photo to print without having to print one at a time when I select photos from a folder?

    Keep the Ctrl key pressed while you click on the images that you have to select.

  • The HP Deskjet 3050A All-In-One J611 series printer I just bought is not compatible with my Mac Book Pro.  What do I need to do?

    I recently purchased an HP Deskjet 3050A All-In-One J611 series printer and it is not compatible with the version of the operating system on my mac book pro.  I am currently running on OS X 10.4.11 and the printer is compatible with v10.5 or higher.  What can I do to update the operating system on my Mac Book Pro? 

    10.5 will be harder to find & more expensive, I think I'd go for 10.6
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Apple no longer has it for sale.
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 2GB at least)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.
    Which apps work with Mac OS X 10.6?...
    http://snowleopard.wikidot.com/
    It looks like they might still have it...
    http://store.apple.com/us/product/MC573Z/A?fnode=MTY1NDAzOA

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • HT4356 I previously was able to wirelessly ePrint to my HP Photosmart Plus e-All-In-One B210a using both my iPad & iPhone (both run IOS 5.1).  For some unknown reason neither one can now print.  I keep getting a message that the printer is no longer avail

    I previously was able to wirelessly ePrint to my HP Photosmart Plus e-All-In-One B210a using both my iPad &amp; iPhone (both run IOS 5.1).  For some unknown reason neither one can now print.  I keep getting a message that the printer is no longer available.  My MacBook continues to print ok.  Any ideas?

    Reboot everything.  Router, printer and pad.  If it used to work, it will again.  It just lost itself somewhere.

  • My HP Officejet 6500 E709a All-in-One will not print more than one copy at a time.

    My HP Officejet 6500 E709a All-in-One will not print more than one copy at a time.  This is especially disconcerting at Christmas time when you're trying to get Christmas letters in the mail!  Any help?

    The cyan portion of the printhead may be clogged.  I would suggest running the diagnostics shown here.  If three levels of cleaning of the printheads does not resolve the issue you may need a new printhead.
    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

  • Is HP Photosmart Premium all-in-one C309n-s printer compatible with Windows 8.1 PRO?

    Is HP Photosmart Premium all-in-one C309n-s printer compatible with Windows 8.1 PRO?
    Operating System:  Windows Version 8.1 PRO
    When I upgraded from Windows 7 to Windows 8.1, my HP Photosmart Premium all-in-one C309n-s
    stop working.  Is this printer not compatible with Windows 8.1 PRO?  Is there any update for this?

    Hey,
    HP Photosmart Premium all-in-one C309n/g printer is compatible for Windows 8.1
    Please uninstall your printer's old software then install new one for windows 8.1.
    HP Photosmart Premium All-in-One C309 Series Full Feature Software and Driver :
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-109711-1&cc=us&dlc=en&lc=en...
    Kevin_US_CA
    Make it easier for other people to find solutions, by marking my answer “Accept as Solution” if it solves your problem.
    ***Click on "Thumbs up" button to the left side of my post to say thanks!***

  • I got my first Mac 2 weeks ago, a Macbook Pro. I can't get it to scan on my HP Laserjet1217 nfwMFP all in one. It prints (wirelessly) just fine. But when I try to scan, it says something like "no scanners available". Wireless or connected, it's the same.

    I have not been able to get my new Macbook Pro to scan, either wirelessly or connected, with my HP Laserjet all in one M1217 nfwMFP printer. It prints wirelessly just fine, but if I try to scan, I get the message that no scanners are found. The guy in the Apple store had it scanning just fine with a new HP printer he took out of the box. Any ideas would be appreciated.
    Allan 113

    I would check with HP. Your scanner may need a firmware update and updated HP software. Start here:
    http://www8.hp.com/us/en/hp-search/search-results.html?qt=LaserJet+m1217nfw+MFP& cc=us&lang=en&charset=utf-8&qp=&hpn=&hpa=&hps=&hpr=&cat=&current_url=CSSres
    then here:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=219&lc=en&cc=us&dlc=en&sw _lang=&product=4075472

  • Upgrade Deskjet 3050 all in one J610 to print Apple AirPrint?

    Anyone knows if you can upgrade Deskjet 3050 all-in-one j610 to print AirPrint from my Ipad?
    Or in a way to work around printing to this J-model from my Ipad?

    The Deskjet 3050 does not support AirPrint.  AirPrint requires firmware in the printer that understands the AirPrint format.
    You can use the HP ePrint application,
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02775166#N58
    https://itunes.apple.com/us/app/hp-eprint/id299531647?mt=8
    or
    Try the HP All-in-One Printer Remote application,
    http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03561640
    https://itunes.apple.com/us/app/hp-all-in-one-printer-remote/id469284907?mt=8
    I am an HP employee.

  • How can I set 'Adobe PDF printer' as one of my printer choices?

    I've given it half an hour. Can't seem to figure out how I can set 'Adobe PDF printer' as one of my printer options. I'm not sure if I need to download an Adobe file, and what folder I might need to place it in, and if I also need to add a specific driver.
    I'm trying to create a PDF file that printers and outfits like www.lulu.com will accept. Printing an MS Word document via 'Adobe PDF printer' will allow me, I'm told, to produce a suitable PDF file.
    Ideally I'm producing the original document in Pages - but I've been told by printers and lulu.com et. al. that no one out there likes PDF's produced by Pages ("not professional").
    Any suggestions you might have would be most appreciated...
    Ben

    Ben Low wrote:
    I downloaded the Lulu Adobe PDF joboptions file ... but it didn't come with any instructions on how to install or use it. I just have the file. I opened it with a double click and got Adobe Distiller - and I can 'see' what the settings are, but I'd love to understand how to install it so it becomes a selection when I export from Pages.
    Forget the Lulu instruction about double click to install. Quit Acobat Distiller and Acrobat Pro. Move the Lulu joboptions file to the Adobe PDF Settings folder. The path to it is:
    HD/Library/Application Support/Adobe PDF/Settings/
    or
    HD/Library/Application Support/Adobe/Adobe PDF/Settings/
    You're in the right folder when you see other joboptions files already in the Settings folder.
    Next, launch Pages and open your document.
    From the File menu, select Page Setup. In that window, select Adobe PDF 7 for "Format for," choose your paper size, orientation and scale % and click OK.
    From the File menu, select Print
    In the Print window, be sure the Printer is Adobe PDF 7
    Click on Layout for a pop down list and select PDF Options
    To the right of "Adobe PDF Settings" click for a pop up list and select Lulu
    Click Print
    HTH

  • Hi, My printing has suddenly changed in adobe to a large scale, as in, what should be one page of print comes out as 24 pages?   I havent changed anything, its happening on more than one document also, I have to stop my printer before all the pages spew o

    Hi, My printing has suddenly changed in adobe to a large scale, as in, what should be one page of print comes out as 24 pages?   I havent changed anything, its happening on more than one document also, I have to stop my printer before all the pages spew out. I have tried printing 'one single page' and it does exactly the same? Help?

    Is the Poster Print feature turned ON?

  • I have HP J3640 all in one. The printer is printing extremely slow

    I have HP J3640 all in one.  The printer is printing extremely slow.

    Hi,
    Please use the following instructions to check and fix:
      http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01080660&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
    I would check ink level first and reseat (not reset) the cartridges.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

Maybe you are looking for