Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Facing Formatting issue with function module 'CONVERT_OTFSPOOLJOB_2_PDF'

0 Kudos

HI Team,

I am currently facing an issue with the function module 'CONVERT_OTFSPOOLJOB_2_PDF'.

After convrtion of OTF to PDF,the formating is lost in the resultant PDF. Meaning, the otf is having bold in some places but the PDF is displaying the same places with normal font.

1.The font is looking different

2.In few places where it is in BOLD in spool display, it is lost in the PDF.

Please let me know the solution or workaround to fix this issue. <removed by moderator>.

Thanks,

Sathish Dasari.

Edited by: Thomas Zloch on Aug 19, 2011 1:20 PM

2 REPLIES 2

atanu_mukherjee
Explorer
0 Kudos

Hi Sathish,

Seems like a problem of the Adobe lifecycle version you are using. However, you can try the following function module once:


CALL FUNCTION 'CONVERT_OTF'
 EXPORTING
   FORMAT                      = 'PDF'
   MAX_LINEWIDTH               = 256
*   ARCHIVE_INDEX               = ' '
*   COPYNUMBER                  = 0
*   ASCII_BIDI_VIS2LOG          = ' '
*   PDF_DELETE_OTFTAB           = ' '
 IMPORTING
   BIN_FILESIZE                = w_bin_filesize
*   BIN_FILE                    =
  TABLES
    OTF                         = t_otf
    LINES                       = t_pdf_tab
* EXCEPTIONS
*   ERR_MAX_LINEWIDTH           = 1
*   ERR_FORMAT                  = 2
*   ERR_CONV_NOT_POSSIBLE       = 3
*   ERR_BAD_OTF                 = 4
*   OTHERS                      = 5

It works 100% in normal situations but if it doesn't in your case then this has to be related to the configuration part. Hope it helps.

Best Regards,

Atanu Mukherjee

0 Kudos

Hi Atanu,

Thanks for your response. However, I wanted to know if any work around is available for this issue. I have checked for the OSS notes but no luck. Please let me know if you have any information on this.

Thanks,

Sathish Dasari.