Print Graphics from GFW_PRES_SHOW_MULT

Hi,
does anybody know how to print Graphics using  GFW_PRES_SHOW_MULT. I'm not used with OO otherwise I would go this way. Thanx in advance.

Hi everybody,
I've found a solution:
1) Copy the Functiongroup SGFW to Z namespace and also
   FB GFW_PRES_SHOW_MULT
2) de-comment the following lines in the FB: (DATA-Part)
        evtcode_list           TYPE cntl_simple_events,
        simple_event           TYPE cntl_simple_event.
insert :
simple_event-appl_event = 'X'.
simple_event-eventid = if_graphic_proxy=>co_evt_value_changed.
append simple_event to evtcode_list.
use system event (no PAI processing) for customizing changes:
*simple_event-appl_event = space.
simple_event-eventid = if_graphic_proxy=>co_evt_custom_changed.
append simple_event to evtcode_list.
(comming from Report GFW_DEMO_PRES1 directly below Start-of-Selection) under the DATA declarations in the FB
3) change the method-call in the FB as follows:
        IF content IS REQUESTED.
          CALL METHOD graphic_proxy-ref->init
            EXPORTING
              parent       = parent_container
              dc           = dc_inst_pres
              prod_id      = cl_gui_gp_pres=>co_prod_export
              force_prod   = gfw_true
              evtcode_list = evtcode_list
            IMPORTING
              retval       = local_retval.
        ELSE.
          CALL METHOD graphic_proxy-ref->init
            EXPORTING
              parent       = parent_container
              top          = top
              left         = left
              height       = height
              width        = width
              dc           = dc_inst_pres
              evtcode_list = evtcode_list
            IMPORTING
              retval       = local_retval.
        ENDIF.
The parameter evtcode_list is just added.
That's it! Right-Click works now on Graphics and printing is only one new possibility!
Greets Olaf

