SAPSCRIPT CODE FOR ZEBRA PRINTING OF SU

Hi friends,
can anyone send me some sapscript code done on ZEBRA PRINTING . I have to create SU label Print program and oprint layout for LT31 .
THANKS IN ADVANCE .

Hi, you need to install Label Design for mySAP otherwise you will not understand these control codes.
Also you need to read Note 179534 - Label printing with Zebra printers (SAPscript).
This is an exaple sapscript:
/E   PRINT_LABEL                                                             
=    ^XA                                                                     
=    LH0,0,FS^PRC                                                          
=    FO53,54A0N,40,59FD5010 Physical Inv./Cycle CountFS                  
/*   BY2,38,78FT78,128^B3N,N,,Y,N                                          
/(   BY2,38,78FT78,198^B3N,N,,Y,N                                          
/    FFD&IT_ZINVMSEG-MATNR&^FS                                             
=    FO420,159A0N,60,79FD&IT_ZINVMSEG-MATNR&FS                           
=    FT49,284A0N,38,38FD&C_DESCRIPTION&FS                                
/*   IF &IT_ZINVMSEG-TAGNO& NE SPACE                                         
=    FT49,340A0N,38,38FDTag Num.:  &IT_ZINVMSEG-TAGNO&FS                 
=    FT488,340A0N,38,38FDDate: &IT_ZINVMSEG-IDATU&FS                     
/*   ENDIF                                                                   
=    FT49,401A0N,38,38FDBase Unit:  &c_meins&FS                          
=    FT49,474A0N,38,38FDQty:   &IT_ZINVMSEG-ERFMG&FS                     
/    ^PQ1,0,1,Y                                                              
/    ^XZ

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.

  • API for Zebra printer language

    Hi all,
    Can any one tell me whether there is any API is available to convert the product code into Zebra printer language.
    Details of Zebra priter languange is available in the following link
    http://www.zebra.com/id/zebra/na/en/index/products/special_features/proglang/zpl.html

    Hi All,
          If I directly printing the uploaded ITF file from standard text, I am able to print the logo. But when copy paste the same code in SAPscript its not printing. Please can anybody explain why?
    Thanks & Regards,
    Priya

  • 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

  • Ricoh Aficio MP C4501 with access codes for color printing

    Hi,
    I read the discuss called "Ricoh 3245C with access codes for color printing", and I have a similar problem with a Ricoh MPC4501 printer. The printer is connected to many Windows PCs and my brand new iMac. It requires just User Codes authenication. PostScript is not installed on the printer (could this be the problem?). I've tried all the suggestions brought up in the mentioned discussion but I still can't print. It seems like the printer is not connected to the Mac. Here are the answers to the questions asked in the previous discussion:
    Is PostScript module installed?
    No, I guess. PS is not one of the languages included on the Configuration Page.
    What languages does your printer understand?
    RPCS [3.10.14], PCL 5c [1.02] and PCL XL [1.02]
    What drivers are you using?
    I tried the one from the Ricoh site for OS10.8 (http://support.ricoh.com/bb/html/dr_ut_e/ra/model/mpc41/mpc41en.htm) as well as the driver (three downloads) from Linux (http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/pxlmon o). Neither worked. It might be helpful to mention that the Linux driver enabled me to print to a Ricoh Aficio MP 4001 that doesn't require authentication.
    How are you entering your User Code?
    Depending on the application. For Adobe apps, which are my main concern, I would have to click on the Printer button in the Print dialog to open the system Printer dialog, then enter the user code there under Job Log. I had to use the script provided in the previous discussion (http://webpages.charter.net/mbroughtn/beta/RicohUserCodes.zip) to add my User Code.
    How are you connecting to the printer -- what protocol?
    I'm not sure. I didn't find any of the protocols cited in the previous discussion on the Configuaration Page. If it helps, I know that the printer has an IP address on the network. And as I mentioned, it's mainly connected to many Windows PCs.
    Any help is appreciated. Thanks.

    Can't help with user codes, but I suggest you try IP HP jetdirect first whenever you add an enterprise net printer. You could always look on a windows computer for printer port configjration. There, you will find jetdirect called raw port 9100 protocol.

  • Why am I not receiving e-mails with activation code for e-print ?

    why am I not receiving e-mails with activation code for e-print ???? Have requested resends of e-mail several times -- but nothing as yet 

    Hi yvonnek49,
    Welcome to the HP Support forums.  I understand that when trying to activate the HP ePrint app that you haven’t received the activation code.
    Which email address are you using to activate the app, your personal email or the printer’s ePrint email address?  If you have been using the printer’s ePrint email address, please try again with your personal email address.  If you have been using your personal email address, please check your junk/spam folders to see if it was redirected there.  It can take up to 24 hours to receive the email.  
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

  • Logo not printing for Zebra printer

    Hi All,
             I have a requirement to print company logo after executing MIGO using Zebra printer. I have added the Zebra print parameters in SAPscript and uploaded the ITF file of logo to SO10 and from there copied to my SAPscript and tried printing, there is no logo displayed. I have tried using including standard text in sapcript with help of INCLUDE text statement that also is not working. Please help me to print logo using SAPscript for zebra printers.
    Thanks & Regards,
    Priya

    Hi All,
          If I directly printing the uploaded ITF file from standard text, I am able to print the logo. But when copy paste the same code in SAPscript its not printing. Please can anybody explain why?
    Thanks & Regards,
    Priya

  • The page with the code for my printer has expired and I need to print a new one but can't figure out

    How do I print out a new sheet with code for wireless setup?

    Are you talking about the IP address or the Mac Address of the printer? If you go into the setup menu you can go to reports or the network for the wireless information depending on what code you are looking for......
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Unable to sign up/enter prinder code for new printer?

    Unable to access eprintcenter.com to sign up & enter printer code for my new printer??

    Hello,
    It may be that you have a SnapFish.com account. Alot of long time customers of HP have SnapFish.com accounts and do not realize it. One of the printer software releases signed customers up automatically, and most people did not know, or forgot, because they never used it. Try going to SnapFish.com and using the forgot password link at the log in screen there. Once you have the password reset, go to ePrintCenter.com and use the SnapFish.com log in information to log in. If that does not help you may need to contact SnapFish.com directly to have them delete the account, or use a different email to register with.
    If you are getting an error message, let me know the error and I will see what I can find on it.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Customize SapScript Code for Invoice

    dear friends,
         Can anyone give me customize sap script/smarform code for invoice rather then standard sap script progmram.

    Vishal, since you seem to work with forms, you yourself would know that smart forms doesnt have much code. So there little chance that this is going to help you. However undertaking the following things might help,
    1. The standard program for invoice is RLB_INVOICE.
    2. Standard SmartForm is LB_BIL_INVOICE.
    3. RLB_INVOICE passes a table with the structure LBBIL_INVOICE to the smart form.
    4. If you intend you make your own smart form for an invoice, make a copy of LBBIL_INVOICE (so that your own SF would have the same interface)
    5. In your own smart form if you dont want the custom design at, just delete all nodes.
    6. Go to the transaction V/40, choose the output type 'RD00 - Invoice' and double click on 'processing routines' in the box on the left side. You can replace the standard smart form with your own newly created one.
    7. The important thing here is that if you want to utilize the standard data extraction program RLB_INVOICE you have to keep the interface in line with it.
    8. Under normal circumstances you wouldnt need to make your own data extraction program because RLB_INVOICE provides an awful lot of data through the structure LB_BIL_INVOICE.
    For more help of smart forms, refer to the following links,
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.ossincorp.com/Black_Box/Black_Box_2.htmhttp://www.sap-basis-abap.com/sapsf001.htm
    Regards,
    Ahsan

  • Finding the code for 'Advanced|Print Production|Output Preview'

    This windows exposes the color separation used in the PDF file. I am looking to create a simple application which compares an order color with its PDF's attachment. This is used by a printer to make sure that the PDF color and the order color match. This application will be silent and only output a match/no match code.
    I have been trying all sort of searches before posting... but I am giving up. My code is in C# or VB. Thanks for helping.
    Jerome Boyer

    There is no access to that information from C#/VB - only from C/C++ (as a plugin).

  • Escape codes for laser printer Kyocera FS-3920dn in reports 6i

    Hi,
    I use many reports for printing on laser printer Kyocera FS-3920DN. But now I need print some reports on special performed paper. For this we added 1 paper tray to printer ( Now we have 2 trays in printer ). How can I define for new reports which tray have to use ??? I wish to specified for report2.rep to use automaticly tray 2. Its a way through PRT file use escape codes ?? Have you any experience pls??

    In the report itself you can use:
    SRW.SET_PRINTER_TRAY('tray');
    see the online help.
    We do it differently, though. Our printers have 2 trays, one with blank paper and one with pre-printed logo paper.
    On each PC there are two printers defined (PRINTER_BLANk and PRINTER_LOGO). They point to the same printer, just a different tray.

  • CUPS EPL2 driver for Zebra  printer - label edge sensing?

    Hi
    Can anyone help with this?
    iMac Intel Leopard 10.5.5
    Zebra TLP3842 300dpi label printer with CUPS EPL2 driver
    I can print to the printer OK using the CUPS EPL2 driver that comes with Leopard but the printer doesn't appear to be recognising the 'label edge' so the print isn't always centered on the label. I can't find any option within the printer settings for 'continuous', 'black line', 'reflective', etc label edge sensing. Does this driver have such options? Strange thing is I'm sure I've seen it somewhere but can't remember how to get to it.

    Update your printer driver, check if the following information helps:
    https://bugzilla.mozilla.org/show_bug.cgi?id=324141
    You can see the KB and try the workaround here:
    http://support.microsoft.com/kb/904805/en-us

  • Ricoh 3245C with access codes for color printing

    Hello,
    We have a Ricoh 3245C and some MacBook Pro users with OS X Snow Leopard. The printer is configured so that a user needs an access code to print in color, but anyone can color in black and white.
    When Mac users try to print, the print queue says the job is paused, and the job never prints. It doesn't matter if the document is color or B and W.
    Help.
    Thanks,
    Josh

    Matt Broughton wrote:
    I find this hard to believe.
    Hi Matt, et al. Thanks for the replies.
    Just to re-iterate what I wrote above, we are using a Ricoh Pro 906 EX printer, and have attempted authenticated printing on the Mac with PPD's obtained from both the Ricoh website as well as the open source versions you reference. (Not sure what the "job log" reply above was about.) In that effort, we wrote to Richo at solutions(at)ricoh-usa.com to ask about authenticated printing features on the Mac. I will spare the group the entire discussion thread, but here are the relevant exchanges.
    '--- My original inquiry - Sept 22, 2010 ---
    Hello,
    Our office has a Ricoh Pro 906 EX printer and we are having a lot of trouble getting our Apple Mac users setup to print. After downloading your latest Mac/OSX driver software, we still do not see a place to enter User Codes and Passwords for individual users like the Windows driver software has. As a result, no print jobs are sent to the printer.
    Basically, what we are trying to do is Authenticated Printing. I note that there are several different places where Ricoh printers ask for "User Code" or "User ID" or etc. One thing I see on our Windows machines is a place to enter Authentication credentials -- THIS IS WHAT WE NEED -- but we can't find the matching dialog box on the Mac. I included a screenshot from a Windows machine we have setup and working. I think we just need to know if the Mac supports Authenticated Printing.
    Can you assist?
    '--- Final Reply - Sept 23, 2010 ---
    Mr. <snip>
    To give you some background information, Ricoh devices can be set up with multiple forms of authentication (that is built-in to the machine) such as:
    a. User Codes -- You can have up to 500 distinct user codes defined. Instead of someone inputting their User Name & Password they enter in a 4-8 digit number.
    b. Basic Authentication -- You can define user names & passwords on the copier. In order to print (or copy if it's set up that way) you would have to put in both the user name and password defined on the copier.
    c. Windows (Active Directory) Authentication -- You can input your Windows user name & password. Obviously you have to be a user on the domain in question.
    d. LDAP Authentication -- You can input a user name & password and then the copier tries to verify that you are a user against your LDAP server. You must specify the LDAP server to use.
    Based on what you explained and your screenshots I would assume that the Ricoh copier is set up with "Basic Authentication".
    Without going to a lot of trouble & hassle (I.E. to convince someone to do a driver customization) the MACs do not directly support Basic Authentication. The only type of authentication + tracking solution that works with the MAC PPDs (and is built-in) are User Codes. So instead of everyone having a user name && password they would be assigned a number (4 to 8 digits) that they would input when they need to print or copy. We could look into a customized driver option, but if you are only serving 20 users it would not be cost effective. Have you considered just "upgrading" people to Windows? There may be some other solutions that Ricoh offers that may work well for you. You may want to contact the sales person for the account and they can work with you to see what options would work best.
    Thank you,
    <snip name>
    TSSC
    Ricoh Americas Corporation

  • My 5510 printer will not print to give me the printer code for e print!

    my printer will not let me print my code so i can set up e print. It keeps saying unable to connect to server? any ideas why?

    How do I find my printer code on my HP5510

Maybe you are looking for