Printing graphics in smartforms

Hello all.
I am creating a smartform wich includes a graphic with a checkbox.
The print preview seems ok. When i send it to the printer SAPLPD send all the conten to the printer without any errors but the printer shows the message "Processing Data" and wont print.
Anyone knows why can this be happening.
Thank you in advance.
Nuno Silva

Hi,
Can I join this post.
Can you please check preview of your B&W graphic
Using T/code SE78. Is preview is displaying?
Please check the Window dimensions defined for your graphic. May be your graphic is not fitting in the window.
Check the resolution of graphic also.
Lanka

Similar Messages

  • Printing graphics (via SmartForms?)

    Hello,
    I have problem with printing images via SmartForms. I know that I must firstly import graphics using SE78 transction and then use it in SmartForms. We would like to print small jpg images which represents rough preview of product in invoices, offers etc.
    Problem is that we have tens of thousands of materials and each has a preview. All images are stored in DMS (KPro) so I thing that is inefficient to import all images again in SE78.
    Does anybody know how to avoid converting all jpgs to tiffs and importing in SE78. Maybe some other printing solution than SmartForms?
    Thanks a lot,
    Zdenek

    This is a common problem. To accomplish this you may need to resort to new BC-XDC interface which can convert non OTF/ALF output to PS/PCL and then feed to spooler, as spooler is not capable of dealing with other native formats such as images.
    Another option is to use 3rd party OMS tools, or KPro/ArchiveLink mass printing solution "APS".
    Regards,
    Vishal

  • 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

  • Urgent!! Printing Barcode using smartforms

    req: need to print barcode using smartforms.
    【Settings】
    The following settings are made already
    1.  Style ( paragraph, character type(Syatem Barcode ) )is created and activated (T-code:Smartforms)
    2.  In the smartform I used the above style to print barcode  .
    ※TEXTTYPE = TEXT ELEMENT.
    【Execution】
    1.  I run the smartform in test mode with setting any print parameters
    2.  Trigger print preview
    【Problem】
    1. I am getting only BAR's no barcodes.
    The bracodes are not displayed properly.
    If I test the same system barcode in SE73 it displayed properly.
    Is there anyother settings are necessory?
    Plz help me in solving the peoblem

    Hi
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Reward points for useful Answers
    Regards
    Anji

  • What r the steps to print barcode in smartforms

    hi experts,
    can anybody tell me what r the steps to print barcode in smartforms.
    with examples is appreciated.
    points will be rewarded if helpful.

    /people/javier.perez-ullivarri/blog/2007/12/03/create-barcode-in-abap-conversion-to-pdf
    Creating Bar code:
    -->From trans code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    --> when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    -->Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    -->The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    SAP Barcodes
    -->Barcode solution consists of the following:
    barcode printer
    barcode reader
    mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    for your reference check the below links:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    for smart, please check the below link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    See the below program forbarcode in sapscript for your reference:
    DATA: BAR_CODE1(16) VALUE `ABC01230123A01'
    NEW-PAGE PRINT ON IMMEDIATELY `X'.
    FORMAT COLOR OFF INTENSIFIED OFF.
    If the barcode is the first element on the page, the following Write
    statement is needed (otherwise you get a date in the first print
    control.
    WRITE:/
    Turn on the barcode font, print the data, and switch back to the
    printer's default font. Be sure to use NO-GAP to avoid unwanted
    characters or CR/LF.
    PRINT-CONTROL FUNCTION `BCPFX'
    WRITE: BAR_CODE1 NO-GAP
    PRINT-CONTROL FUNCTION `BCSFX'
    Add a Write statement to prevent insertion of CR/LF into the barcode.
    WRITE:/
    Sample SAPSCRIPT
    Variable BAR_CODE1 contains the barcode data, including asterisks.
    The & is needed to avoid unwanted spaces or CR/LF characters
    /E LINE
    /: PRINT-CONTROL BCPFX
    = &BAR_CODE1&
    /: PRINT-CONTROL BCSFX

  • Label printing on ZEBRA printer TLP2844 with smartform

    Hi Gurus,
    Requirement:
    Print label on Zebra printer with smartform
    1. i have created a smartform with desired layout
    2. and trying to print on Zebra printer
    Questions:
    1. smartform is not printing on zebra printer
    2. suggest me if there are any ways to print smartform on zebra printer
    3. does it requires any native programming language for printing labels on zebra printer
    Best Regards,
    Krishna

    hi Krishna,
    This printer does not support ZPL2 so I thnk you cnnot use the device types like LZEB2. It should work to print via windows and a device type like SAPWIN or SWINCF.
    Regards,
    Aidan

  • Using SSF_OPEN and SSF_CLOSE, is it possible to print the next smartform in the same page?

    Hi Experts,
    I'm using SSF_OPEN and SSF_CLOSE, to print multiple smartforms. In between SSF_OPEN and SSF_CLOSE, there is a loop at a smartform. The output prints each smartform in different pages. Is it possible to print the second smartform in the first page since there is still space for printing there?
    Thanks in Advanced,
    Jack

    Hi Jack,
    As per my knowledge,
    you can't print  two smartform in single page because smart form having own page-size.
    If your layout page is A4 size then first layout print in A4 page and next layout will be go-to next print page. but if you have different kind of page size for both layout then you can control from printer side then that case both page will be printed in single print page.
    Regards,
    Prasenjit

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

  • How to make use of label printing in sap smartforms

    Hi Dear,
    How to make use of label printing in sap smartforms.. I need to print four records from internal table into sap smart forms. It will
    come as four labels.All page should follow the same procedure... How to do...please help me..
    Regards,
    Nikhil

    Hi,
    Please go through below link, would be helpfull for you.
    [http://help.sap.com/saphelp_nw04/helpdata/EN/6b/54b4b8cbfb11d2998c0000e83dd9fc/frameset.htm]

  • URGENT.PLEASE HELP!!!Print graphics problem

    Hi,
    Please help me in this one.I try to print Graphics but I can't.
    1) Spooling lasts too long
    2) After spooling , printing does not continue
    3) An empty page is printed instead
    4) Printing process takes about 60 Mbytes of RAM to perform (??!!!)
    Here is my code :
    class MyDrawings extends JPanel implements Printable
    private Image offImage;
    private Graphics2D offGraphics2D;
    private init_graphics()
    offImage = this.createImage ( 200,200 );
    offGraphics2D = (Graphics2D)offImage.getGraphics();
    public void paint(Graphics g)
    Graphics2D g2 = (Graphics2D)g;
    if (offGraphics2D == null) return;
    // Paint the backgroung
    offGraphics2D.setColor(Color.black)
    offGraphics2D.fillRect(0,0,getWidth(),getHeight());
    g2.drawImage(offImage,0,0,null);
    void jButton3_actionPerformed(ActionEvent e) // 'Print' Button was pressed
    PrinterJob pj = PrinterJob.getPrinterJob();
    RepaintManager.currentManager(this).setDoubleBufferingEnabled(false);
    if (pj.printDialog())
    try
    pj.setPrintable(this);
    pj.print();
    catch (Exception PrintException) {PrintException.printStackTrace();}
    RepaintManager.currentManager(this).setDoubleBufferingEnabled(true);
    public int print(Graphics g, PageFormat pf, int pageIndex)
    if (pageIndex != 0 )
    return NO_SUCH_PAGE;
    Graphics2D g2 = (Graphics2D) g;
    double wscale = pf.getImageableWidth() / this.getWidth();
    double hscale = pf.getImageableHeight()/ this.getHeight();
    g2.scale(wscale, hscale);
    g2.translate(pf.getImageableX(), pf.getImageableY());
    paint(g2);
    return PAGE_EXISTS;
    I use JDK 1.4.0 and Win2000.
    Thank you so much for your help!

    Change the construnctor and the paint as follow
    class MyDrawings extends JPanel implements Printable
         private Image      offImage;
         private Graphics2D offGraphics2D;
    private MyDrawings()
    public void paint(Graphics g)
         Graphics2D g2 = (Graphics2D)g;
         if (offImage == null)
              offImage      = this.createImage(getWidth(),getHeight());
              offGraphics2D = (Graphics2D)offImage.getGraphics();
         offGraphics2D.setColor(Color.black);
         offGraphics2D.fillRect(0,0,getWidth(),getHeight());
         g2.drawImage(offImage,0,0,null);
    void jButton3_actionPerformed(ActionEvent e) // 'Print' Button was pressed
    .

  • Printing graphics - URGENT!

    Hi all,
    I am trying to send a Java2D graphics to a printer. I am reading the file name from JFileChooser. Here is my code:
         if(jfc.getFileFilter().getDescription() == psFileFilterDescription){
              File psfile=new File(jfc.getCurrentDirectory(),jfc.getSelectedFile().getName() + ".ps");
              FileOutputStream out = new FileOutputStream(psfile);
              int w=getSize().width;
              int h=getSize().height;
              System.out.print("Writing PS File "+psfile+"\nw:"+w+" h:"+h);
              BufferedImage mImage=new BufferedImage(w,h,BufferedImage.TYPE_INT_RGB);
              Graphics2D gBuff=mImage.createGraphics();
              paint(gBuff);
         sendToPrinter(mImage);
    private void sendToPrinter(BufferedImage bImage){
    PrinterJob pj = PrinterJob.getPrinterJob();
    // show the print dialog and conditionally proceed
    // with printing if the dialog returns true
    if (pj.printDialog()) {
    // get the default page format
    PageFormat pf = pj.defaultPage();
    // show the page configuration dialog
    // note - this doesn't work in Solaris/JDK1.2beta4
    pj.pageDialog(pf);
    // create a book
    Book b = new Book();
    b.append((Printable)bImage, pf);//How can I convert a BufferedImage to support Printable interface
    // arrange for this book to be the source for our printer job
    pj.setPageable(b);
    // actually invoke the printing
    try {
    pj.print();
    catch (PrinterException ex) {
    ex.printStackTrace(System.err);
    // provide a print method for this component. This implements
    // the Printable interface,
    public int print(Graphics g, PageFormat form, int page) {
    // check for a Graphics2D and apply the page orientation and
    // printable area transforms to it
    if(page == 0) {
    if (g instanceof Graphics2D) {
    AffineTransform tr = new AffineTransform(form.getMatrix());
    tr.translate(form.getImageableX(), form.getImageableY());
    ((Graphics2D)g).transform(tr);
    super.paint(g);
    return PAGE_EXISTS;
    else
    return NO_SUCH_PAGE;
    Does anyone have any ideas on what I should do here?
    Thanks,
    Payam.

    i have a problem with this code.
    public void actionPerformed(ActionEvent e)
              if(e.getSource()==openItem)
                   JFileChooser chooser = new JFileChooser();
                   chooser.setCurrentDirectory(new File("."));
                   chooser.setFilefilter(new javax.swing.filechooser.FileFilter()
                   { public boolean accept(File f)
                        String name = f.getName().toLowerCase();
                        return name.endsWith(".gif")
                        ||name.endsWith(".jpg")
                        ||name.endsWith(".png")
                        ||f.isDirectory();
                   public String getDescription()
                        return "Image files";
              int r = chooser.showOpenDialog(this);
              if(r==JFileChooser.APPROVE_OPTION)
                   String name =chooser.getSelectedFile().getAbsolutePath();
                   panel.loadImage(name);
    all variables used have been allocated memory.

  • Print preview of smartform in word format (editable)

    Hi Everybody,
    I have a smartform. I want, when i click on the print priview , it should display in Ms word format and that to editable.
    Plz help.
    Thanks,
    Mohammadi.

    hi,
    1.convert smartform output to a word document using the function module "'RSPO_DOWNLOAD_SPOOLJOB'.
    2.Check the print options for smartform.
    3.Refer This:Re: print priview in smartforms
    Regards,
    Shiva Kumar

  • Enable print button in print preveiw of smartform

    Hi All,
             I have a requirment to display the spool. (print program and smartform).  But while displaying the spool the PRINT option in menu and PRINT button is not active in the output.  Is there any way to enable the print option while displaying a spool.
             I am using the following function module for dispalying the spool.
    'RSPO_RID_SPOOLREQ_DISP'.
    Is there any particular parameter i need to pass while calling the smartform ?
    Please give some suggestions...
    Thanks in Advance
    Jijeesh.P.G

    Hi,
    Check the tcode SPAD
    Click on Full Administration Push Button
    and Check Device Types tab.
    All the Print control options of the spool are maintained.
    Reward if useful....

  • Standard text printing missing on Smartform

    Hi All,
    I am using standard text in Smartform.
    Standard text contains 'terms and conditions' hence it's used for printing in second page.
    For printing standard text one window other than Main window has been created in second page.
    Now when I am taking print preview of smartform only two pages are visible and on second page complete standard text is not displayed. As standard text is of two pages then rest missing text should come on third page as a continuity.
    But missing standard text is not getting diplayed.
    Any suggestion what shall we do to print complete standard text.
    Regards,
    Amit
    Edited by: Amit  Singh on Nov 25, 2010 11:38 AM
    Edited by: Amit  Singh on Nov 25, 2010 11:39 AM
    Edited by: Amit  Singh on Nov 25, 2010 11:39 AM

    I tried to use the 2nd option provided by you but still this prolem is not resolved.
    Missing Standard text is not going in a new page.
    I tried to expand the window size and now entire text is coming in a single page. But by this way page window is not same as in a first page.
    Is there any otherway to print the rest missing text in next page of the smartform.
    Regards,
    Amit

  • K550 won't print graphics - Help!

    Working great till one day suddenly stopped printing graphics.  Prints text copy fine.  Photos, clip art, etc missing from print.  Ran Diagnostics - okay; ran Configuration page - okay.   Laptop prints fine when connected to another printer,  which eliminated a 'computer' issue; definately a printer setting problem.   Help!!  I'm out of warranty :-(

    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!

Maybe you are looking for