How to print labels on zebra printer LP2844

Hi,
can anybody help me regarding how to print labels on zebra printer LP2844.
Thanks

Thanks for reply
I had gone thru the manuals but how to send the Escape sequence to the printer from a java program?
Any sample code for that in java will be very helpful.
Thanks.

Similar Messages

  • Printing sapscript label using zebra printer

    Hi,
    Can anybody please help me regarding "printing sapscript label using zebra printer"?
    i hav set the following print default settings in the transaction mb90:
    output device :
    NO01
    device type: YZZX_ZEB
    but when i try to print ,i am getting error message stating that "the respective sapscript form is not active ".
    i hav also attached my print program for ur easy reference.
    ====================================================================*
    FORM open_form_slv.
    *'  Description:
    *'  Add information for the SAP spooler
    *'  Change the name of the standard customized form for Zebra print
    *'  Last Change Vers Programmer   Reason
    *1
      DATA: BEGIN OF print_infos.
              INCLUDE STRUCTURE itcpo.
      DATA: END OF print_infos.
      DATA: form_name(16) TYPE c, char1(1) TYPE c, ind_beg TYPE i.
      PERFORM itcpo_fuellen.
      MOVE-CORRESPONDING itcpo TO print_infos.
      WRITE sy-datum USING EDIT MASK '__.__.____'
                                               TO print_infos-tdcovtitle+1.
      WRITE sy-uzeit USING EDIT MASK '__:__:__'
                                              TO print_infos-tdcovtitle+12.
      CONCATENATE itcpo-tddest sy-uname ' PO'(001) ekpo-ebeln ' Doc.No'(002)
                                           mseg-mblnr print_infos-tdcovtitle
                              INTO print_infos-tdcovtitle SEPARATED BY space.
    form name from the table YZZM_GR_LABEL
      IF NOT g_fonam IS INITIAL.
        tnapr-fonam = g_fonam.
      ENDIF.
    if the used printer is a Zebra label printer, then the customized
    layout set name ???_???_XXX will be changed to ???_???_ZP
      SELECT SINGLE * FROM  tsp03d WHERE  padest  = nast-ldest.
      IF tsp03d-patype = 'YZZX_ZEB'.
        ind_beg := 15.
        WHILE ind_beg > -1.
          char1 := tnapr-fonam+ind_beg.     " substr(tnapr-fonam,ind_beg,1)
          IF char1 = '_'.
            form_name := tnapr-fonam(ind_beg).
            CONCATENATE form_name '_ZP' INTO tnapr-fonam.
            EXIT.
          ENDIF.
          ind_beg := ind_beg - 1.
        ENDWHILE.
      ENDIF.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          language = language
          OPTIONS  = print_infos
          form     = tnapr-fonam
          dialog   = ' '.
      x_open := x.
      IF mseg-weanz = 0. mseg-weanz = 1. ENDIF.
      IF syst-tcode <> 'MB90'  AND  NOT g_flag_popup IS INITIAL.
    check for requirement of printing label and ask for gr-quantities (popup)
        SELECT SINGLE * FROM yzzm_gr_quantity WHERE ebeln = mseg-ebeln.
        CLEAR yzzm_gr_quantity-no_popup.
      ELSE.
    and ask not for gr-quantities
        IF syst-tcode = 'MB90'.
          yzzm_gr_quantity-erfmg := mseg-menge.
        ELSE.
          yzzm_gr_quantity-erfmg := mseg-menge / mseg-weanz.
        ENDIF.
        yzzm_gr_quantity-no_popup := x.
      ENDIF.
    determination inspection lot number
      CLEAR qals-prueflos.
      SELECT SINGLE * FROM qals WHERE mblnr = mseg-mblnr
                           AND zeile = mseg-zeile
                           AND mjahr = mseg-mjahr.
    determination vendor batch
      CLEAR mch1-licha.
      SELECT SINGLE * FROM mch1 INTO mch1 WHERE matnr = mseg-matnr
                                            AND charg = mseg-charg.
    ENDFORM.                    "open_form_label
    =================================================================== *
    FORM we01_print_slv.
    *'  Description:
    *'  print out of hazardous symbol
    *'  controls the Zebra printer
    *'  Last Change Vers Programmer   Reason
    *****26.09.2007 Starts
      DATA: l_objky TYPE nast-objky,"Object key
            l_vstat TYPE nast-vstat. "Processing status of message
    *****26.09.2007 Starts
      TABLES: mgef, t300.
      FIELD-SYMBOLS: .
      DATA: aux_index LIKE sy-index.
      DATA: count_haz_sym, position TYPE n, zw TYPE p DECIMALS 1.
      DATA: aux_value(5) TYPE c.
      DATA: txt(10) TYPE c, pos(5) TYPE c.
      t001w-werks = r_werks.
      t001w-name1 = r_name1.
      PERFORM read_address.
    *2
      SELECT SINGLE * FROM ekpo WHERE ebeln = mseg-ebeln
                                  AND ebelp = mseg-ebelp.
      CLEAR mara-stoff.
      SELECT SINGLE stoff INTO mara-stoff FROM mara WHERE matnr = mseg-matnr.
      IF NOT mara-stoff IS INITIAL.
        CLEAR t300.
        SELECT SINGLE * FROM t300 WHERE lgnum = mseg-lgnum.
        IF NOT sy-subrc IS INITIAL.
      for plants without warehouses try to use the country code
          CASE mseg-werks.
            WHEN 'BUP'.
              t300-regkz := 'US '.
          ENDCASE.
        ENDIF.
        CLEAR mgef.
        SELECT SINGLE * FROM mgef WHERE stoff = mara-stoff
                                  AND   regkz = t300-regkz.
      ENDIF.
    in case of more then one label, use for each a new output window
    (not only for the first)
      IF g_count > 1.
        CALL FUNCTION 'CONTROL_FORM'
          EXPORTING
            command = 'NEW-WINDOW'.
      ENDIF.
    Ausgabe Gefahrstoffsysmbole        Neustadt,  V.Hilgert  14.07.98
    *For output type YNL7, the hazardous warning symbol has to be printed at  the bottom of the label.So label is called before that.
      IF tnapr-kschl = 'YNL7'.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            element = 'LABEL'.
      ENDIF.
      count_haz_sym = 0. position = 0.
      WHILE count_haz_sym  = 'XN'.
    For output type YNL7, the width of the standard text is small.
          IF tnapr-kschl = 'YNL7'.
            zw = position * '0.2' + '0.1'. pos = zw.
          ELSE.
            zw = position * '1.3' + '0.1'. pos = zw.
          ENDIF.
          IF tsp03d-patype = 'YZZX_ZEB'. " device type for ZEBRA label priter
            aux_value := count_haz_sym.
          ELSE.
            aux_value := pos.              " HP/Kyocera or other laser printer
          ENDIF.
          CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
            EXPORTING
              name   = '&XPOS&'
              value  = aux_value
            EXCEPTIONS
              OTHERS = 1.
          CALL FUNCTION 'WRITE_FORM'
            EXPORTING
              element   =
              window    = 'MAIN'
            EXCEPTIONS
              element   = 1
              function  = 2
              type      = 3
              unopened  = 4
              unstarted = 5
              window    = 6
              OTHERS    = 7.
          IF sy-subrc = 0.
    *Varying the position for YNL7
            IF tnapr-kschl = 'YNL7'.
              position = position + 2.
            ELSE.
              position = position + 1.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDWHILE.
      IF NOT mseg-vfdat IS INITIAL.
        am07m-mhtxt = text-105.
      ENDIF.
      IF NOT am07m-mhdat IS INITIAL.
        am07m-mhztx = text-106.
      ENDIF.
      IF ekko-bsart = 'UB'.
        am07m-litxt = text-101.
        am07m-libzg = ekko-reswk.
      ELSE.
        am07m-litxt = text-100.
        am07m-libzg = ekko-lifnr.
      ENDIF.
      belpos-mblnr = mkpf-mblnr.
      belpos-zeile = mseg-zeile.
      CONDENSE belpos NO-GAPS.
      am07m-belpos = belpos.
      IF t156-shkzg = h.
        am07m-hdlne = text-020.
      ELSE.
        am07m-hdlne = text-010.
      ENDIF.
    Ausgabe der Etiketten mit den ind. Mengen
      IF NOT g_flag_popup IS INITIAL.
        SELECT SINGLE * FROM yzzm_gr_quantity WHERE ebeln = mseg-ebeln
                                              AND   weanz = g_count.
      ELSE.
    * print the number of labels is handeled by the Zebra printer
    IF tsp03d-patype = 'YZZX_ZEB'. " device type for Zebra label prts
    g_lbls_tot := mseg-weanz - g_count + 1.
    g_break_print := x.
    ENDIF.
    ENDIF.
    mseg-erfmg := yzzm_gr_quantity-erfmg.*
    ********26.09.2007 Starts
    CONCATENATE mseg-mblnr mseg-mjahr mseg-zeile INTO l_objky.
    SELECT SINGLE vstat INTO l_vstat FROM nast WHERE kappl = 'ME' AND
    objky = l_objky AND
    kschl = 'YNL7'.
    ********26.09.2007 Ends
    CALL FUNCTION 'TEXT_SYMBOL_SETVALUE'
    EXPORTING
    name = '&nummer&'
    value = g_count.
    IF tnapr-kschl <> 'YNL7'.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    element = 'LABEL'.
    else.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'BAR_CODE'
    EXCEPTIONS
    ELEMENT = 1
    FUNCTION = 2
    TYPE = 3
    UNOPENED = 4
    UNSTARTED = 5
    WINDOW = 6
    BAD_PAGEFORMAT_FOR_PRINT = 7
    SPOOL_ERROR = 8
    CODEPAGE = 9
    OTHERS = 10.
    IF sy-subrc <> 0. MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
         ENDIF.
      ENDIF.
    ENDFORM.                    "GR_label_print
    *&      Form  lesen
          text
         -->OBJKY      text
    FORM lesen USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      IF NOT mseg-evers IS INITIAL.         "Versandvorschriften lesen.
        PERFORM t027_lesen.
      ENDIF.
      PERFORM bestellung_lesen.
      IF NOT ekpo-knttp IS INITIAL AND NOT
             ekpo-weunb IS INITIAL.
        PERFORM kontierung_lesen.           "für multikontierte Bestellungen
      ENDIF.
      IF NOT mseg-ematn IS INITIAL.
        PERFORM lesen_htn.
      ELSE.                                                     "111277/PH
        CLEAR am07m-mfrpn.                                      "111277/PH
      ENDIF.
      IF mseg-matnr IS INITIAL.
        mseg-menge = mseg-bpmng.
        mseg-meins = mseg-bprme.
        PERFORM bestelltext_lesen.
        CLEAR mabdr.
      ELSE.
        PERFORM material_lesen.
      ENDIF.
      PERFORM tab024_lesen.
      PERFORM t064b_lesen.
      PERFORM ladr_lesen.
    ENDFORM.                    "lesen
    Lesen für WE-Schein Fert.Auftrag -
    FORM lesen_wf USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      PERFORM auftrag_lesen.
      IF NOT mseg-matnr IS INITIAL.
        PERFORM material_lesen.
      ELSE.
        mseg-menge = mseg-erfmg.
        mseg-meins = mseg-erfme.
      ENDIF.
      PERFORM tab024d_lesen.
      PERFORM t064b_lesen.
      PERFORM ladr_lesen.
    ENDFORM.                    "lesen_wf
    Lesen für Warenausgang -
    FORM lesen_wa USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      IF NOT mseg-matnr IS INITIAL.
        PERFORM material_lesen.
      ENDIF.
      PERFORM ladr_lesen.
    ENDFORM.                    "lesen_wa
    Druck Vorbereiten -
    FORM open_form.
      PERFORM itcpo_fuellen.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          language = language
          OPTIONS  = itcpo
          dialog   = ' '.
      PERFORM lesen_t159p.
      x_open = x.
    ENDFORM.                    "open_form
    Druck Vorbereiten Sammelscheine -
    FORM open_form_sammel.
      PERFORM lesen_t159p.
      PERFORM itcpo_fuellen.
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          language = language
          OPTIONS  = itcpo
          form     = tnapr-fonam
          dialog   = ' '.
      x_open = x.
    ENDFORM.                    "open_form_sammel
    Druck schließen -
    FORM close_form.
      CHECK NOT x_open IS INITIAL.
      CALL FUNCTION 'CLOSE_FORM'.
      CLEAR x_open.
    ENDFORM.                    "close_form
    Hilfsfelder versorgen für Sammelscheindruck -
    FORM helpdata1.
       *mkpf = mkpf.
       *mseg-lgort = mseg-lgort.
       *ladr = ladr.
      save_mkpf = *mkpf-usnam.
      save_mblnr = *mkpf-mblnr.
      save_budat = *mkpf-budat.
      save_cpudt = *mkpf-cpudt.
      save_ematn = *mseg-ematn.
      save_lgort = *mseg-lgort.
      save_ladr = *ladr.
       *t001w = t001w.
      save_werks = *t001w-werks.
      save_name1 = *t001w-name1.
       *ekko = ekko.
       *am07m = am07m.
      save_lifnr = *ekko-lifnr.
      save_ebeln = *ekko-ebeln.
      save_ekgrp = *ekko-ekgrp.
      save_linam = *am07m-name1.
      save_lina2 = *am07m-name2.
       *t024 = t024.
      save_eknam = *t024-eknam.
      save_ektel = *t024-ektel.
       *mkpf-usnam = old_mkpf.
       *mkpf-mblnr = old_mblnr.
       *mkpf-cpudt = old_cpudt.
       *mkpf-budat = old_budat.
       *mseg-ematn = old_ematn.
       *mseg-lgort = old_lgort.
       *ladr = old_ladr.
       *t001w-werks = old_werks.
       *t001w-name1 = old_name1.
       *t024-eknam = old_eknam.
       *t024-ektel = old_ektel.
       *ekko-lifnr = old_lifnr.
       *ekko-ebeln = old_ebeln.
       *ekko-ekgrp = old_ekgrp.
       *am07m-name1 = old_linam.
       *am07m-name2 = old_lina2.
      save_lfa1  = lfa1.
      IF NOT old_lfa1 IS INITIAL.
        lfa1  = old_lfa1.
      ENDIF.
    ENDFORM.                                                    "helpdata1
    --- Versorgung der Hilfsfelder vor CLOSE_FORM bei Sammelscheindruck --
    FORM helpdata2.
      old_lfa1 = save_lfa1.
      lfa1     = save_lfa1.
      old_mkpf = save_mkpf.
      old_lgort = save_lgort.
      old_ladr = save_ladr.
      old_budat = save_budat.
      old_cpudt = save_cpudt.
      old_werks = save_werks.
      old_name1 = save_name1.
      old_mblnr = save_mblnr.
      old_lifnr = save_lifnr.
      old_linam = save_linam.
      old_lina2 = save_lina2.
      old_ebeln = save_ebeln.
      old_ekgrp = save_ekgrp.
      old_eknam = save_eknam.
      old_ektel = save_ektel.
      old_ematn = save_ematn.
       *mkpf-usnam = save_mkpf.
       *mkpf-mblnr = save_mblnr.
       *mkpf-budat = save_budat.
       *mkpf-cpudt = save_cpudt.
       *mseg-ematn = save_ematn.
       *mseg-lgort = save_lgort.
       *ladr = save_ladr.
       *t001w-werks = save_werks.
       *t001w-name1 = save_name1.
       *t024-eknam  = save_eknam.
       *t024-ektel  = save_ektel.
       *ekko-lifnr  = save_lifnr.
       *ekko-ebeln  = save_ebeln.
       *ekko-ekgrp  = save_ekgrp.
       *am07m-name1 = save_linam.
       *am07m-name2 = save_lina2.
    ENDFORM.                                                    "helpdata2
    Form Lesen Warenausgang Lohnbearbeiter -
    FORM lesen_wlb USING objky.
      nast_key = objky.
      CLEAR retco.
      SELECT SINGLE * FROM mkpf WHERE mblnr = nast_key-mblnr
                                AND   mjahr = nast_key-mjahr.
      SELECT SINGLE * FROM mseg WHERE mblnr = mkpf-mblnr
                                AND   zeile = nast_key-zeile
                                AND   mjahr = mkpf-mjahr.
      IF sy-subrc NE 0.
        retco = sy-subrc.
        EXIT.
      ENDIF.
      PERFORM tab156_lesen.
      xskkz = t156-rstyp.
      PERFORM tab001w_lesen.
      IF NOT mseg-matnr IS INITIAL.
        PERFORM material_lesen.
      ENDIF.
      ON CHANGE OF mseg-lifnr.
        PERFORM read_address.
      ENDON.
    ENDFORM.                    "lesen_wlb
    *eject
    Fuellen der ITCPO -
    FORM itcpo_fuellen.
      IF xscreen NE space.
    *- Testausgabe auf Bildschirm -
        itcpo-tdpreview = 'X'.
        itcpo-tdnoprint = 'X'.
      ELSE.
        CLEAR: itcpo-tdpreview,
               itcpo-tdnoprint.
      ENDIF.
      MOVE-CORRESPONDING nast TO itcpo.
      itcpo-tdcover   = nast-tdocover.
      itcpo-tddest    = nast-ldest.
      itcpo-tddataset = nast-dsnam.
      itcpo-tdsuffix1 = nast-dsuf1.
      itcpo-tdsuffix2 = nast-dsuf2.
      itcpo-tdimmed   = nast-dimme.
      itcpo-tddelete  = nast-delet.
      itcpo-tdcopies  = nast-anzal.
      itcpo-tdprogram = sy-repid.
    ITCPO-TDTELELAND = US_COUNTRY.
      itcpo-tdsenddate = nast-vsdat.
      itcpo-tdsendtime = nast-vsura.
      itcpo-tdnewid   = x.
    ENDFORM.                    "itcpo_fuellen
    *eject.
    ------------ FORM lesen der Lagerortadr. ---------------------------*
    FORM ladr_lesen.
      DATA:    BEGIN OF addr_sel.
              INCLUDE STRUCTURE addr1_sel.
      DATA:    END OF addr_sel.
      CLEAR ladr.
      SELECT SINGLE * FROM twlad WHERE werks = mseg-werks
                           AND  lgort = mseg-lgort
                           AND  lfdnr = '001'.
      IF NOT twlad-adrnr IS INITIAL AND sy-subrc IS INITIAL.
        MOVE twlad-adrnr TO addr_sel-addrnumber.
      ENDIF.
      CALL FUNCTION 'ADDR_GET'
        EXPORTING
          address_selection = addr_sel
        IMPORTING
          sadr              = ladr
        EXCEPTIONS
          OTHERS            = 1.
    ENDFORM.                    "ladr_lesen
    **&      Form  REPRINT
          text
    *FORM reprint.
    TABLES : nase.
    DATA  : x TYPE string.
    IF nase-vermo = 2.
       x = 'REPRINT'.
    ENDIF.
    *ENDFORM.                    "REPRINT
    Kindly do the needful.
    Thanks in advance
    Regards
    Swarna

    Hi Swarna,
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    device = 'PRINTER'
    language = language
    OPTIONS = print_infos
    <b>form = tnapr-fonam</b>
    dialog = ' '.
    x_open := x.
    I thing its not a good way to pass the Form name to the Parameter.
    Try like,
    data : temp_form like tnapr-fonam.
    <b>form = temp_form</b>
    Thanks.

  • Command to move content left/right in Smartform label for zebra printer

    Issue : Command to move print content left/right in Smartform label for zebra printer.
    Requirement : If you changed the printer setting top position and left position, Print should start from a specific (X,Y) position.
    I am facing an issue while printing a smartfroms in different zebra printer.  We had tried all
    S_LZPL_SETUP_X  (Where X is LH/SPD/MD/PM/FT )
    But these command are not working in smartforms.
    We had used ZPL II printer command like u2018LH X,Yu2019  and u2018FT,X,Yu2019  in main window as well as in subsequent windows. But that also not working.
    Please advice.
    dinesh.

    Hi,
    If you follow notes #750002 and #750772 and use a smartforms and device type LZEB2, then the you cn just adjust the position of the text in the smartform. e.g. Use tab-stops, spaces or adjust the position of the window. There is no need to use ZPL2 commands directly.
    Regards,
    Aidan

  • Unable to print lables on Zebra printer

    Hi,
    We have designed a new lable using the zebra software: ZebraDesigner for mySAP Business Suite 2. This software generates a Zebra code and the same is copied in SAP script to pass the command to Zebra printer.
    The Zebra printer name is : Zebra Z4M Plus (300dpi).
    Font: ^B3 Code 39
    We are using SAP Script to print the output.
    Error: When we fire the print, the lables are printed "blank". What could be the possible areas where we need to check.
    Thanks & Regards
    Nayan Shah
    <removed by moderator>
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Jan 20, 2011 5:02 PM

    Hi,
    Did you follow the steps of SAP #179534? If your zebra printer supports ZPL2 printer language, this should use. You should use devcei type LB_ZEB to create the spool.
    Reards,
    Aidan

  • Problem in Chinese Label Printing with the Zebra Printer

    Hi Experts,
    I have a requiement in which I have to print the Chinese Label with the Zebra Printer. But it's not printing the same.
    I have created SAP-Script for it.
    It's seems that I am missing some prerequisites.
    If anybody have worked on such issue, can u help me in the following scenarios:
    1 What are the prerequisite to print Chinese label??
    2  What are the SAP server side requirements?
    3  What are Client side requirements??
    4  What are Printer Side requirements??
    5  Which font we need??
    6  Can we print with SAP script??
    I am using the Zebra  110XiIII Plus (200dpi) printer for this purpose.
    Please tell me all the above prerequisite.
    Thanks
    krishan

    Hi Krishan,
    I want to print latin and chinese characters on the Zebra printer. How did you solve? What device type do you use?
    I have created a standard text with SO10.
    Currently I use ASCIIPRI and all chinese characters are printed as #. The device type is obviosely wrong.
    I hope you can help me.
    Frank

  • Not printing...zebra printer

    Hi All
    I am using zebra printer TLP 2844, all the fonts are feeded in the printer.
    I am printing a simple text.. but its not printing anything.
    REPORT ZTEST2 .
    data: x-prin(4) value 'LOCL'.
    data:
      t1(80) value 'A100,100,0,d,1,1,N,"Material Number"'.
    do 1 times.
      new-page print on
          destination x-prin
          copies '1'
          immediately 'X'
          keep in spool 'X'
          no dialog.
      write: / 'O'.
      write: / 'Q1217,1'.
      write: / 'q811'.
      write: / 'S2'.
      write: / 'D6'.
      write: / 'ZB'.
      write: / 'JF'.
      write: / 'N'.
      write: / t1.
    enddo.
    any idea what can be the reason
    cheers
    AJ

    Hi Pavan
    As the SAP vesion is 4.6c...and they have no support package for printing using samrtforms.
    but other reports, which prints the labels in the warehouse are printing the barcode labels....
    and I am using the same printer........so definetly it should print.
    but I dont know what mistake I am doing........
    AJ

  • Printing issue in zebra printer

    I have the ITF generated from Bar-One software for a label in landscape. The itf has been uploaded to a standard text which is being called in sapscript.A zreport serves as a print program. The spool request gets generated but not able to get any output in the zebra printer. Nothing comes out of the printer - no output. My label contains fixed texts and variable texts - from an internal table.
    If i upload the itf for printing the frame alone in landscape, it gets printed. when the fixed texts are included in the itf, the label output itself is not coming.
    The zebra printer is completely configured in SPAD and able to print from SAP modules.
    can anyone guide on this issue?

    Anoop,
    What is the Font type you are using. Use Helve through out the form that would solve the issue

  • Printing Labels in Sapscript Printer SATO, Code 128

    Hello Experts, i need your help.
    Please, i want print labels in my form Sapscript. The printer is the type SATO and the code is 128.
    The label is the material number.
    I don't have any idea how to do it, what i must declare in my form, wich style. In the internet, i see that we do some calcul and we add some symbols. I don't understand why the calcul, what these symbols.
    Please, can anybody explain me the steps and what i must do it?
    Thank you very much.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jul 10, 2008 4:10 PM

    --> Or else, you could do it in a more manual fashion. Condition records are required in this case also, when the event happen(eg : when Packing done in Delivery ), SAP creates a flat file, and save it in the destined folder.  Then, a person manually login to the Label software, select the particular label and the flatfile from which data should flow..and click print... In this case also, no sap script, no standard text...
    It is your job to find, which approach your company is using...This is the way Bartender, Label shop Pro (Intermec Printers design tool ), Auto Label (autobag printers design tool )  etc work. Disclaimer  : i have never worked on either SATO or Label Gallery.
    Now about Label Design..
    1. You create a label using your label design tool. (it is just like Visual basic or even our dear SAP's screen design tool.)
    2. you can drag and drop the barcodes, text containers, variable fields etc. For eg, if you have something like
    Customer Part  Number :  |||||||||||||||||||||||||||||||||||||||
                                                       PRN ZYZSDFGH
    --> drag a text field : write Customer Part number in that.
    --> drag a barcode field. when you place a barcode field, you will have option to select whether code 128 or data matrix of whatever the standard you need. also in the properties box of the bar code, you can select, where do you want to print the human readable form of partnumber. (whether on top of barcode, center or below the barcode).
    3. Save the label. there should be a provision on the label design tool, to convert this label into ITF format. do that. now we have for eg, barcode_label1. ITF.
    4. go to SO10 in SAP.  give name zbarcode_label and hit create. From Menu> Text> Upload--> select radio button ITF. then browse in your system for barcode_label1.ITF.  save the standard text. here is a sample of a standard text.
    <STX>H6;o727,23;f3;c20;h1;w1;d3,Quantity:;<ETX>
    <STX>H7;o1008,444;f3;c20;h1;w1;d3,Line:;<ETX>
    <STX>H8;o1008,26;f3;c20;h1;w1;d3,Customer PO#:;<ETX>
    <STX>H9;o867,25;f3;c20;h1;w1;d3,Customer P/N:;<ETX>
    <STX>H10;o94,26;f3;c20;h1;w1;d3,Item:;<ETX>
    <STX>H11;o124,26;f3;c20;h1;w1;d3,Desc:;<ETX>
    <STX>H12;o1167,497;f3;c20;h1;w1;d3,Phone:;<ETX>
    <STX>H22;o1102,28;f3;c20;h1;w1;d3,Cust:;<ETX>
    <STX>H23;o1073,497;f3;c20;h1;w1;d3,GTC Line: ;<ETX>
    <STX><ESC>F0<DEL>&ADRC-NAME1&<ETX>
    <STX><ESC>F1<DEL>&MAINITEM-MATNR&<ETX>
    <STX><ESC>F2<DEL>&MAINITEM-ARKTX&<ETX>
    <STX><ESC>F3<DEL>&MAINITEM-BSTKD&<ETX>
    <STX><ESC>F4<DEL>&MAINITEM-ZSUNITQTY&<ETX>
    <STX><ESC>F5<DEL>&MAINITEM-POSEX&<ETX>
    <STX><ESC>F13<DEL>&ADRC-TEL_NUMBER&<ETX>

  • Smartforms printing issue with ZEBRA Printer

    Hi All,
    I am facing a issue where we are printing a 5*4 inch label on a Zebra printer out of SAP,when i Print the same on a Zebra printer the text is Blown up and the entire contents doesn't fit,but when see the spool and when I convert that spool in Pdf using the program RSTXPDFT4 and see the properties it looks perfect with properties as 5*4 Inch.
    Can someone give me there inputs of a similar issue they faced.
    Regards,
    AJ

    Hi,
    could you take a picture of the label printed by your Zebra ?
    Did you use the ZPLII printer driver ?
    regards
    Fred

  • Unable to get the print from the zebra printer

    hi,
       i have copied a SAP standard form into a Zform. i have made changes to the Zform depending on my requirement(i.e. i have added more fields and also barcodes). I did not make any changes to the driver program since i copied the standard layout. After making changes to the Zform when i check the print preview everything seems to be fine. But when i try to print the Zform from a zebra printer it does not get printed. But it says printing is completed and also a spool request is created but the print never comes

    Hi Ambarish,
    There will be an option to disable and enable the print icon for a particular sap screen . SAP Screen has been designed as per business requirement  only  . You may reach out to your functional team or developer team to assign the required output type and form which can enable the icon .
    Also check whether you have required authorization to  print from SAP
    I hope so it will help you
    Regards,
    Aparna

  • When printing labels for each printed label a blank label comes out of the printer

    Hello Experts
    We have a CR report which is designed to prints labels for the items using a label printer. After an upgrade that we have last month the settings for this report are missing so the labels were coming out wrong.
    Due to this I have had to reconfigure this report and its printing preferences and so far I have managed to make the prints fit in each label. But the problem is that if I try to print 5 copies of a label, the 5 labels come out of the printer just fine, butt after it another 5 blank labels come out of the printer too.
    I have tried with all parameters in "Printing preferences", mainly in the "Material" tab but nothing works.
    Thanks in advance and regards

    Hi,
    Please check below SAP note and let me know your feedback:
    1043235 - Label/thermal printers are not supported by SAP Business
    One
    Thanks & Regards,
    Nagarajan

  • Problem Printing Labels on Zebra label printers

    Hi Every one
    (there may be old solution for my problem, if there is, point me
    to that)
    my environment is oracle 6, windows 2000. server is runnig on
    windows NT.
    I am generating labels using oracle reports 6 for an application
    customised for pharmaceutical company. report has driver report
    calls another label generator report. no matter from where i
    print the report to zebra S400 label printer, my report builder
    crashes. if i run the report from rep file in application, my
    application crashes. if i save the report to a pdf file and
    print it using acrobat reader, it prints perfectly. if i use any
    other application like access, vb etc. they generate label and
    print without any problems.
    i have the latest windows 2k drivers for the printer. i also
    have tried re-install oracle cleint on my pc. the result is
    same. applications crash when print using oracle report to label
    printer?
    has any one come across such a problem? is there a solution for
    it?
    zebra label printers are pretty much a standard and are being
    used in allmost all the client location that my deals with. and
    they (printers) number in 1000's. in most of the cases labels
    are generated using zpl language in ascii, but why cant oracle
    reports print report generated labels to these printers?
    zebra has no comments on this, but they demonstrate their
    printer capabilities using all other windows based applications
    and point back to oracle reports for the problem.
    i appreciate any solution, lead, tip to overcome this problem.
    thanks and regards
    shiv(anand)
    dcss, houston

    hello,
    i would strongly suggest, you consult the metalink knwoledge
    base and seach for existing problems. if you can not find
    anything, contact oracle support services.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • HT2486 I'm entering in my address book I enter the names etc but when I go to Print labels it only prints the address not the name??

    I am entering in my address book, enter whole name address etc but when I go to print a label only the address get printed no name

    Thunderbird gets all suggestions for addressing from one of your address books. You have two books by default. The Personal and the Collected books. If you have sent an email to the wrong address then it will be in your collected book for sure. You need to go there and delete it and then find any other occurrences of the incorrect address and fix or delete it.

  • 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

  • Zebra printing in Java

    I need to design class wich print labels using Zebra printer.
    I tried to send ZPL code to printer .It does not work.
    Does anyone have idea how to send ZPL code to printer?

    I was able to send the codes using the Java Comm API, but I am still having problems with this. Did you come up with any other solution to your problem I would be greatly in your debt if you could help me with this. Thanks

Maybe you are looking for

  • Handling of pictures changed? Item values not properly updated in Beta 3?

    I had created an application which allows to upload an image for a row, basically based on what's done in the demo app for the products table. Today, I exported the app and then uninstalled Beta 2 and installed Beta 3. Installation finished without a

  • InDesign CS6 and epub

    I've started working on ebooks for my company, using print layouts in ID6, stripping them back to the basics and following the 'best practice' notes from Adobe and others. My test publication has front matter, followed by a Contents page and then the

  • No automatic downloading of music in ireland?

    I cant seem to find a toggle for automatic download of music even though it is adverised as such on the Apple Irish itunes page.  Is this coming or not?

  • Album doest show file name !!!

    I have Xperia M2 with 4.4.4 update. album update is 6.6.A.0.6. When i open album and go to movies folder, i cant see name of the videos !!! How can i see the name of perticular video file for playing ?

  • Update firmware of NI Node 3202 programmatically in labview

    Hi ,  I seen the project at  http://www.ni.com/example/31480/en/ , its adding nodes by giving NI Node serial Number , ID , NODE Type then selection of END NODE and MESH ROUTER.Can someone help in just update the NI Node as END NODE and MESH ROUTER pr