Plm in printing the logos of  smartform,

hi gurus,
          I Can see the print preview of the smartform with logo's, If i give the print of same form i unable to get the print instead it prints saying 'that error : internal error 0*18', One more thing is that if i delete logos in the smart form then i can able to get the print of smart form without logos.
plz can anybody helm me in this?
thanks®rads,
seshu.

hi
this is the major problem in many of the printers.
in order for the logo to print, we have to change the setting of the printer...
you can contact the concerned dept for the same
pavan

Similar Messages

  • Print the logo on the Second page

    Dear All,
    I want to print logo one the second & third page, on first page i don't want  print the  logo
    Thanks
    Uday

    uday,
    Create a formula field as currentpage() - 'Field_XX1'.
    Create a formula field Field_XX1 ! = 1 - 'Field_XX2'.
    Create a picture field - 'Field_XX3' link it with Field_XX2.
    hope it will solve the problem.
    Jeyakanthan

  • I want to print the LOGO on the report output

    Hi ,
    i want to print the LOGO on the report output. How can tyhis possible ?

    using "SMWO" to upload LOGO image.
    add a customer "customer control" named P1 using "SE51"
    the following program for your reference:
    =============================================
    REPORT  ytest17.
    DATA ok_code TYPE sy-ucomm,
              save_code TYPE sy-ucomm.
    DATA  container TYPE REF TO cl_gui_custom_container.
    DATA  picture TYPE REF TO cl_gui_picture.
    DATA  init.
    CALL SCREEN 100.
    MODULE user_command_0100 INPUT
    MODULE user_command_0100 INPUT.
      save_code = ok_code.
      CLEAR ok_code.
      CASE save_code.
        WHEN 'EXIT'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                    "user_command_0100 INPUT
    MODULE status_0100 OUTPUT
    MODULE status_0100 OUTPUT.
      IF init IS INITIAL.
        DATA url(255).
        CLEAR url.
        CREATE OBJECT container
        EXPORTING container_name = 'P1'.
        CREATE OBJECT picture
        EXPORTING parent = container
        EXCEPTIONS error = 1.
        IF sy-subrc NE 0.
        ENDIF.
        PERFORM load_pic_db CHANGING url.
        CALL METHOD picture->load_picture_from_url
          EXPORTING
            url = url.
        IF sy-subrc NE 0.
        ENDIF .
        init = 'X'.
      ENDIF.
    ENDMODULE.                    "status_0100 OUTPUT
    *&      Form
          text
    FORM load_pic_db changing p_url.
      data query_table like w3query occurs 1 with header line.
      data html_table like w3html occurs 1.
      data return_code like w3param-ret_code.
      data connect_type like w3param-cont_type.
      data connect_length like w3param-cont_len.
      data pic_data like w3mime occurs 0.
      data pic_size type i.
      refresh query_table.
      query_table-name = '_object_id'.
      query_table-value = 'TESTPIC'.
      append query_table.
    CALL FUNCTION 'WWW_GET_MIME_OBJECT'
      TABLES
        query_string              =  query_table
        html                      =  html_table
        mime                      =  pic_data
      changing
        return_code               =  return_code
        content_type              =  connect_type
        content_length            =  connect_length
    EXCEPTIONS
       OBJECT_NOT_FOUND          = 1
       PARAMETER_NOT_FOUND       = 2
       OTHERS                    = 3
    IF sy-subrc <> 0.
    pic_size  = connect_length.
    ENDIF.
    CALL FUNCTION 'DP_CREATE_URL'
      EXPORTING
        type                       = 'image'
        subtype                    =  cndp_sap_tab_unknown
        SIZE                       =  pic_size
      DATE                       =
      TIME                       =
      DESCRIPTION                =
        LIFETIME                   = cndp_lifetime_transaction
      CACHEABLE                  =
      SEND_DATA_AS_STRING        =
      FIELDS_FROM_APP            =
      tables
        data                       = pic_Data
      FIELDS                     =
      PROPERTIES                 =
      COLUMNS_TO_STRETCH         =
      changing
        url                        = url
    EXCEPTIONS
       DP_INVALID_PARAMETER       = 1
       DP_ERROR_PUT_TABLE         = 2
       DP_ERROR_GENERAL           = 3
       OTHERS                     = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endform.
    *&      Module  CANCEL  INPUT
          text
    module CANCEL input.
    LEAVE PROGRAM.
    endmodule.                 " CANCEL  INPUT
    =============================================

  • Print the logo for all pages

    Hi
    How to print the logo for all pages in xml report
    please provide the tags also

    Hi,
    create a Header and footer section and paste your logo inside and use the tag <?template:header?> before header and <?end template ?> after header section.
    Thanks & Regards
    Srikkanth

  • Need to send the logo in smartform via mail.

    Hi All,
    I have smartform with the company logo uloaded. I have requirement to send the smartform with logo output via mail .
    Points will be rewarded....
    thanks,
    mahantesh

    hi,
    1. check if are getting the logo in the print preview, ifso
    2. use the following piece of code to send the mail (by converting otf to pdf)
    *For sending email
    DATA:
      i_otf type  standard table of itcoo ,"OCCURS 0 WITH HEADER LINE,
      i_tline type table of tline with header line,
      i_receivers type standard table of somlreci1 ,
      i_record type table of solisti1 initial size 0 with header line,
    Objects to send mail.
      i_objpack type table of sopcklsti1 initial size 0 with header line,
      i_objtxt type table of solisti1 initial size 0 with header line,
      i_objbin type table of solisti1 initial size 0 with header line,
      i_reclist type table of somlreci1 initial size 0 with header line,
    Work Area declarations
      wa_objhead type soli_tab,
      w_ctrlop type ssfctrlop,
      w_compop type ssfcompop,
      w_return type ssfcrescl,
      wa_doc_chng type sodocchgi1,
      wa_buffer type string, "To convert from 132 to 255
    Variables declarations
      v_len_in like sood-objlen,
      v_lines_txt type i,
      v_lines_bin type i.
      clear v_len_in.
      i_otf[] = w_return-otfdata[].
      clear v_len_in.
      call function 'CONVERT_OTF'
        exporting
          format                = 'PDF'
          max_linewidth         = 132
        importing
          bin_filesize          = v_len_in
        tables
          otf                   = i_otf
          lines                 = i_tline
        exceptions
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          others                = 4.
      if sy-subrc eq 0.
        loop at i_tline.
          translate i_tline using '~'.
          concatenate wa_buffer i_tline into wa_buffer.
        endloop.
        translate wa_buffer using '~'.
        do.
          i_record = wa_buffer.
          append i_record.
          shift wa_buffer left by 255 places.
          if wa_buffer is initial.
            exit.
          endif.
        enddo.
    Attachment
        refresh: i_reclist,
        i_objtxt,
        i_objbin,
        i_objpack.
        clear wa_objhead.
        i_objbin[] = i_record[].
    Create Message Body Title and Description
        i_objtxt = 'PFA are the Service Entry Sheet details.'.
        append i_objtxt.
        append initial line to i_objtxt.
        describe table i_objtxt lines v_lines_txt.
        read table i_objtxt index v_lines_txt.
        wa_doc_chng-obj_name = 'Service Entry Sheet '.
        wa_doc_chng-expiry_dat = sy-datum + 10.
        wa_doc_chng-sensitivty = 'F'.
        wa_doc_chng-doc_size = v_lines_txt * 255.
        concatenate 'Service Entry Sheet' nast-objky(10) into wa_doc_chng-obj_descr separated by space.
    Main Text
        clear i_objpack-transf_bin.
        i_objpack-head_start = 1.
        i_objpack-head_num = 0.
        i_objpack-body_start = 1.
        i_objpack-body_num = v_lines_txt.
        i_objpack-doc_type = 'RAW'.
        append i_objpack.
    Attachment (pdf-Attachment)
        i_objpack-transf_bin = 'X'.
        i_objpack-head_start = 1.
        i_objpack-head_num = 0.
        i_objpack-body_start = 1.
        describe table i_objbin lines v_lines_bin.
        read table i_objbin index v_lines_bin.
        i_objpack-doc_size = v_lines_bin * 255 .
        i_objpack-body_num = v_lines_bin.
        i_objpack-doc_type = 'PDF'.
        i_objpack-obj_name = 'smart'.
        i_objpack-obj_descr = 'Service Entry Sheet '.
        append i_objpack.
    Get email id .
                  clear i_reclist.
                  i_reclist-receiver = '[email protected]'. "email address
                  i_reclist-rec_type = 'U'.
                  append i_reclist.
        if i_reclist[] is not initial.
          call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
            exporting
              document_data              = wa_doc_chng
              put_in_outbox              = 'X'
              commit_work                = 'X'
            tables
              packing_list               = i_objpack
              object_header              = wa_objhead
              contents_bin               = i_objbin
              contents_txt               = i_objtxt
              receivers                  = i_reclist
            exceptions
              too_many_receivers         = 1
              document_not_sent          = 2
              document_type_not_exist    = 3
              operation_no_authorization = 4
              parameter_error            = 5
              x_error                    = 6
              enqueue_error              = 7
              others                     = 8.
          if sy-subrc <> 0.
       Error When Sending the File
            retcode = sy-subrc.
            perform protocol_update1 .
          endif.
        endif.
      else.
       Error When generating the File
        retcode = sy-subrc.
        "perform protocol_update .
      endif.
    Reward if u find it useful
    Regards
    Arun T

  • How to print the superscript in smartform

    Hi gurus,
    Please tell me the procedure how to print the superscript in middle of the text displaying?
    when we are displaying the smartform its converted to some special character like & .
    please let me know procedure at the earliest
    Regards
    Raj

    Hi thanks for ur patience.
    see my requirment was to print TM as superscript for HLL ,already smartstyle is there, and also a character format with superscript is also defined.
    then aftet HLL how it prints as superscript.
    for HLL we are using another character format and for superscript we are using the another character format.
    If posiible send me the code to write in smartforms
    Regards
    RAj
    Points are awarded for useful answers.

  • How to print the logo in top centre (alv report)

    Hi friends,
         I need to print the company logo in the centre top of the alv report.Using the reuse_alv_commentry_write the logo is coming in the right side corner of report.
    Thanks & Regards,
    vijay.

    Hi,
    Try this out
    Build report title
      PERFORM build_report_title USING gd_report_title gd_logo.
      DATA:  gd_logo             TYPE sdydo_value,
    *&      Form  BUILD_REPORT_TITLE
          Build table for ALVtree header
    <->  p1        Header details
    <->  p2        Logo value
    FORM build_report_title CHANGING
          pt_report_title  TYPE slis_t_listheader
          pa_logo             TYPE sdydo_value.
      DATA: ls_line TYPE slis_listheader,
            ld_date(10) TYPE c.
    List Heading Line(TYPE H)
      CLEAR ls_line.
      ls_line-typ  = 'H'.
    ls_line-key     "Not Used For This Type(H)
      ls_line-info = 'User Message Service'.
      APPEND ls_line TO pt_report_title.
    Users name (Status Line- TYPE S)
      ls_line-typ  = 'S'.
      ls_line-key  = 'Name '.
      ls_line-info = gd_myname.
      APPEND ls_line TO pt_report_title.
    Status Line(TYPE S)
      ld_date(2) = sy-datum+6(2).
      ld_date+2(1) = '/'.
      ld_date3(2) = sy-datum4(2).
      ld_date+5(1) = '/'.
      ld_date+6(4) = sy-datum(4).
      ls_line-typ  = 'S'.
      ls_line-key  = 'Date'.
      ls_line-info = ld_date.
      APPEND ls_line TO pt_report_title.
    Action Line(TYPE A)
    CLEAR ls_line.
    ls_line-typ  = 'A'.
    CONCATENATE 'Report: ' sy-repid INTO ls_line-info  SEPARATED BY space
    APPEND ls_line TO pt_report_title.
    ENDFORM.                    "build_report_title
      CALL METHOD gd_userlist->set_table_for_first_display
         EXPORTING
                   is_hierarchy_header  = gd_hierarchy_header
                   it_list_commentary   = gd_report_title
    <b>              i_logo               = gd_logo</b>
                  i_background_id      = 'ALV_BACKGROUND'
                   i_save               = 'A'
                   is_variant            = gd_variant
         CHANGING
                   it_outtab            =  it_emptytab      "Must be empty
                   it_fieldcatalog      =  gd_fieldcat.

  • Vertical printing the Text in Smartforms

    Hi Friends,
    Thanks in Advance,
    Is there any posibility to print the text in Vertical, in Dot Matrix Printer
    Please resolve the Issue.
    Thanks & Regards:
    Manjula.M

    Hi,
    This thread will helpful to you.
    vertical writing in smartforms
    Thanks,
    Sree.

  • How to print the values in smartforms

    Hello Abapgurus,
    This is my problem which i explained below.
    IF the text has 11 rows and you can only print 8 rows in the
    current page, THEN go to next page print all 11 rows at the fresh page.
    How can i achieve this.I need to achieve it in smartforms.Not on scripts.
    Waiting for your favourable replies
    Regards
    Maruthi

    Hi Maruthi,
    In smartforms create a loop. And inside loop create a Folder. In "Output Options" tab of folder there is a check box "Page Protection". Select this check box.
    The above option will work only in man windows. If created window is not not a main window then make it as main window from its General Attributs tab.
    Ashven

  • Printing LOGO on smartform based on Printer

    Hi All,
      I want to print LOGO on my smartform(PO) based on a Printer which i am using.If i use one perticular printer(PRIMO) i should get the LOGO and for other Printers it should not appear.Will it be possibel to control the printing based on a printer condition? if yes please suggest me where i can add these conditions.
    If u need any further information please revert back to me.Thanks in Advance.
    Best regards,
    Shanker.

    Hi,
    Based on the device type in OUTPUT_OPTIONS in smartforms interface find out the printer name and write logic for printing appropriate LOGO in smartform.
    Regards,
    Raju.

  • Need to print the company logo in alv report

    Hi All ,
           I am displaying an alv grid for some QM report .
           I have used top-of-page event and   'REUSE_ALV_COMMENTARY_WRITE '    FM to display the logo and header . Every thing is working fine .
      But when I am taking the print-out  the logo is not getting printed . Except logo everything is coming in the print out.
    So please help me if you have any idea ragarding how to print the logo in the report.
    regards
    Satish

    print the logo is really simple, check this little sample:
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          i_logo             = 'Z_LOGO'
          it_list_commentary = gt_list_top_of_page.
    and how to upload the logo in this link:
    uploading logo
    regards
    Edited by: Sebastian Bustamante on Sep 24, 2008 3:26 PM

  • To print a logo on the left side of header  in ALV

    hi,
    this is murali, i got an assignment for printing the logo on left side in alv.

    check the below links
    ALV -  logo display
    Re: logo inclding in ALV
    Logo Alignment in ALV
    another useful link:(this has the code itself)
    /message/1713313#1713313 [original link is broken]
    Message was edited by: Srikanth Kidambi

  • How to upload a  logo in smartforms

    can anybody tell me how to upload logo in Smartorms

    Hi,
    Inserting Logo in SmartForm
    Follow the given steps in order to add a logo,
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) User TCode SE78 to upload new pictures and logos.
    or----
    u can
    Try executing program RSTXLDMC program. There also you can upload a graphic.
    Run RSTXLDMC
    Enter file name C:\MAIL\COMPLOGO.TIF
    Resolution for Tiff file
    Absolute X-position
    Absolute Y-position
    Absolute positioning
    Reserved height
    Shift to right
    UOM = CM
    Text title
    Line width for text = 132
    Text name ZHEX-MACRO-COMPLOGO
    Text ID ST
    Text language = E
    Postscript scaling
    Width & Height according to PS scaling
    Number of Tiff gray levels (2,4,9) 2
    Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Window type CONST
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally u can make use of the text name and text id to print the logo.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
    Go thru this,
    http://www.zebra.com/id/zebra/na/en/documentlibrary/misc/sap_smartforms_technical.File.tmp/SAPSmartFormsVersion3.pdf
    Refer these threads,
    How to upload logo in Smartforms.
    logo insertion in smartform..
    Regards,
    Padmam.

  • Logo in Smartform.

    Hello Everybody,
    I am supposed to load the logo into the form based on the input given by the user.i,e. i should the take the name of the logo to be put in the SMARTFORM from the text box in the selection screeen.Could some one tell me as to how this is done????
    Thanking you in anticipation.
    Regards,
    Sirisha Matta.

    Hi Sirisha,
    you can create a GRAPHIC node where the name of the node is a variable:
    Name &V_LOGO&
    Object GRAPHICS
    ID BMAP
    So before of GRAPHIC node you have to insert an ABAP node where u insert the name of the LOGO,  let us take one case like --in according the company code
    CASE BUKRS = ....
    WHEN '....'. V_LOGO = .....
    WHEN '....'.
    ENDCASE.
    or..............
    Try executing program RSTXLDMC program. There also you can upload a graphic.
    Run RSTXLDMC
    Enter file name C:\MAIL\COMPLOGO.TIF
    Resolution for Tiff file
    Absolute X-position
    Absolute Y-position
    Absolute positioning
    Reserved height
    Shift to right
    UOM = CM
    Text title
    Line width for text = 132
    Text name ZHEX-MACRO-COMPLOGO
    Text ID ST
    Text language = E
    Postscript scaling
    Width & Height according to PS scaling
    Number of Tiff gray levels (2,4,9) 2
    Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Window type CONST
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally u can make use of the text name and text id to print the logo.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
    Regards,
    SRI

  • Enter Logo in Smartform

    Hi All,
    Can anybody guide me to enter logo in Smartform.
    I want to print one logo on inspection setup print program.
    Please suggest me the steps to do the same.
    Regards,
    Deepak.

    Hi,
    Inserting Logo in SmartForm
    Follow the given steps in order to add a logo,
    1) In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) User TCode SE78 to upload new pictures and logos.
    or----
    u can
    Try executing program RSTXLDMC program. There also you can upload a graphic.
    Run RSTXLDMC
    Enter file name C:\MAIL\COMPLOGO.TIF
    Resolution for Tiff file
    Absolute X-position
    Absolute Y-position
    Absolute positioning
    Reserved height
    Shift to right
    UOM = CM
    Text title
    Line width for text = 132
    Text name ZHEX-MACRO-COMPLOGO
    Text ID ST
    Text language = E
    Postscript scaling
    Width & Height according to PS scaling
    Number of Tiff gray levels (2,4,9) 2
    Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Window type CONST
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally u can make use of the text name and text id to print the logo.
    Please note that if object name is not indicated as 'ZHEX...', the logo may not be printed !
    Please reward points if useful.
    Regards
    rose