Similar Messages

  • SMARTFORMS printing graphics from URL

    I do not find anything yet to print graphics on SMARTFORM using variable name from a url NOT via SE78 Graphics Administration Document Server. 
    There is solution to load SE78 Document Server via BDC but I am looking for solution where Document Server is not loaded with excessive images AND NOT solution writing over a single image there; I want it actually redirected to another url address.
    I do understand that I will maintain a table having the url address AND that I can even display from SMARTFORM; I am asking for solution that actually prints the stored image.

    Dear Michael,
    good to see you..
    I am facing the same problem for using the image from URL in SMARTFORM...
    If you got solved the problem please give me the suggestions how you had done this....
    Please,....
    Thanks in advance,
    Kruthik

  • Problems printing graphics from iPages

    My printer (currently HP3800) doesn't like to print certain graphics or images from iPages, which is a problem because I create brochures within a small office. Can anyone recommend a printer that you have not had trouble printing from iPages that is powerful enough for a small office?
    Thanks!

    My printer (currently HP3800) doesn't like to print certain graphics or images from iPages
    What is "doesn't like" a description of? If you don't prepare photographs and illustrations properly before you place them, then no printer and no press will "like" your photographs and illustrations.
    /hh

  • Printing graphics from InDesign CS2 to an HP 4000 PS Laserjet

    My HP 4000 Laserjet will not print InDesign CS2 documents that have pictures, other graphics, or objects created in InDesign with either a drop shadow or feathered.
    I have an HP Laserjet 4000 which I previously used with Pagemaker 6.5. I could set the screen lpi and angle values for exactly as it needed to be using the Acrobat Distiller PPD and print documents (with pictures and graphics) to the post script printer with no problem. Now I am using Adobe InDesign CS2 and I don't seem to have same the printing options and control that I had with Pagemaker. But mainly, in Pagemaker, when I printed a document I could select the HP 4000 PS printer in the Print Document box and it listed Acrobat Distiller in the PPD box which is what I used.
    Now with InDesign CS2, when I select the HP 4000 PS printer it only shows the HP 4000 PS series ppd (and this may be correct). Although I can still set the values for screening (lpi) and screen angles and screened objects that are created in InDesign will print to whatever screen values I selected, the document will not print when pictures and other graphics are placed into the document or if an object created in InDesign has a drop shadow or is feathered. When I remove the graphics and drop shadow, it will print, however, another problem is that it will not print certain fonts properly (leaving out certain letters in certain words - for instance the "l" in "floor".)
    Is this a compatibility issue between this older Laserjet and InDesign -- is there another driver that I need -- or am I overlooking something that's obvious? I'd appreciate someone's help who may know what the problem is so I won't be doing the trial and error thing.
    Thanks,
    Cliff Stone

    Thanks everyone for their input. As far as the memory shortage, I'm pretty sure that's not the problem. I can create a document in Pagemaker of only 200KB that prints fine and the convert the same document to ID and it fails to print.
    I think Dov is right about the 4000 because I remember when the printer was new, there were some incompatibility issues with Pagemaker that I had to work around. The Adobe people told me back then that Pagemaker and HP postscript printers didn't get along very well.
    I'll check with HP again (I've already written to them twice with no response) and see if the firmware upgrade Dov mentioned is still available, however, even though this 4000 has been very durable and a real workhorse for me, it may be time to put it out to pasture and invest in a new Postscript laserjet.
    Any recommendations?
    Thanks again for everyone's help.

  • I cannot get my HP officejet 4215 all-in-one to print graphics

    how do i get my HP officejet 4215 all-in-one to print graphics. as an example if i print my visa statement the visa logo and bank logos don,t print

    bamajim,
    Here is a link to a page for your printer that may help with your issue.
    The document provides steps to troubleshoot printouts that do not match the screen while printing from the web.
    Does this also happen when printing graphics from somewhere other than the web ?
    Once you give these steps a try let us know what happens.
    If I helped you at all it would be great if you clicked the blue kudos star!
    If I solved your post please mark it as solved to help others.
    I'm a printer tech with HP.

  • HT1338 Printing graphics

    Since updates installed on August 4, I am unable to print on my Epson Stylus PX730WD from files generated in Quark 10.2. When I try, any graphics come out corrupted or Quark crashes. I am able to print text only files and I am able to print from PDFs of the files but not from the originals.
    Quark are working on this but so far have found no solutions. I note that my 'About my Epson Stylus PX730WD' window shows the printer as 'Printer Proxy' version 9.4'. Do I, therefore, have a problem with my printer software, rather than a problem with Quark?

    Dear Matthias,
    Thank you for your continued interest. I am pleased to report that I believe the problem of printing graphics from Quark original files is now resolved.
    The trouble was with fonts. I was working with Extensis Suitcases Version 4 which apparently does not support Quark 10.2. When I upgraded to Suitcases Version 5 yesterday, all seemed to be in order.
    I hope that this information will be useful to you and to other customers who may have had similar experiences. Once again, my thanks for your time.
    Kind regards,
    Diana

  • I have an iPhone 4S.  When I try to print pictures, from my Windows computer, it doesn't work.  Open Office also gives me an "unknown graphic" message.  These are JPEGs, aren't they?  Why can't I print and what is the unknown graphic?

    I have an iPhone 4S.  When I try to print pictures, from my Windows computer, it doesn't work.  Open Office also gives me an "unknown graphic" message.  These are JPEGs, aren't they?  Why can't I print and what is the unknown graphic?

    Hi,
    "A day after the name change became official my built in skydrive app stopped working"
    Did you point that SkyDrive changed to OneDrive?
    Did you move your OneDrive to another location or change its name?
    Please login OneDrive with web-based to check if you could access it successfully.
    Please refer to the following article to try the troubleshooter and check the service status:
    SkyDrive: FAQ
    http://windows.microsoft.com/en-in/windows-8/skydrive-app-faq
    Karen Hu
    TechNet Community Support

  • Bought a new Canon MG7540 printer to replace the old HP A618. When printing vector objects from Illustrator, they look like graphics from dandy (8 bits) ... no smooth, all cubes ... if do raster than print perfectly.  Who knows how to treat it? No well to

    Bought a new Canon MG7540 printer to replace the old HP A618. When printing vector objects from Illustrator, they look like graphics from dandy (8 bits) ... no smooth, all cubes ... if do raster than print perfectly.  Who knows how to treat it? No well to rasterize vector before each printing. OS - MacOs 10.10.

    Have you read the User's Guide for that printer?  Odds are you will get reasonable prints.  However, it is a photographic printer.  That said, it should print excellent quality photographic files.  To get smooth lines in Illustrator, try Preferences > Use Anti-Aliased Artwork.  That will smoothen the output.  If, for some reason, that does not work, try Print > Save As PDF > open PDF in Reader and print from there.  Check the User's Guide for media sizes available for your particular printer.  Setup your artboard to the size page you want the image to print on.  Use View > Show Page Tiling ( to see where the page's printable area lies.  Align the page with the artboard using the Page tool.

  • Snow Leopard won't print graphics in Word 2008

    When I updated to Snow Leopard and Office 2008, everything seemed to work perfectly, open, and run well. However, my .doc files previously created in Office X that include graphics from the draw program will print ONLY text and text boxes--no graphics. I get the same in compatibility mode (.doc), when I "save as" to DocX format, and when I try to save as a PDF--text floating in a sea of non-graphic white. I sent the file to my husband's computer running Leopard, and it prints perfectly. Similarly, if I open Word 2008 and create a fresh, native docx file with graphics, those graphics DO print. So this seems to be a Snow Leopard problem with compatibility Word files using graphic elements (nothing fancy--just flow chart stuff.) Any ideas anyone? I am a small educational publisher and do NOT relish the thought of redoing a boatload of work in another program. Help!

    As near as I can tell, the printer is not the problem. I have tried three different printers, all with the most up-to-date drivers, and even tried Adobe Acrobat 9 Pro, which should bypass all of the above. The graphic elements that worked perfectly in my previous system simply disappear in Snow Leopard. My workaround is to send them to an "older" Mac NOT running Snow Leopard, then convert them to PDF files, then print from Snow Leopard, and all is well. Absolutely frosted! I have publishing deadlines to meet!

  • I am unable to print articles from magazines from Google Books - the background prints, but not the article

    When I try to print from "File", then "Print" only the background "stuff" prints, not the article I am trying to print from Popular Mechanics in Google books. Sometime in the past I had a program (I think it was Mozilla Firefox) which allowed me to take a "screen shot" of the entire screen, edit out the unwanted graphics, zoom in or out and then print only the edited version on a full page format. I've changed computers, and am still setting the new one up to my preferences. Can you help me print articles from Popular Mechanics on Google books?

    See this: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages
    Chances are you have one of two problems; either a non-standard "Media Type" is selected or your page margins are messed up. If the Media Type is correct, try doing the '''reset''' mentioned on that support page.

  • Problems with  print range from 1 to 9999 during printing

    Hi All,
    In my project i am printing the datas in a JTable by a click of the button.I have used the following link:-
    http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/advprint.html
    to print that data from the JTable.The main problem i have is that
    1) The font size in which the tableheader and tabledatas printed are so small.So that i need to increase the font size for both tableheader and tabledatas?
    2)When i click the printButton for printing it opens a dialog box showing print range from 1 to 9999. And in the pages from 1 to 9999.
    I don't want this.I want only 1 to 1.I know that by using Pageable
    interface u can change it.But i don't know how to do it
    Any one help me to solve this 2 problems i will be very thankful to u.It is Urgent.For ur reference i will provide my Code:-
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.print.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.Dimension;
    import java.io.*;
    public class PrintReportPanels extends JPanel implements Printable
    JTable tableView;
    String aLine="";
    DefaultTableModel model;
    Vector columnNames = new Vector();
    Vector data = new Vector();
    JScrollBar jsb = new JScrollBar(JScrollBar.HORIZONTAL);
    JScrollBar jsb1 = new JScrollBar(JScrollBar.VERTICAL);
    JPanel southPanel=new JPanel();
    JPanel printPanel=new JPanel();
    JButton printButton=new JButton();
    int v=ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
    int h=ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED;
    private Font fnt=new Font("Arial",Font.PLAIN,20);//Not working for increasing the font size
    public PrintReportPanels()
         try
    this.setLayout(new BorderLayout());
    UIManager.put("ScrollBar.track",Color.red);
    UIManager.put("ScrollBar.thumb",Color.blue);
         FileInputStream fin = new FileInputStream("Spooler.txt");
         BufferedReader br = new BufferedReader(new InputStreamReader(fin));
         // extract column names
         StringTokenizer st1 = new StringTokenizer(br.readLine());
         while( st1.hasMoreTokens() )
         columnNames.addElement(st1.nextToken());
         }               // extract data
         while((aLine = br.readLine())!=null) //br.readLine() which contains the Spooler.txt datas is assigned to aLine
         StringTokenizer st2 = new StringTokenizer(aLine);
         Vector row = new Vector();
         while(st2.hasMoreTokens())
         row.addElement(st2.nextToken());
         data.addElement( row );
         br.close();
         catch (Exception e)
              e.printStackTrace();
    model = new DefaultTableModel(data,columnNames);
    tableView = new JTable(model);
    JScrollPane jsp = new JScrollPane(tableView);
    this.add(jsp,BorderLayout.CENTER);
    this.add(jsb,BorderLayout.SOUTH);
    this.add(jsb1,BorderLayout.EAST);
    this.add(southPanel,BorderLayout.SOUTH);
    southPanel.setLayout(new FlowLayout());
    ImageIcon ic=new ImageIcon("print.gif");
    printButton.setIcon(ic);
    printButton.setBackground(Color.white);
    printPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
    printPanel.add(printButton);
    southPanel.add(printPanel);
    this.validate();
    this.repaint();
    printButton.addActionListener( new ActionListener(){
    public void actionPerformed(ActionEvent evt) {
         PrinterJob pj=PrinterJob.getPrinterJob();
         pj.setPrintable(PrintReportPanels.this);
         pj.printDialog();
         try{
              pj.print();
         }catch (Exception PrintException) {}
    public int print(Graphics g, PageFormat pageFormat,int pageIndex) throws PrinterException
         Graphics2D g2 = (Graphics2D) g;
         g2.setColor(Color.black);
         g2.setFont(fnt);
         int fontHeight=g2.getFontMetrics().getHeight();
         int fontDesent=g2.getFontMetrics().getDescent();
         //leave room for page number
         double pageHeight = pageFormat.getImageableHeight()-fontHeight;
         double pageWidth = pageFormat.getImageableWidth();
         double tableWidth = (double) tableView.getColumnModel().getTotalColumnWidth();
         double scale = 1;
         if (tableWidth >= pageWidth) {
              scale = pageWidth / tableWidth;
         double headerHeightOnPage=
    tableView.getTableHeader().getHeight()*scale;
         double tableWidthOnPage=tableWidth*scale;
         double oneRowHeight=(tableView.getRowHeight()+
    tableView.getRowMargin())*scale;
         int numRowsOnAPage=
    (int)((pageHeight-headerHeightOnPage)/oneRowHeight);
         double pageHeightForTable=oneRowHeight*numRowsOnAPage;
         int totalNumPages= (int)Math.ceil((
    (double)tableView.getRowCount())/numRowsOnAPage);
         if(pageIndex>=totalNumPages)
    return NO_SUCH_PAGE;
         g2.translate(pageFormat.getImageableX(),
    pageFormat.getImageableY());
         g2.drawString("Page: "+(pageIndex+1),(int)pageWidth/2-35, //For printing the page no. at the bottom
    (int)(pageHeight+fontHeight-fontDesent));//bottom center
         g2.translate(0f,headerHeightOnPage);
         g2.translate(0f,-pageIndex*pageHeightForTable);
         //If this piece of the table is smaller than the size available,
         //clip to the appropriate bounds.
         if (pageIndex + 1 == totalNumPages)
    int lastRowPrinted = numRowsOnAPage * pageIndex;
    int numRowsLeft = tableView.getRowCount() - lastRowPrinted;
    g2.setClip(0, (int)(pageHeightForTable * pageIndex),
    (int) Math.ceil(tableWidthOnPage),
    (int) Math.ceil(oneRowHeight * numRowsLeft));
         //else clip to the entire area available.
         else{
    g2.setClip(0, (int)(pageHeightForTable*pageIndex),
    (int) Math.ceil(tableWidthOnPage),
    (int) Math.ceil(pageHeightForTable));
         g2.scale(scale,scale);
         tableView.paint(g2);
         g2.scale(1/scale,1/scale);
         g2.translate(0f,pageIndex*pageHeightForTable);
         g2.translate(0f, -headerHeightOnPage);
         g2.setClip(0, 0,(int) Math.ceil(tableWidthOnPage),
    (int)Math.ceil(headerHeightOnPage));
         g2.scale(scale,scale);
         tableView.getTableHeader().paint(g2);//paint header at top
         return Printable.PAGE_EXISTS;
    public static void main(String[] args)
         JFrame frame=new JFrame();
         RepaintManager.currentManager(frame).setDoubleBufferingEnabled(false);
         JPanel panel=new PrintReportPanels();
         frame.getContentPane().add(panel);
         frame.setSize(800,600);
         frame.setVisible(true);
    Pls. do provide the reply and tell me where i go wrong.I will be waiting for ur reply.It is very Urgent.
    Thanx,
    m.ananthu

    Hi conner,
    1) My font size problem is over i have used the tablename.setFont(new Font("Arial",Font.PLAIN,20)).It does change the font size of the JTable contents but the JTable Header still remains the same.I want to change the font size of the JTable header as well.How to do it?
    2)According to my second problem can u provide the code of how to change the page range from 1 - 9999 to 1-1?So that i will be very thankful to u.
    Thanx,
    m.ananthu

  • Photosmart 2710 prints garbage from Windows 8.1 but prints OK from Windows 7

    Photosmart 2710 connected wirelessly to Verizon FIOS router, prints fine when sent files from Windows 7 clients (also connected wirelessly). When sent print jobs from a Windows 8.1 wireless client, printer produces page after page of single lines of mostly graphics characters, with an occasional page of several lines of what appears to be XML.  
    Printer driver was installed using the standard 'Add printer' button on the Devices and Printers dialog under Control Panel.
    I have downloaded and run the HP Print and Scan Doctor, which found no problems, but its Test Page produced the same erroneous behavior.
    Windows 8.1 on Asus X551 notebook, Intel Celeron 1007U x64 processor, 64-bit OS.

    Hi
    Try the drivers from the link below on the windows 8.1 unit
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4158&lc=en&cc=us&dlc=en&sw_lang=&product=4204...
    Hope this helps.
    ***** Click the KUDOS Thumbs UP (Like) on the left to say 'Thanks'*****
    ****Make it easier for other people to find solutions, by marking my answer “Accept as Solution”&"Kudos"if it solves your problem.****
    -VJ
    Although I am an HP Employee, I am speaking for myself and not for HP.

  • How to copy and paste the graphics from illustrator to MS word. What I tried is exporting in png with highest resolution and then inserting in to word. This loses a bit of resolution in comparison to direct copy and paste as EMF.  But if I do a copy and p

    How to copy and paste the graphics from illustrator to MS word. What I tried is exporting in png with highest resolution and then inserting in to word. This loses a bit of resolution in comparison to direct copy and paste as EMF.  But if I do a copy and paste, and then take a print of the document, all the graphs and text is printed upside down, flipped back.

    Use the Pencil Tool
    alex
    adrian stock wrote:
    > How to copy and paste a single pixel
    >
    > I want to copy a single pixel and then paste it in the
    position of
    > another pixel in the same image.
    >
    > (This is in effect changing the colour of the target
    pixel, isn't it.
    > But in my case copying an existing pixel seems simpler
    than selecting a
    > colour from the swatch or using the colour picker.)
    >
    > What is the most efficient way of doing this?
    >
    > I tried to select one pixel with the marquee tool. Then
    copied it with
    > control-C, but then how do I select the target pixel and
    paste with
    > control-V?
    >
    > Thanks for your help.
    >
    > Adrian
    >

  • Poor B&W print quality from Photoshop CS4

    First a definition:
    - Half-tone: this is a gray scale printing process that is required for an printer that can print only Black & White.  It allows a B&W printer to be able to appear to have the ability to print grayscale.  The higher the printer resolution, the less noticeable the half-tone dots or dithering will be.
    The problem with Photoshop CS4 seems to be that, when you use it's print option, it's half-tone is very coarse and does not reflect the resolution capability of the destination printer, in my case, a LaserJet4.   If I take the same print and print it from Bridge CS4, the half-tone is correct for the resolution of the printer and the print looks great.  Also, from Photoshop CS4, if you do a save-as a .pdf and then print the .pdf, the print looks great, as well.
    Keep in mind that the printer driver settings (which there are few) have not been changed during this testing.
    My conclusion is that the problem is with Photoshop CS4 print option and I cannot find anyway in Photoshop to change the half-tone settings there.  Further, if I use the exact same print with the exact same printer settings, it will print correctly from other graphics programs.
    Any help with this would be greatly appreciated.  In my lab, most of the printing is B&W for court exhibits and such.
    Thanks, Jonathan
    Image And Sound Forensics

    Zeno,
    Ok.  But the printer works correctly if I do a save-as .pdf and print the
    pdf.  Or do the same from Bridge.   So, how can it be the printer or printer
    driver when it works correctly elsewhere in Photoshop and Bridge?
    Jonathan

  • Reading the printer name from the registry

    Hi,
    I am trying to use the following program to get the Printer name from my Registry.. this program has been taken from Forums.
    package yourpackage;
    import java.awt.Graphics;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import java.awt.print.PrinterException;
    import java.awt.print.PrinterJob;
    import oracle.forms.ui.VBean;
    import oracle.forms.properties.ID;
    public class printDialog extends VBean
    private static final ID PRINTER = ID.registerProperty("PRINTER");
    public printDialog()
    class PrintObject implements Printable
    public int print (Graphics g, PageFormat f, int pageIndex)
    return NO_SUCH_PAGE;
    public Object getProperty(ID id)
    if (id == PRINTER) {
    PrinterJob job = PrinterJob.getPrinterJob();
    job.setPrintable(new PrintObject());
    if (job.printDialog())
    return job.getPrintService().getName();
    } else {
    return null;
    } else {
    return null;}
    This program when compiled gives me the error as
    Error(32,12): method getPrintService() not found in class java.awt.print.PrinterJob
    I did set the project settings from Project-Project Settings and included Oracle Forms Libraries. But I still continue to get the error.
    I understood from the web that I need to put PrintService class which downloaded from the web as part of jnlp.jar
    How should I set this if this is the correct one?
    Early response would be highly appreciated
    Thanks a lot for your time and help
    Narain.

    Narain,
    I could swear I answered this on teh Jdeveloper forum ;-)
    The prin service is part pf Java 1.4, which means that it is not available in JInitiator today. Use the Java Plugin 1.4 and the required classes are present. JNLP stands for Java Network Launching Protocoll and has nothing to do with what you want to achieve.
    In addition, to read the printer names from Forms your jar file has to be signed.
    Frank

Maybe you are looking for