11 Replies Latest reply: Oct 18, 2011 12:12 PM by Julimainoe Mohd Noh RSS

Thai character in print preview PDF

Julimainoe Mohd Noh
Currently Being Moderated

Hi All,

 

Why is it when I print preview smartform output in PDF format, all thai characters printed as funny characters?

 

My command is as below:

      control_parameters-no_dialog = 'X'.

      control_parameters-getotf    = 'X'.

      output_options-tddataset     = 'SMART'.

      output_options-tdsuffix2     = sy-uname.

      output_options-tdimmed       = 'X'.

      output_options-tddelete      = 'X'.

      output_options-tdlifetime    = '1'.

      output_options-tdcopies      = '1'.

 

  CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

    EXPORTING

      formname           = 'ZMM_VMR_01'

    IMPORTING

      fm_name            = lf_fm_name

    EXCEPTIONS

      no_form            = 1

      no_function_module = 2

      OTHERS             = 3.

 

  CLEAR job_output_info.

  CALL FUNCTION lf_fm_name

    EXPORTING

      user_settings      = ' '

      control_parameters = control_parameters

      output_options     = output_options

    IMPORTING

      job_output_info    = job_output_info

    TABLES

      sitab              = t_basic_t[]

    EXCEPTIONS

      formatting_error   = 1

      internal_error     = 2

      send_error         = 3

      user_canceled      = 4

      OTHERS             = 5.

 

Is there anything missing? do I have to print to spool and then read from spool to preview via PDF? What user want is to preveiw in PDF and if they are satisfied, they will save the document from PDF.

 

Juli.

 

Edited by: Julimainoe Mohd Noh on Oct 10, 2011 11:29 AM

Actions