Maybe you are looking for

  • Session Timeout and Dynamic Actions

    Did anybody ever use the Session Timeout feature in APEX successfully? I have set an idle session timeout and provided an url to redirect to once the session is expired: Home > Application Builder > Application nnn > Shared Components > Edit Security

  • Create dummy component array

    how do i create a dummy array in my object obj1 i have a attribute which is of type obj2 array. obj2 is an object with 1 string and 1 time attribute. i want to create a obj1 object and populate it with data which will include a populate obj2 array -T

  • Problems with Creating New Users after migration to EOP

    My company uses EOP only for spam email protection as we have an on premise Exchange 2010 server.  The issue I am having is after I manually create a new user through the Office 365 Admin Center they do not show up as a user in the Exchange Admin Cen

  • Charger board or DC-in board problem?

    I have an iBook SE Graphite 466 with 576 ram with original 10mg HD running OS 10.3.9 and 9.2.2 (on occasion). It has a new battery that I can get 4 to 5 hours run time with. I seldom use the trackpad preferring a USB trackball. I am experiencing inte

  • Struts 2 table data loading problem

    Hi i need to display contents from DB in table format in jsp using struts 2. i am loading the data into list to display. DB data: No Name country no user_id 1 aaa ind 9999 01 2 aaa ind 2323 01 3 bbb aus 7777 02 4 ccc zim 2222 03 5 ccc zim 5656 03 cur