Smartforms barcode printing

thanks to all.  i have created a barcode in SE73 in new format. but i did not see any option to specify width and height for that barcode. i have to use a width of 40mm and height of 10mm. but i am getting 50/10 mm as default. please advise me how to specify width and height for barcode in new format of SE73.

Hi
check this
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.
<b>Reward points for useful Answers</b>
Regards
Anji

Similar Messages

  • Problem with smartforms barcode printing

    Hi,
    In my smartforms i use a simply standard barcode (CD39__00)
    for delivery number; but when i print there is no barcode, there is the dlivery number as number.
    I'm in SAP ECC 6.0 so with the new barcode printing.
    Where is the problem?
    Thanks a lot.
    Matteo

    Hi - Sometimes if the height of bar code is small, then it prints the number instead of barcode. So please try to copy tht barcode into "Z" from se73 transaction and increase the height and then assign the new barcode to ur smartform. Doing this you will be getting the barcode printed on it.
    Thanks
    Arun Kumar
    Ok, i create a new bar code bigger than the first one and now it's printed.
    Thanks lot.
    Matteo Vernile.

  • Barcode Printing in Smartforms

    Hi all,
             I have created a barcode via SE73 and attached it in the Smartstyles via a character Format. I have also added this character format in my Smartforms.
             When I click the preview I'm able to see the Barcode getting displayed (Zebra Printer). But when it gets printed in the Zebra Printer it does not get displayed.
    Kindly let me know if anyone has faced a similar issue related to this. It would be of great help.
    Thanks
    Ramky.G

    Hi
    check this
    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
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    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.
    Regards
    Anji

  • Problem with Barcode printing in smartforms

    Hi Gurus,
    I have  made  changes to the system barcode  height in SE73 from say 1.3 to 0.7 cm. But when I take the printout  from the  barcode printer I am getting  the  barcode with old height.
    My concern is do we  need to do change anything with the  printer settings. If so, where and how? who has to do that?
    -B S B.

    Hi,
    But how do we reduce  the height.
    I changed  the  height of the system barcode (device  independent).
    Print preview looks fine. But when actual printing takes place  still the barcode retains original height.
    Could you please  explain me  in simple steps?
    SAPHelp is more  confusing.
    -B S B

  • Barcode printing in 4.7 possible or not ?

    Hi All,
    We are working in 4.7 environment .We want to generate the barcode in a script for an invoice number. I heard from some of my friends that barcode printing is not supported in a script from 4.7 .In 4.7 we need to use a smart form for that.Please let me know if it  the same or not ?
    Regards
    jyothi.R

    Hi Jyothi,
    Whether it script or smartform it is possible.
    If it script then create a character format in that character format select
    which barcode you want to print generally everybody use bc_cd39 i.e. code 39
    else ask your client which barcode they need or else if in any form they are getting the print consider the barcode from that form.
    after selecting the barcode in the character format
    in the window where you want to show the barcode write as
    <C1>& & </>
    in first angular brackets give your character format you created here like i am taking c1
    and in between the place holders give the field name of your invoice number.
    please let me know still you have any issues
    if helpful reward points
    Regards,
    Phani

  • Problem in barcode printing..

    I am given only the barcode dimension and content to print it using smartforms..how do i go about it..? Do i have to start from SPAD transaction or se73.. kindly let me know links which may give step by step guideline to my problem..and in SE73 i dont know which barcode symbology i need to assign..
    Also, why do we have to go for TCode SPAD?

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

  • Smartform barcode problem

    I have designed a smartform prints barcode. On the left hand side there is barcode window and right hand side another window that holds some text for printing. Both windows are same level ( same line horizontally) . When i try to print, barcode prints but texts which are right hand side moves other place. How can i solve this problem ?
    Sorry for my bad english .. thanks

    Hi Murat,
    I suggest to make the smartform appear in boxes. So that you can trace out the problem easily.
    make all the smartform nodes' 'Output Options' -> Lines with (under Box & Shading) ticked.
    After doing the above change in the smartform, try executing in printpreview, now you can see where the text is getting overflown.
    Hope this helps
    Rgds,
    Sripal

  • Barcode Printing

    Hi Experts,
    I have a program for barcode printing.
    Now the problem is we have some logic at the end of which the printing is performed.
    But there is some text that we want to change in the print.
    But I am not able to find how the print is triggered.
    The only thing I can see is GUI_DOWNLOAD.
    Is there any way to find how the printing is triggered?
    Thanks
    Ravi

    Hi,
    Which SAP functionality are u using for BARCODE Printing, SAP Script or smartforms.
    Can u post ur code here?
    Regards,
    Sonika

  • Barcode printing with barcode.dll

    Hi,
    When I am trying to print barcodes, at the end of barcode it prints the control character sequence which is their in suffix control of barcode.
    Could you please tell me what needs to be changed.
    Thanks and regards,
    Anoop

    I think barcode printing via device type POST2 isn't supported by SAP Script forms.
    I found out that this is supported by SMARTFORMS, as you can see in the documentation.
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    - Steffen

  • Issue with Barcode printing in SAPscript

    Hi All,
    I am trying to print barcode in my script. I assigned barcode font to the numbers which I want in the form of barcode, I am able to see barcode in the print preview but when I am trying to take printout , in printout barcode is not appearing.
    I try same barcode font with the smartform I am getting barcode in the printpreview as well as in the printout of the smartform with the same printer.
    Can any one help me in this issue. Is there any other setting required in the smartform or its driver program?
    Thanks.
    Shweta.

    Hi
    It depends on which kind of barcode fornt you're using.
    In last SAP release there's a new tecnique to print the barcode by smartform: this tecnique translate the barcode as graph so the printer manages the baracode just as if it was a logo and It doesn't need any other hardware or software to print a barcode.
    This tecnique is available for smartform only, else u make sure your printer can print a barcode, you can see a dummy barcode in preview.
    I have had your same problem, and I found out this very usefull answer in the forum:
    Barcode Printing issue using Forms
    Hi, In general, if you want to print a barcode, somebody must draw the bars of the
    barcode to get a correct print. There are four possible ways to print barcodes from SAP:
    1. Print e.g. via a Barcode DIMM/SIMM To use this way, the printer must be able to print
    barcodes by itself so it needs e.g. a special barcode SIMM/DIMM module to print the
    barcodes. ie: HP printers do not contain barcode fonts by default so a DIMM module with
    the fonts must be installed. The print works as follows: The SAP sends a simple printer
    escape sequence to the printer, which activates the barcode printing in the printer. Then
    the SAP sends the barcode number and finally it sends a printer escape sequence, which
    switches the printer back to normal printing. So in this way the bars of the barcode are
    created in the printer (and you only see a dummy barcode in the print preview). Se the
    SAP Note 45643 about the sequences for Jetcaps BarDIMM used for printing barcodes on HP
    Laserjet printers. The correct BarDIMM modules for different HP printer models can beseen
    on the JetMobile website at the URL below: http://www.jetmobile.com/products/SJ_BD.htm
    2.Print via a barcode.dll If your printer doesn't have a barcode DIMM, it cannot create the
    bars of the barcode itself. So this must be done elsewhere. One possibility is that you
    print via a Windows system, SAPSprint or SAPLPD, device type SAPWIN and a barcode.dll.
    ie: Your printer is connected to a Windows system that runs the SAPSprint or SAPLPD
    program If you print via device type SAPWIN, the creation of the print data is done in
    the Windows. So the Windows may create a graphic, which contains the bars of the barcode,
    and send this graphic to the printer. The job to create the barcode graphic is done by
    the barcode.dll. See SAP note 14561. 3. New barcode technology If your printer doesn't
    have a barcode DIMM and if you don't want to use a barcode.dll, you may use the new
    barcode technology, which is described in the SAP Notes #645158 and #430887. However this
    is only possible when printing from Smartforms. In this way SAP itself creates a picture,
    which contains the bars of the barcode. This picture is sent to the printer. One
    important requirement when you print the barcode via a Smartform is that you have at
    least release 46C. 4. Use of a barcode font There are some font files (e.g. Windows TTF
    files), which contains bars instead of characters. So if you use these font files, the
    bars of the barcode are printed instead of a text. You may buy such a font file, install
    it under Windows and use it via device type SAPWIN according to SAP Note #48803. Since
    release 46C these files can also be uploaded into the SAP and used via other device
    types.
    Regards, Aidan
    I hope it can help you
    P.s.: I post the answer here, because I can't looking for the original post now, so thank very much to Aidan
    Max

  • Performance issue of Barcode printing

    Hi Experts,
    I had designed a smartform using the new barcode printing technology. It works fine. The only problem is speed. I'm using se30 to analyze the performance of this smartform. If I remove the barcode, it takes less than 2 seconds for ABAP execution of this smartform. But if I enable barcode printing, the ABAP execution time is increased to 4.3 seconds. May I know if it's normal to take about 2 seconds to generate the barcode in smartform? Is there anyway I can improve the performance?
    Thanks in advance.
    Best Regards,
    Wu Xue

    Hi Sripal,
    Thanks for your reply. Did you encounter the speed problem only when you try to print the form or you encounter the same problem even during previewing? For me, the barcode generation  takes more than 2 seconds during previewing. I think it will take more time during real printing.
    Best Regards,
    Wu Xue

  • Smartforms-barcode

    Hi,
    Can anybody can teach me how to include barcode on smartforms?since i am just new with smartforms...
    thank you...
    regards,
    mae

    Hi
    check this
    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
    go through these links and cose u r previous threads,
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    smartform - barcode
    http://www.erpgenie.com/abap/smartforms.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/print-barcode-with-smartform-634396
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/printing-barcode-733550
    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.
    Regards
    Anji

  • Barcode printing via sapscritp with ricoh aficio 2045e

    Hi All,
    I have to print the barcode number of delivery (eg 8000998833) via sapscrit. The printer is a Ricoh Aficio 2045th. I installed the device type ZA001016.PRI but can not print anything. I don't know where to put my head. Can someone help me? Thanks in advance.

    Leo,
    Seems like you don't know about the basics of barcode printing in SAPScript/Smartforms - you will need the help of abap and/or basis. I saw this response on another thread which may help you:
    In traditional barcode printing barcodes are generated in the printer and not in sap system.
    Hardware required - SIMM module.
    In new barcode technology ,which has been included in SAP Web pplication Server 6.40
    barcode printing does not required any special tecs since it is send to the printer as graphics.
    But you have to convert your script to smartform.
    If you are using a release after 4.6c you can use this technology by imporing the corresponding Support package .
    See Sap note 430887 in sap service market.
    The new bar code printing allows you to print using POST2.
    Yuo can create new barcode using transaction SE73.
    Also see the SAP Note-645158
    Not a solution but it might help you in your search - if I find a sloution I will post it here.

  • Printing to Citizen Thermal Barcode printer

    Hello everyone,
    I need some direction as to where to go next on this issue.
    I am trying to take text data that contains commands with data and ascii control codes for a Citizen Barcode printer and allow my client (a web browser) the ability to print this data to its local printer and generate labels (not the raw data)
    I have been able to code a servlet that can prints my barcodes to the local printers on my PC, but I cannot access a client's collection of printers from the web server.
    It seems I need to render the data and do a window.print() in Javascript: Here is my servlet code that works when the printer is local to the web server.
            try {
              PrintService psCitizen = null;
              String sPrinterName = null;
              PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
              for (int i = 0; i < services.length; i++) {
                sPrinterName = services.getName().toUpperCase();
    log(Trace.DIAGNOSTIC, "Printer " + i + ":" + sPrinterName);
    if (sPrinterName.toUpperCase().indexOf("CITIZEN") >= 0) {
    psCitizen = services[i];
    break;
    if (psCitizen == null) {
    log(Trace.DIAGNOSTIC, "Citizen printer is not found. Ps Count = " + services.length);
    return;
    DocPrintJob job = job = psCitizen.createPrintJob();
    //String STX = "^B";
    //String CR = "^M";
    String STX = "\002";
    String CR = "\015";
    //String STX = (char)2 + "";
    //String CR = (char)13 + "";
    String s = "";
    s += STX + "RN" + CR;
    s += STX + "e" + CR;
    s += STX + "M2982" + CR;
    s += STX + "O0100" + CR;
    s += STX + "f170" + CR;
    s += STX + "qC" + CR;
    s += STX + "L" + CR;
    s += "H16" + CR;
    s += "D11" + CR;
    s += "PH" + CR;
    s += "SC" + CR;
    s += "W" + CR;
    s += "Q0001" + CR;
    s += "264400005930182DFW" + CR;
    s += "232200005840339ORD" + CR;
    s += "2e4411005360035BORD4721215005800001" + CR;
    s += "241100003160222TEST" + CR;
    s += "232100003160243Consignee:" + CR;
    s += "241100003160268TEST INTERNATIONAL, PHILA" + CR;
    s += "232100003160288Shipper:" + CR;
    s += "232100003160314Deliver By:" + CR;
    s += "232100002190192 5" + CR;
    s += "23210000142031409/23/06" + CR;
    s += "26210000310033412150058" + CR;
    s += "232100001590192Pieces" + CR;
    s += "241100002500192OF" + CR;
    s += "231100003760015ORD4721215005800001" + CR;
    s += "231100005840162Comment:" + CR;
    s += "232100003160192 1" + CR;
    s += "E" + CR;
    s += "";
    byte[] by = s.getBytes();
    DocFlavor flavor = DocFlavor.BYTE_ARRAY.AUTOSENSE;
    Doc doc = new SimpleDoc(by, flavor, null);
    job.print(doc, null);
    } catch (PrintException e) {
    How can I using a servlet, JSP or Javascript get the user to print the label data from the client browser and have the thermal printer interpret the browser data as commands to print. I don't mind the browser user having to select the printer.
    Thanks!

    I don't think that you'll be able to do this correctly with JavaScript, as those control codes probably won't be rendered correctly in the web browser. I'm guessing you'll need a signed applet to properly receive the exact commands to send to the printer. You can use the Jakarta HttpClient to receive the exact commands from the Servlet, then some kind of print API to send the commands to the printer.
    Brian

  • Error in smartform when printing multiple pages

    Hi,
    I m using a smartform which have two pages in it,
    i m able to save and activate it without any error message and when i run the function module generated to chk my smartform
    it runs fine and diplays two pages i m using.
    but as i m attaching this form with my driver program it is giving an error message while running . the error message is " No other output defined in main window."
    Please help me out to resolve the issue.

    Re: error in smartform when printing multiple pages
    dharani tadikonda
    Thanks for this answer. It is absolutely correct.

Maybe you are looking for