Printing Barcode using DI API

Hello Gurus,
I want to create an Addon which can print a barcode using UI and DI API.  Can this be possible?  I will not use the Print Layout design.  Please help..

Hi Gilbert,
You can send the XML through a middleware application like Loftware to most printer types.  More info avail. at www.loftware.com or e-mail me [email protected]
Thanks,
Joel

Similar Messages

  • How to print Barcode using SAPscript?

    hello, everyone.
    I have some questions.
    now, I have to print some doc. that described by barcode in sapscript form.
    so, try to test in t-code so10
    input value SAPSCRIP-BARCODETEST, ST, EN.
    and click 'print-preview'
    result is correctly output in pint privew.
    but when I print dis priviewed doc. disappeared barcode image.
    is this O.K??
    I have to do something?? (Add DLL file, barcode font or etc....)
    I don't know how to print barcode using SAPScript. anybody solve this problem.please.
    p.s this system is SAP ECC 6.0 only ABAP.
    printer setting is front-end print.

    hello, everyone.
    I have some questions.
    now, I have to print some doc. that described by barcode in sapscript form.
    so, try to test in t-code so10
    input value SAPSCRIP-BARCODETEST, ST, EN.
    and click 'print-preview'
    result is correctly output in pint privew.
    but when I print dis priviewed doc. disappeared barcode image.
    is this O.K??
    I have to do something?? (Add DLL file, barcode font or etc....)
    I don't know how to print barcode using SAPScript. anybody solve this problem.please.
    p.s this system is SAP ECC 6.0 only ABAP.
    printer setting is front-end print.

  • 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

  • Printing Barcodes using ABAP

    Hi Abapers,
       I Want to Print Barcode using ABAP Write statement. Is it Possible?
       Please suggest me.
    Thanks,
    Kishore

    Printing Barcodes with ABAP or SAPSCRIPT
    hope u will get some idea.
    We are now ready to print barcodes using an ABAP report program or a SAPSCRIPT form. In these examples we are using Code 39 barcodes which require very little formatting (all we have to do is add asterisks before and after the data).
    Sample ABAP Program:
    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:/

  • Print HTML using JPS API.. How to configure printer MIME-TYPE as text/html

    Hi All,
    I have to print the HTML pages.. for this i have used JPS API , but i found that my printer doesnt supoort Mime-type(Flavour) text/html.
    Can someone help me in this ...
    i) Can i configure my printer for this Mime-type , if yes then HOW?
    ii) Is there any work around ?
    Thank you all in advance :)

    I reposted this question in the Database forum. Admin can feel free to delete this thread.
    The answer is to add this at the top: htp.addDefaultHTMLHdr(false);
    Thanks,
    T.
    Edited by: 855677 on May 3, 2011 9:35 AM

  • Printing barcode using oracle graphics

    Hello Folks,
    I am trying to create bar codes using reports & graphics. The
    report documentation (chapter 06) does have guidance but which
    is not clear on the graphics side.
    Is some one can elaborate little more on this?
    Regards.
    null

    Spencer is correct...
    but, watch out for the DEVICE you are reading the
    bar code with...the wand, bar gun...etc.
    what we had to do ( my team )
    was to put and "*" before the bar code
    and a "*" after the bar code for our gun to read
    the code...then is worked...
    patrick
    from the 3of8.ttf
    go to the control panel
    find FONTS and click on it
    once the program displays all your FONTS
    click on the menu FILE and then click on
    INSTALL. this will ask you where the 3of9.tff is located
    ..find the location,
    then install.
    in your oracle report,
    click on the FONT to install 3of9...blah..blah
    good luck
    Spencer Tabbert (guest) wrote:
    : Its really quite simple to print barcodes. Essentially a
    : barcode is no more then a different font which needs to be
    : installed on your pc. Dev 6.0 does ship a sample barcode font
    : which you can install if you would like. Do a search for the
    : font named 3of9.ttf then copy this file into your fonts folder
    : which is located in your control panel. When wanting to print
    : the barcode out just change the font type for a particular item
    : on your report to the barcode font.
    : Spencer Tabbert
    : mjs (guest) wrote:
    : : Hello Folks,
    : : I am trying to create bar codes using reports & graphics.
    The
    : : report documentation (chapter 06) does have guidance but
    which
    : : is not clear on the graphics side.
    : : Is some one can elaborate little more on this?
    : : Regards.
    null

  • How to print BARCODE in DATAMAX Printer using SAP Script?

    Hi,
    Can anybody guide me how to print BARCODE using DATAMAX Printer?
    I need to develop a SAP Script, through which i need to print the BARCODE.
    Pls. let me know the parameters for Script and how to print using print program.....
    Regards,
    Hemant

    make one form in sapscript with one main window: like this
    /E           ETIKETT
    /*           Format = '57x19', Printer = 'Bradyprinter Model 1344'
    /           ~f350
    /           ~n
    /           ~M0500
    /           ~O0220
    /           ~SG
    /           ~s
    /           ~c0000
    /           ~e
    /           ^D
    /           ~L
    /           D11
    /           H20
    /           PC
    /           pC
    /           SC
    /           A2
    /           1911A1200400005&knmt-kdmat&
    /           1911A0800300005&knmt-postx&
    /           1911A0800100005VS-Nr   :         &KNMT-MATNR&
    /           1911A0800000005Datum   :         &date&
    /           Q0001
    /           E
    in this script   &mseg-matnr&    and    &mseg-charg&    are 2D Barcodes
    /E           ETIKETT
    /*           Format = '57x19', Printer = 'Bradyprinter Model 1344'
    /           ~f350
    /           ~n
    /           ~M0500
    /           ~O0220
    /           ~SG
    /           ~s
    /           ~c0000
    /           ~e
    /           ^D
    /           ~L
    /           D11
    /           H20
    /           PC
    /           pC
    /           SC
    /           A2
    /           1Wc99000001400082000012012&mseg-matnr&
    /           ySPM
    /           1911A1000380055&mseg-matnr&
    /           1Wc99000001501702000012012&mseg-charg&
    /           1911A0800260055&mkpf-budat&
    /           1911A0800140055&mseg-mblnr&
    /           1911A0600020008&makt-maktx&
    /           Q0001
    /           E
    then you need your own printprogram and everything is fine. with open_form ;  start_form ; write_form;  end_form
    you can communicate direct with the Datamax Programming Language  from SAPScript to the Barcode printer.
    i also have the datamax programmers manual as pdf if you want i could send it to you. let me know by PM.
    also have look into HW 490295  the bartender Solution works fine for me to create the SO10 text's
    greetz
    tony
    Edited by: Tony Wienhold on Jul 17, 2009 4:37 PM

  • Printing barcodes on 10g server running on Solaris OS

    Hi,
    We are using Reports 10g (10.1.2) on Solaris Operating System (SPARC 32-bit).
    We wanted to print barcodes using Java bean method. It prints fine in windows, but giving below error when run on web using rwservlet. Actually we are using virtual display using xvfb.
    My question is: Do we need to have physical display by setting up another machine like in 6i ?
    Can we achieve the rendering of barcode image using virtual display ?
    What are the setup steps needs to be followed if rendering is possible with out using physical display ??
    Thanks somuch!!!
    The ERROR is:
    REP-108: MSG-00100: < No Exception Message >
    MSG-00100:
    java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
    MSG-00100: java.awt.Window.<init>(Window.java:274)
    MSG-00100: java.awt.Frame.<init>(Frame.java:401)
    MSG-00100: java.awt.Frame.<init>(Frame.java:366)
    MSG-00100: oracle.apps.barcode.BarCodeMaker.renderBarCode(BarCodeMaker.java:84)
    MSG-00100: oracle.reports.engine.EngineImpl.CRunReport(Native Method)
    MSG-00100: oracle.reports.engine.EngineImpl.run(EngineImpl.java:437)
    MSG-00100:
    oracle.reports.engine._EngineClassImplBase._invoke(_EngineClassImplBase.java:90)
    MSG-00100:
    com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    MSG-00100: com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    MSG-00100:
    com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81
    MSG-00100:
    com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:10
    6)
    REP-0108: File '/tmp/srw002114024' not found.

    Thanks Sooooomuch!!!!!!
    we are running Xvfb located at /usr/openwin/bin/
    In particular, we are starting the Xvfb server with the following command:
    nohup Xvfb :1 -screen 0 1600x1200x32 &
    We are then setting the DISPLAY on the command line and in the reports.sh
    script using: DISPLAY=10.25.3.123:0.0; export DISPLAY
    We verify that it recognizes the display using "xset -q"
    In reports.sh file We entered below line:
    ## REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAY
    DISPLAY=10.25.3.123:0.0; export DISPLAY
    But still we are getting java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
    MSG-00100: java.awt.Window.<init>(Window.java:274) Errors.
    Is there anything wrong in the above setup ?
    Please advice.
    Thanks Soomuch,
    Ram.

  • Sapscript print barcode problem.

    hi everyone . i have troble about printing barcode using sapscript.
    now i have program sapscript program name is "ZRABARC01"
    and this program call sapscript = "ZAA_BARCODE"  (you will see  code at below of this message)
    this program work well.
    i want to create new programm "ZRABARC01_TEST"
    (i use se38 for copy program from ZRABARC01)
    and this new program will call sapscipt "ZAA_BARCODE_TEST"
    (i use se71 to copy from ZAA_BARCODE) 
    sapscript is active
    the problem is when i execute program ZRABARC01_TEST to call sapscript ZAA_BARCODE_TEST
    it's will show button print barcode
    after press button . it's will show print preview button.
    when i press print preview button .
    it's show error like this.
    error message
    There is no valid form
    Message no. AB 061
    Diagnosis
    During the printing of barcodes,
    the system could not find a valid form. Either no form was selected,
    or the form selected is not active.
    System Response
    The print procedure terminates.
    Procedure
    Use a valid form. You can either use the sample supplied by SAP,
    or modify it to your requirements. You maintain forms using the "form painter" (SE71) transaction.
    and after that i press print button again.
    there is error
    ABAP runtime errors    LOOP_WITHIN_LOOP
    what should i do to use program ZRABARC01_test call sapscript ZAA_BARCODE_test
    and i wonder why when i use program ZRABARC01_test and call sapscript
    ZAA_BARCODE  it's show same error.
    please help me.
    program code
    pa_form = 'ZAA_BARCODE'
    LOOP.
        AT FIRST.
         Formular ๖ffnen
          CALL FUNCTION 'FIAA_BARCODE_OPEN'
               EXPORTING
                    i_form = pa_form.
        ENDAT.
      Zurckholen der Struktur ANLAV.
        anlav = anlav_str.
    Insert 03/11/2004 OaK
        WRITE anlav-anln1 TO t-anln1 NO-ZERO.
        l1 = strlen( t-anln1 ).
        CASE l1.
          WHEN '1'.
            CONCATENATE '000000000000' t-anln1 INTO t-anln1.
          WHEN '2'.
            CONCATENATE '00000000000'  t-anln1 INTO t-anln1.
          WHEN '3'.
            CONCATENATE '0000000000'   t-anln1 INTO t-anln1.
          WHEN '4'.
            CONCATENATE '000000000'    t-anln1 INTO t-anln1.
          WHEN '5'.
            CONCATENATE '00000000'     t-anln1 INTO t-anln1.
          WHEN '6'.
            CONCATENATE '0000000'      t-anln1 INTO t-anln1.
          WHEN '7'.
            CONCATENATE '000000'       t-anln1 INTO t-anln1.
          WHEN '8'.
            CONCATENATE '00000'        t-anln1 INTO t-anln1.
          WHEN '9'.
            CONCATENATE '0000'         t-anln1 INTO t-anln1.
          WHEN '10'.
            CONCATENATE '000'          t-anln1 INTO t-anln1.
          WHEN '11'.
            CONCATENATE '00'           t-anln1 INTO t-anln1.
          WHEN '12'.
            CONCATENATE '0'            t-anln1 INTO t-anln1.
        ENDCASE.
    *End of insert 03/11/2004 OaK
    *Insert for Barcode printing 26/01/04
       UNPACK anlav-anln1 TO t-anln1.
        IF anlav-anln1+0(2) = '00'.
          MOVE anlav-anln21(3) TO t-anln10(3).
        ENDIF.
        APPEND t.
    *End of insert.
        CALL FUNCTION 'Z_AA_BARCODE_PRINT'
             EXPORTING
                  i_anlav = anlav
                  i_form  = pa_form
             TABLES
                  i_t     = t.
        CALL FUNCTION 'END_FORM'.
        CALL FUNCTION 'START_FORM'
             EXPORTING
                  form   = pa_form
             EXCEPTIONS
                  OTHERS = 8.
        AT LAST .
         Formular schliessen
          CALL FUNCTION 'FIAA_BARCODE_CLOSE'
               EXPORTING
                    i_form = pa_form.
        ENDAT.
      ENDLOOP.
    ENDFORM.
    Edited by: dittaporn nanasilp on Nov 17, 2009 11:55 AM

    hi,
    I am unable to read your post, check it once.
    rgds

  • Barcode using sapscript

    Hi,
    I am able to print barcode using laser printer. Does it mean that the RF gun will be able to read it?

    Hi Pankaj,
    Barcode is a special type of marking to identify the item and its price.
    and this is a special marking which is basically used to read the Barcode Reader only.
    We cannot or any other item will not be able to read the barcode. Only Barcode reader can only read.
    Thanks,
    Chidanand

  • Printing barcode EAN 128

    Hello.
    I need print barcode using EAN128. I saw that for EAN128 exist barcode BC_EANH. When I use it on print preview I have barcode but when I print it I got number but not barcode (laser printer, pdf printer)
    Should I print that barcode on barcode printer? or I should use another barcode
    Thanks in advance,
    Edward

    Hello,
    Perhaps this webservice is useful for you; http://www.gs1-label.com
    You can use the public account to try the O2L WEBservices demo:
    e-mail address; anonymous(at)t2s.nl - password; o2lweb
    The label generated in PDF, easy to print on a 'normal' printer, is certified by GS1.
    Please note that this is an example, the webservice supports other barcode symbologies as well and labels can also be generated as ZPL (Zebra label printer).
    O2L WEBservices exposes its technology by through web standards (SOA). Implementing the services is therefore easy and quick. A hands-on example of O2L WEBservices working in combination with SAP NetWeaver Visual Composer is available.
    Best regards,
    Judith de Witte

  • Printing barcode from ABAP program

    Hi,
    Is it possible to print barcode (using zebra barcode printing) from ABAP program directly without using Smart Form, SAP Script or Adobe PDF Form.
    I have the barcode instructions, I just want to output it to the barcode printer directly.
    Sample instructions to be output to barcode printer:
    FT128,288XG005.GRF,1,1^FS
    FT96,128XG000.GRF,1,1^FS
    FT64,192XG001.GRF,1,1^FS
    FT0,288XG002.GRF,1,1^FS
    FT0,224XG003.GRF,1,1^FS
    FT128,256XG004.GRF,1,1^FS
    FO16,180GB496,0,5^FS
    FO52,37GB450,66,4^FS
    BY4,3,40FT86,320^BCN,,Y,N
    FD>;123456>67FS
    PQ1,0,1,YXZ
    XAID000.GRFFSXZ
    Thanks in advance.

    Hello,
    Yes we can do it..
    Go through this link you will some idea
    http://sapprograms.blogspot.com/2008/11/barcode-printing.html
    http://www.sap-img.com/abap/details-information-about-sap-barcodes.htm

  • Printing BarCodes - Different barcodes SAPWIN HPLJ5

    Hallo Gurus,
    I'm printing barcodes using new barcode technology.
    How is it possible that using two differente device types (SAPWIN / HPLJ5) I got a different result?
    i.e.:
    barcodes printed using device type HPLJ5 are scanned without problem.
    barcodes printed using device type SAPWIN cannot be scanned.
    (of course the number printed is the same...)
    Thank you very much!

    I have the same problem.
    Did you solve it'
    Thanks

  • Print barcode in matrix printer (IBM6500) by smartforms

    People,
                  somebody already try to print barcode using smartforms in matrix printer ??
    Regards  Suzuki
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 13, 2010 1:23 PM

    Hi,
    Does the alignment look correct in te print preview? There are some problems with dot matrix printers due to limitations of the ESC/P printer lamguage.(see SAP note #19807)
    Try printing via windows and a windows device type like SAPWIN or SWINCF. The result should be better.
    Regards,
    Aidan

  • Print Prog-Auto Print Barcode Label for Goods Receipt(MIGO) using Smartform

    Hi Guru's
    I have created a smartform that prints barcodes on a label.
    My tests print successfully to the Printronix thermal label printer.
    Is there perhaps a SAP Standard print program that i can use in my output type that will call my smartform upon goods receipt(MIGO)?
    please bear in mind that i am looking for a print program that calls a SMARTFORM. not a sapscript.
    /SMB40/M07DR does not exist on my system. and I am going to use output type WEE1 - for LABEL Printing
    Awaiting your feedback.
    Thanks in advance geniuses!

    Good luck dude,
    In that same program I noticed We01 that will print a smartform GR. I think if you use form entry_we01 in your output control you should do well.

Maybe you are looking for