How to print BAR CODE in SAP SMART FORMS

Hi,
I want to print inspection lot's BAR CODE in the smart form, but i dont know the way how to print this into the smartform.
if anyone have any idea, please suggest me how to print this as it is urgent for me to complete the object.
Thanks in advance.
Best Regards,
Abnish Jain

Hello Abnish,
Welcome to SDN.
We are able to print barcodes from smartforms. Doing this way, we print barcodes on laser printers.
We are also printing from sap to zebra printers using two ways:
1. Download the data to an excel sheet, then creating a macro that opens the printer port and sending the commands to the printer through this "file". All this is done via vb script provided with excel)..
2. The second way is creating a vbscript (an ascii file from sap) with the printer commands and then runing it using ws_execute.
You need a barcode reader to read the barcodes, and this scanner acts like a keyboard, it sends the data scanned to the active field on screen. (which might be a notepad, word, excel or an input field or ... ).
From 4.6c on, you can use smartforms to print barcodes without buying any barcode.dll software nor hardware extention like Bardimm on any laser/inkjet printer (Please Note that I haven't mentioned Zebra printers here!). To do this, you have to create a smartstyle -> character format with the desired barcode font (defined within sap). Then in the smartform, create a window, put the field and associate it the character format. That's all (I mean, that's all we do at least :-). I think, you have to consider the barcode specifications before sending the barcode value to the smartform (Just an example, if you're using 3 of 9, the code should start and end with an asterisk - '*' -) We're printing an interleaved 2 out of 5 barcode in our invoices due to a legal requirement, and we did it this way.
3. If you have a barcode scanner, then you should not need reading the barcode into an ascii file to get the data read in an standard or custom screen field. You can read it directly to the field you want. (unless... you have complex data coded in the barcode - for example if you're using an ean-ucc 128 compliant code and you're sending several fields in a single code ... In this case, an interface is almost mandatory because you must interpret the data fields according to the ucc standard, split the code into several fields .... and .... pure programming logic ).
To put it clear: if you have to read, for example, a barcode that holds the legal number of an invoice using a barcode scanner and this number should be sent to migo-> bktxt then you don't need an interface. The scanner itself acts like a fast operator entering the characters using a keyboard and filling in the field.
We're reading barcodes in several places (when we finish each pallet, when we receive an invoice, and so on. Each case is a different screen. We arent using an ascii file to read these barcodes. Furthermore, we read the invoice legal number into migo bktxt field (Head Text).
http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
Regards
Naren

Similar Messages

  • How to Print Bar codes in SAP script.

    Hi Experts,
    Could you please tell me how to print bar codes through sapscript (the steps basically)?
    <<text removed by moderator>>
    Thanks in advance,
    Suchi.
    Edited by: Matt on Nov 13, 2008 2:04 PM - do not use ASAP or urgent.

    hi,
    check these.
    [https://forums.sdn.sap.com/click.jspa?searchID=18572128&messageID=4724540]
    [http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm]

  • How to print bar codes in sap script and smartform

    bar code sheet to print for particular customer when the
    transfer order is created.

    Hi,
       You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:
    &#9675; Start transaction SE73, and choose System Bar Codes ® Change.
    &#9675; If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.
    You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.
    2. If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.
    If you have only changed the bar code, continue with the next step.
    3. You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.
    4. You can then print the bar code.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=10581664&messageID=3321556
    Check the pdf below..
    http://www.sap-press.com/downloads/h955_preview.pdf
    Regards
    Kiran

  • How to print BAR code in SMART Form

    Hi All,
    I have the requirement to print BAR CODE in Smartforms.
    For this, I create a character format with Bar code in style forms and create a text element in Smart form and associate bar code character format with this text element.
    Now when I look the print preview for the data, then it shows me data in bar code format but not in right format i.e. its shows me all the similar block in bar code.
    If you look the bar code in SAP script, its always show you bar code with similar block, but in SMART FORM it will show you exact bar code; as in SAP Script, bar code is generated at printer end and in SMARTFORM bar code is generated as graphic in SAP and then sent to printer for print.
    PLease let me know, why in SMARTFORM its not showing BAR CODE in correct format in print preview.
    Thanks
    Piyush Mathur

    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://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 if useful
    regards,
    ANJI

  • How to print bar codes in adobe forms

    Hi folks,
    Iam new adobe forms  , any one please explain  how to print barcodes in adobe forms
    Moderator Message: Firstly, this is not a Adobe Forms forum. Secondly, I suggest you SEARCH before you post. Im sure this procedure has been widely discussed already.
    Edited by: kishan P on Jul 20, 2011 12:55 PM

    hi,
    check these.
    [https://forums.sdn.sap.com/click.jspa?searchID=18572128&messageID=4724540]
    [http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm]

  • How to print html code in sap

    Hi gurus
    my requirement is to display html code in sap. in transaction o12c i am giving the html code in longtext , i want to display in co60 transaction . now when i am going to co60 it is taking as textfile instead of html.Plz give a solution
    thanks
    vivek

    Hi Vivek,
    You can take reference of BCALV_DEMO_HTML  this program.
    Regards,
    Pravin

  • How to print the overflow entries in Smart Form

    Hi all ,
    I am having a problem regarding smart forms . I have 30 entries in may data base table . Bt while I am going to print these data in smart form table it is showing only 16 entries .How to print rest of the entries in smart form ? Can anybody give me any solution .
    Thanks,
    Regards,
    Swashrayee
    Edited by: Matt on Feb 20, 2012 10:15 AM

    Hi,
    Are you sure you are entering the data in the main window .
    If you are using the secondary window,there is no flow text display with page break. If you position a subwindow with the same name on several pages, the system displays the contents of this subwindow on each page. Text and data that do not fit into the subwindow are truncated and not displayed.
    In a main window you display text and data, which can cover several pages (flow text). As soon
    as a main window is completely filled with text and data, the system continues displaying the text
    in the main window of the next page. It automatically triggers the page break.

  • How to print the address of a smart form in different line?

    hi ,
             I have a smartform for payment advice. It's working properly but problem is in address window. i am using sap's given  address window . City district and pincode is showing in same line i want to display it different line. initially i didnot use address window  I pass all the address field to the smartform but then problem is if any field is empty it showing the blanline in output  of smartform then i  use address window. how can i show city district and pincode in different line ? i need your suggestion.

    Hi friend,
    Yes the link will provide you the information required. But it too has few disadvantages because in some cases it may also fail.
    Else just do like this create an internal table of line type string. Add all the address details into it as you required.(Here you have provision to add the format ie you can decide which line should contain which data). Then do delete blank lines.
    Then loop the internal table and print the address this will solve your problem. In my project i solved the issue like this.
    If you still have queries please revert back to me i will help you.
    Thanks,
    Sri Hari.

  • How to print selected page no. with smart forms?

    Say hello to everybody,
        I just want to print page from 4-6 for example, how can I make it?
        I have a mothod that we can use T-code sp02 to print page 4-6, and it works.
        Is there any other way to make it? Such as setting some parameters for the function of smartforms? Any help, many thanks!

    Hi
    Printing of pages is controlled only after the generation of spool
    though we use the variables &SFSY-PAGE& for page number
    to display some data based on page condition, but for printing i think we can't put a condition based on this field.
    The way you are doing is the way to do/control page wise printing while printing the spool pages
    Reward points for useful Answers
    Regards
    Anji

  • Print Bar code in Smart form

    Hi,
      Can you pls tell me how to print bar code in smart form?

    Hi,
    You create a bar code or change a bar code in the font maintenance transaction (transaction SE73). To do this, proceed as follows:
    &#9675; Start transaction SE73, and choose System Bar Codes ® Change.
    &#9675; If you create a bar code, the system asks whether you want to use the new bar code technology or traditional system bar codes. Choose New.
    You can enter a name and a description for the bar code. Note that the name must begin with a Zto avoid conflict between your bar codes and the standard bar codes.
    2. If you have created a new bar code, you must now add this to a Smart Style as a character format. For information about this, see the section Maintenance of Styles with the Style Builder and its subsections in the Smart Forms documentation.
    If you have only changed the bar code, continue with the next step.
    3. You can now select text in Smart Forms and choose the corresponding style with the bar code as the character format for this text.
    4. You can then print the bar code.
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=10581664&messageID=3321556
    Check the pdf below..
    http://www.sap-press.com/downloads/h955_preview.pdf
    Regards
    Kiran
    Edited by: Kiran Sure(skk) on Apr 10, 2008 11:01 AM

  • How to install bar code printer.

    Dear All,
    A issue in my company that i have to install BAR code printer.But i dont have any idea how to install BAR code in sap..AS i m the BASIS guy this is the first time i m facing this issue...plz tell me how to resolve this...
    Regard's

    Hi,
    yes, same way as you doing for other printer in SPAD
    just select your device from device type in Device attribute
    then select your appropriate host spool access method and host printer.
    SE73 is use for font maintenance which are use in SAP script .
    also check following forum to define printer
    SAP prints from Suse Linux OS
    regards,
    kaushal
    Edited by: Kaushal Malavia on Jun 20, 2008 6:24 PM

  • Print Bar code

    Hi All,
    I am trying to print BarCode from SAP Script, but failed. I have tried it with SE73 and it printing successfully. But font which i created in SAP script with same barcode name as i am using in SE73. Kindly help me out how can i print bar code thru SAP script.
    Regards,
    Syed Tayab shah

    Hi,
    Go to SE73 and Create a character format C1.Give barcode to the character format.
    Use this character format against the value which you have to print as barcode.Use same font that you created in Se73.
    Thanks,
    Kasiraman R

  • How we can use Bar codes in Sap-script?

    Hi,.
    Can any body please tell me how  we can use <b>Bar codes in Sap-script</b>?
    Please tell me the steps .
    Regards,
    Prabhudutta

    Hi,
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/de/ee0769ebd211d18e370000e83dd9fc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94fc51ea11d189570000e829fbbd/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/68/4a0d5b74110d44b1b88d9b6aa1315b/content.htm
    Regards,
    Sonika

  • How to add bar code in report(se38 develop)

    hi all,
    as a existing abap report which print out the report with a lot of special logic, so i want  Use abap report program to print bar code instead of smartforms . how to process?
    thanks.
    james

    Hi Kumar,
    You cannot write custom code (0% coding) in an Report Writer/Painter report. The code is generated by SAP while generating the Report group. The only place in a report writer report where you can write very minimal code is at varables level or formulas inside reports.
    At the report group header level, there is provision to provide authorization group. Try that.
    Regards,
    Subin John.
    Edited by: subin john on Mar 24, 2011 10:36 AM

  • How to create Bar code

    Hi,
    How to create Bar code?
        Explain the steps.

    Hi,
    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.
    The next part of the equation can be a bit tricky as you will need to get a printer to print that barcode font. Regular laser printers does not normally print barcode fonts, only specialized industrial printers that is specifically designed to support that protocol and that uses specialized label media and heat transfer (resin) ribbon to create the sharp image required for barcodes.
    Not to fear though, there are two ways to get around this:
    - You can have your IT department do some research -
    most laser printers can accept a font cartridge/dimm chip (similar to computer memory), called a BarDIMM that will allow a laser printer to support the printing of barcodes.
    - Secondly, you can buy software that you can upload in your SAP print Server that will convert the barcode symbology as an image that will print on a regular laser printer. I found that this option results in less sharper barcodes. This option is really if you need to convert a large quantity of printers (>10) to support barcodes.
    - Thirdly, you can buy a third party software like Barcode.dll and install on your frontend PC connected to the laser printer.
    Now you have a barcode printed - what next?
    Well there are two options, depending on your business requirements:
    - You can use an existing SAP transaction on a regular workstation and get a barcode wedge reader to hook up between the keyboard and the PC. These wedge readers comes in a wand or scanner format. There are even wireless wedge scanners available that allows you to roam a few yards from the workstation to scan a label. This approach is mostly used where you want to prevent human errors in typing in long material, batch or serial numbers in receiving or issuing of material. The problem is that it's just replacing the keyboard input and you are basically locked down in one location and have to bring all the material to that location to process.
    - Another solution is to use SAPConsole transactions
    or write your own ABAP Dialog programs that will fit onto a barcode enabled wireless handheld terminal and that will follow the business logic as executed on the shop floor.
    These programs are highly complex exercises in industrial engineering and ergonomics because of the limited screen sizes and limited ability to accept keyboard input. The user is instructed step-by-step and only scan and push F-keys to interact with the SAP system. Scan, scan, beep, beep, enter - highly automated.
    <b>To Create a Bar code Prefix</b>
    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
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Regards,
    Padmam.

Maybe you are looking for