Output device issue in smartform

Hi All,
I have configured smartform and driver program throough nace and testing output . I am facing the problem of  alignment of  output which is changing  depening on Printer. i.e., for printer one the field KOMVD-KBETR(VAT) is prining properly .But if we give another printer or MAIL_PDF as output device then it is moving towards left and alignemnt is wront.
Please let me know if any solution and max points will provided.
Thanks,
J.P
Edited by: Prakash Jeevakala on Sep 14, 2009 2:00 PM

When using SAPscript or SmartForms, HP (PCL based) printers in SAP will generate an extra 1/4 inch or so on the left margin.
Design your form for the specific printer.  If multiple printer types will be used, design the form to fit regardless of the margin adjustment.

Similar Messages

  • Output device in SPAD/Smartform

    Hi All,
    We have a ouput device created through SPAD transaction with a name of 14 characters.
    We want to pass the output device name to the Smartform. But the smartform has a parameter of ssfcompop-tdest of only 4 characters.
    We do not want to change the output device name from 14 characters to 4 characters.
    Is there any alternative to pass the Output device name to smartform without changing the name of output device.
    Thanks in advance,
    Best regards,
    Prashant

    Hi prashant,
    even you create 14 chars or 20 chars it doesn't matter. but we will pass the short name not the name which you created 14 chars. i guess you might gave <b>short name</b> for your printer in SPAD while creating check it, that you have to pass.
    Regards
    vijay

  • Output device tddest in smartforms

    Hi,
    I am using smartforms to convert the otf data to pdf. The coding is as follows:
    * Set the Parameters of smartform
      l_s_ssfctrlop-no_dialog   = 'X'.
      l_s_ssfctrlop-getotf      = 'X'.
      l_s_output_options-tdnoprint = 'X'.
    * call FM to get the name of the FM of smart for smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = g_form_name
        IMPORTING
          fm_name            = l_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION l_fm_name
        EXPORTING
          control_parameters = l_s_ssfctrlop
          output_options     = l_s_output_options
          user_settings      = ' '
        IMPORTING
          job_output_info    = l_s_job_output_info
        TABLES
          g_t_datatab        = g_t_datatab
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      REFRESH g_t_pdf_tab.
    *Convert to OTF Format
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = l_byte_count
        TABLES
          otf                   = l_s_job_output_info-otfdata[]
          lines                 = g_t_pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 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.
    I am not passing tddest (output device) to 'l_s_output_options' as I don't want to print it.
    I just want to convert the otf data obtained to pdf and use it for further processing.
    Will there be any problem if I don't assign any ouput device.
    Please note that in the system ouput device 'LOCL' is not maintained.
    Thanks,
    Soumya.

    Hi Valerie,
    I am using below code to get the printer name by default , even i want to skip that screen that asks for the printer name. But am unable to get this requirement. I have tried with various combinations but its not working. Please suggest.
    control-preview = 'X'.
    control-no_dialog = SPACE.
    output_options-tddest = 'LP01'.
      CALL FUNCTION lv_fmname
    EXPORTING
    output_options     = output_options
    contol             = control
      p_matnr            = p_matnr
      user_settings      = 'X'
        TABLES
      gt_stpo            = gt_stpo
      EXCEPTIONS
        formatting_error   = 1
        internal_error     = 2
         send_error         = 3
         user_cancelled     = 4
         OTHERS             = 5.
    Thanks & Regards
    Jatin

  • Output device option in smartform

    Hi,
    I am getting the below error in a program which calls a smartform.
    'Output device LOCL is not defined'.  As the output device LOCL is not maintained in the system through tcode SPAD, ia m getting this.
    My doubt is if i remove the option of giving output device, will it work.
    The coding is as follows:
    * Set the Parameters of smartform
      l_s_ssfctrlop-no_dialog   = 'X'.
      l_s_ssfctrlop-getotf      = 'X'.
      l_s_output_options-tddest = 'LOCL'.  --------> if I comment this line, will it work without any error as I don't want to print it.
      l_s_output_options-tdnoprint = 'X'.
    * call FM to get the name of the FM of smart for smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = g_form_name
        IMPORTING
          fm_name            = l_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CALL FUNCTION l_fm_name
        EXPORTING
          control_parameters = l_s_ssfctrlop
          output_options     = l_s_output_options
          user_settings      = ' '
        IMPORTING
          job_output_info    = l_s_job_output_info
        TABLES
          g_t_datatab        = g_t_datatab
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Thanks & Regards,
    Soumya

    Hi,
    One more doubt if I give the parameter
    l_s_output_options-tdnoprint = 'X'. will it prevent the printing of the form generated or is it just to disable the print button in the pop up.
    Thanks & Regards,
    Soumya.

  • OUTPUT DEVICE SEND TO SMARTFORMS

    Dear All,
                  I have to send output device of smartforms from my driver program.
    Waiting for reply.
    Regards,
    Shrikant.

    Hi,
    Please check this code.
    DATA:  lx_ssfctrlop      TYPE ssfctrlop,
             lx_ssfcompop     TYPE ssfcompop.
    lx_ssfcompop-tddest    = 'output device'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
              EXPORTING
                formname                 = l_fname
             IMPORTING
               fm_name                  = l_fm_name
             EXCEPTIONS
               no_form                      = 1
               no_function_module   = 2
               OTHERS                      = 3
    CALL FUNCTION l_fm_name
              EXPORTING
               output_options             = lx_ssfcompop
    Thanks
    Abhijit

  • Am I Lame? Video Output Device issues

    It's been a while since we've used Final Cut Express, so we're a little rusty. A lot of it is working fine, but for some reason, it cannot connect to the video output device. I even tried reinstalling final cut express with the camera turned on and plugged into the firewire (I read that somewhere), but it made no difference. I searched these forums and found no reference to "video output device" or "cannot connect". So, any help for me out there?
    The stats are - Final Cut Express 4, brand new mini DV camera (becoming obsolete, I know), firewire from the Mac to the camera and video out to the TV. FYI - the camera to the TV is fine...and the camera IS set to "play" mode, as opposed to "record" mode.
    The error message mentions that it could either be an issue with the camera connection, OR it might be a conflict with the audio input device. Not sure why that would be, but if anyone has any ideas on how to investigate that further, that might be helpful. We do run Logic 8 and have an Echo soundcard installed with 2 1/4 inputs and 2 1/4 inch outputs. (in case anyone cares).
    One last thing - I know I'm theoretically not running a good enough processor, but I don't think that's the issue. Logic 8 has the same requirements and runs great, and FCPExpress doesn't seem to be having any issues in terms of processing power.
    Thanks again.
    Kat

    Yes, I did have that selected...thanks, though. Now, my audio has suddenly stopped working. No idea why. I have tried restarting the program a couple of times (which helped before, when the audio quit working). But now, that's not helping either. I don't know what heppened - All I did before the audio stopped working, was I shut down the computer and the camera and unplugged it all and replugged it and restarted. I did that to try to help the video playthrough problem (which it didn't help) and now I have no audio. ****, this is frustrating. Sigh.
    Just FYI - we decided to unplug the camera from the system, since we couldn't get the video to play through to the TV anyhow. When we did that, the audio started working (just on the computer). I guess the playthrough issue was affecting the audio as well. Sigh. Any help is much appreciated.
    Message was edited by: katmichaels1

  • Sound output device issue - can not choose speakers if phones are plugged in

    when I have headphones plugged in, sometimes I dont want to use them for sound, but dont want to disconnect them (I got extra, and iMac is to the wall, hard to take them out without moving whole Mac; so I like having them plugged in constantly)
    I dont have the option to choose inbuilt latest iMac speakers when I use ALT+volume icon.
    when I alt click sound the only options are
    1. headphones, then airplay devices
    2. apple tv
    3. pioneer VSX 2021K
    how can I choose speakers on my iMac when headphones are plugged in?

    Hi @tahir77 
    Welcome to the HP Support Forums!
    I understand that the sound is playing in your earplugs and from the speakers at the same time, and that your system is also not detecting your earphones among the audio devices. I am happy to help.
    Firstly, please post the full product number for your notebook. See the following if you need help in finding that.
    How Do I Find My Model Number or Product Number?
    With that I can find any update drivers for you, but for now you may like to look at this and see if it helps:
    Resolving headphones and headset problems (Windows 8)
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Smartforms, Output device WA_EKPO-NETPR not defined., ME9F

    Hi
    I am creating a form of purchase order, I am trying to have the price printed, but I have the following message when I try to print:
    Output device WA_EKPO-NETPR not defined.
    Message no. SSFCOMPOSER011
    Diagnosis
    The output device specified is not known in the SAP System. Valid output devices are maintained in spool administration.
    System Response
    The system issues an error message.
    Procedure
    Choose an output device from the possible entries help on the printer dialog box.
    Procedure for System Administration
    Check the output devices defined in spool administration.
    thanks

    hi, i guess you havent defined your printer (i.e) output type.
    if you use driver program then when you call your sf just insert the below code.
    also please check your reference field
    NETPR in > global declaration >Currency / Quant. Fields and select either currency or quantity.
      call function 'SSF_FUNCTION_MODULE_NAME'
              exporting
                formname                 = f_sf_formname
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
              importing
                fm_name                  =  f_sf_fmname
             exceptions
               no_form                  = 1
               no_function_module       = 2
               others                   = 3
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    st_control_parameters-no_dialog = 'X'.
    st_control_parameters-preview = 'X'.
    st_output_options-tddest = 'WINDEFAULT'.
    and also please check your smartform -> form attributes -> output tab page format and also check output format.
    regards,
    koolspy.

  • SmartForms : Printing Non-English characters with SWIN output device?

    I have a Japanese Text (entered in Unicode at So10) and I want to print it from my SmartForms application using SWIN device type.
    I thought SWIN converted all the components into graphics before sending to printer. To my surprise, the Japanese text printed out as "########".
    I even tried duplicate the SWIN output device to another output device and changed the character set to 4103 UTF-16LE Unicode / ISO/IEC 10646 but then the print process hang.
    Anyone knows how to overcome the problem so that I can print Japanese with SWin output device?

    I have a Japanese Text (entered in Unicode at So10) and I want to print it from my SmartForms application using SWIN device type.
    I thought SWIN converted all the components into graphics before sending to printer. To my surprise, the Japanese text printed out as "########".
    I even tried duplicate the SWIN output device to another output device and changed the character set to 4103 UTF-16LE Unicode / ISO/IEC 10646 but then the print process hang.
    Anyone knows how to overcome the problem so that I can print Japanese with SWin output device?

  • Output Device and Format issues in Background?

    Hi, all:
    I have a issue. when I run the job as the background. whatever I choose which Output Device and Output Format. after finishing job.  double click on the spool number. the Output Device is always LP01. Format is X_PAPER.
    Anybody knows what happend in SAP.
    Thanks in advance.

    Hi Yunfa Zhang,
    what is defined as ABAP program in the Job's step? Maybe it ignores whatever you specify and reads the LP01 from somwwhere else, i.e. your user settings.
    Regards,
    Clemens

  • Order confirmation issue output through output device sent email

    Hi:
         We set a output device type is eMail. When I print out order confirmation that I can to select output device 'email' and will display a field of email address to input email address.
         That is work in PRD, but in the DEV alway can't display the field of email address. Can anyone to tell me why?
    Best Regards,
    Nicole

    Dear Chen,
    This issue may related to output program so please take help of ABAPer to fix the issue.
    I hope this will help you,
    Regards,
    Murali.

  • Change output device in smartform when using gui_diwnload

    can any one please tell me how to change the output device for gui_download into pdf for a smartform.
    (i want the setting to be done in my report -driver program ,   not in sap application tool bar settings)
    kindly please suggest me,
    thanks in advance,
    koolspy.

    I give you an example
      DATA: ls_control_param      TYPE ssfctrlop.
      DATA: ls_composer_param     TYPE ssfcompop.
        Parametros por defecto para la generación de la orden de spool.
          ls_composer_param-tddataset = 'PDF'.
          ls_composer_param-tdsuffix1 = 'FACT.'.
          ls_composer_param-tdsuffix2 = nast-OBJKY.
          ls_composer_param-TDDEST   = 'LP02'.
        output_options-tdprinter = 'PRINTER'.
          ls_composer_param-tdnewid = 'X'.
          ls_composer_param-tddelete = 'X'.
          ls_composer_param-tdfinal = ' '.
          ls_composer_param-tdlifetime = 8.
          ls_control_param-no_dialog = 'X'.
          ls_control_param-preview = ' '.
          ls_composer_param-tdimmed = ' '.
          ls_control_param-getotf = 'X'.
    call smartform invoice
          CALL FUNCTION lf_fm_name
            EXPORTING
              archive_index        = toa_dara
              archive_parameters   = arc_params
              control_parameters   = ls_control_param
              mail_recipient       = ls_recipient
              mail_sender          = ls_sender
              output_options       = ls_composer_param
              user_settings        = space
              is_bil_invoice       = ls_bil_invoice
              is_nast              = nast
              is_repeat            = repeat
              is_vbdkr             = is_vbdkr
            IMPORTING
              job_output_info      = job_output_info
              document_output_info = document_output_info
              job_output_options   = job_output_options
            TABLES
              gt_vbdpr             = gt_vbdpr
            EXCEPTIONS
              formatting_error     = 1
              internal_error       = 2
              send_error           = 3
              user_canceled        = 4
              OTHERS               = 5.
        Convertimos el fichero OTF a PDF
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                      = 'PDF'
            MAX_LINEWIDTH               = 132
            ARCHIVE_INDEX               = ' '
            COPYNUMBER                  = 0
            ASCII_BIDI_VIS2LOG          = ' '
            PDF_DELETE_OTFTAB           = ' '
          IMPORTING
            bin_filesize                = file_size
            BIN_FILE                    =
          TABLES
            otf                         = job_output_info-otfdata
            lines                       = lt_pdf
          EXCEPTIONS
            err_max_linewidth           = 1
            err_format                  = 2
            err_conv_not_possible       = 3
            err_bad_otf                 = 4
            OTHERS                      = 5
    Hope it helps.

  • Default output device for smartform

    Hi all
    how can we assign a default output device to a smart form so that the every time we execute a smartform it doesnt ask for a output device?
    thanks in advance....

    Hi
    First see what your default out put device is.
    That you can see in SU3>Default>OutputDevice.
    Suppose it is set as 'PRINTER' .
    Then in ur print program you have to write the logic as below.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME           = 'Z_smartform
        IMPORTING
          FM_NAME            = WF_FUNCMODULENAME
        EXCEPTIONS
          NO_FORM            = 1
          NO_FUNCTION_MODULE = 2
          OTHERS             = 3.
      CLEAR: WA_CONTROL_PARAMETERS.
        WA_CONTROL_PARAMETERS-GETOTF    = 'X'.
        WA_CONTROL_PARAMETERS-LANGU = 'E'.
      WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.
        CALL FUNCTION WF_FUNCMODULENAME
          EXPORTING
            CONTROL_PARAMETERS   = WA_CONTROL_PARAMETERS "Control Params
            OUTPUT_OPTIONS       = WA_OUTPUT_OPT  "Output Options
            WF_CARRID            = WF_CARRID
            WF_CONNID            = WF_CONNID
            WF_FLDATE            = WF_FLDATE
          IMPORTING
            DOCUMENT_OUTPUT_INFO = WA_DOCUMENT_OUTPUT_INFO
            JOB_OUTPUT_INFO      = WA_JOB_OUTPUT_INFO
            JOB_OUTPUT_OPTIONS   = WA_JOB_OUTPUT_OPTIONS
          EXCEPTIONS
            FORMATTING_ERROR     = 1
            INTERNAL_ERROR       = 2
            SEND_ERROR           = 3
            USER_CANCELED        = 4
            OTHERS               = 5.

  • Issue in output device in communication method (very imp)

    HI All,
    Please help me to solve this issue,
    I have an output type ZAME this output type They they are using for External send .
    But in the communication output device they are using as LOCAL, Now user is asking me why the printer is configured as Local for the output type what is the reason,( Local location is Local printer Via SAPLPD on windows client).
    Could please help to solve this quiry, whey we have to give printer name local and where exactly this prints.
    Regards,
    Muralikrishna

    Hi
    Your question itself has the answer.
    You define the printer as Local in communication method. If this is done, the print out will be triggered in the printer which is configured as default printer in the desktop which triggered the transaction.
    If the print out has to happen in some other printer, then the printer has to be included in the list of allowed printers in the tcode SPAD. This will be done by the BASIS guys.
    Once this is done, you can maintain that printer in communication method. Then irrespective of the default printer, the printout will always happen in the printer maintained in commuincation method.
    Hope  this helps you.
    Reward please, if this helps.

  • No Output Devices Found and Track Pad Issues

    I bought my Macbook Pro in mid-November 2011.  Yesterday I noticed that my Macbook did not have any sound and when I checked System Preferences it gave me the dreaded "No output devices found" message.  I could hear a start up sound but nothing after I have already logged in to any of my accounts.  This is the first time I encountered it and I did some research so I have already done a PRAM reset, permission repair and I even created a new user account to see if I will encounter the same problem.  Same thing on the other user account, still no sound.  I also found out that the sound would only come out with a USB headset.  Headsets with jacks won't work either.
    I brought the unit to a service center and they advised me to reinstall OS X Lion and I did.  There was sound right after I reinstalled the OS.  However, it was gone again when I did a reboot.  I also noticed that my track pad won't respond on certain occasions and I have to do a force shutdown by pressing the power button.  What could be the problem?  I am fearing that this is a hardware issue.  I prefer not to have to bring the unit to a service center, wait for a week to get it back then only to encounter the same problem in the future.

    Try resetting the PRAM and SMC...
    PRAM Reset:
    http://support.apple.com/kb/HT1379
    SMC Reset:
    http://support.apple.com/kb/HT3964
    Hope this helps!

Maybe you are looking for

  • UpdateVersion call from VersionManager  throws UnexpectedItemType error

    I tried to use updateVersion to update Comment of an current version. However I got a fault with the following exeption. I have no problem calling listVersions call. The source code is attached after the eror message. What could be problem? here 3 Ax

  • Need Help Creating A Script For Labeling Finder Files from Indesign

    Trying to figure out a way to have a script run in InDesign CS4 that will label a text file RED after it's been imported into InDesign. We import numerous text files into an InDesign template. Since there are several text files in the same folder, we

  • BTE 00002040

    Hi Gurus, I didnt see the function ZSAMPLE_PROCESS_000020240 attached to BTE 00002040 in FIBF in our system, but the fuction is still getting triggered during F110 - checked SOST and found the details. Please let me know if something else that is tri

  • How to view all running processes?

    I'm running Mountain Lion. How do I view all the active/running processes? I'm trying to delete a file and it said that file is running/opened so I need to find it and close it.

  • Problem connecting to friends with ichat

    i just bought a new macbook pro and i've been trying to connect on ichat with some friends but it keeps sending me this error message: Date/Time: 2008-06-17 03:02:42.368 -0400 OS Version: 10.5.3 (Build 9D34) Report Version: 4 iChat Connection Log: 20