Skip to Content
avatar image
Former Member

text getting truncated

Hi Experts,

I have created smartform for our customer requirement everything is working fine.

I can print directly from SAP or I can download it into PDF format.

Now my question, when print out taken from SAP(direct print) and print out taken after downloading to PDF file both get varies. Some data i.e underlines getting truncated with the text in PDF printout. Where as direct print looks perfect.

Any idea?

Regards,

Steven

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 21, 2007 at 09:22 AM

    Unlike the printer, which always prints its installed fonts in the "true" (that is, coded in the font) distance for letters, the PDF conversion uses the letter widths from the font metrics in SE73 (printer fonts of device type). Every font contained in the PDF document practically gets the width values specified in the basic font metrics information of the SAP device type.

    This must be the case because the PDF conversion must be as true a copy of the printed output as possible. This all only works if the font metrics data is also correct, that is, it corresponds to the actual letter widths. If the "true" letter widths in the printer differ from the width values stored for the font metrics in SE73, the PDF presentation of the printed output will more or less differ substantially.

    Important: Incorrect font metrics data is also noticeable for the printed output formatting, nanmely in incorrect (too early/too late) line and page breaks because the SAPscript formatter calculates the text widths using this data. For small fonts and short text lines in forms, however, this is probably only noticed with a very accurate analysis, and was previously overlooked or tolerated.

    Refer to OSS Note: 398357, 141901

    Close the thread once question is answered.

    Regards,

    Sairam

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Let me explain my question clearly,

      I have created one smart form and included it in my program, I placed preview, PDF etc button in my report...now when I click preview button, it is giving the preview of smartform with exact required data, when I click PDF it is download in PDF format to my local system. Now, I open the PDF file & I can see all the data displayed correctly, but few data getting truncated.

      EX : Direct printout --> <b><u>Data getting printed</u></b> --> printout from preview

      Printing PDF file --> <b>Data getting printed</b> Underline is coming on the middle of text...

      Any idea? what could be the problem???

      Rgds,

      Steven

  • avatar image
    Former Member
    Dec 18, 2007 at 09:17 AM

    Closed, not answered.

    Regards,

    Steve

    Add comment
    10|10000 characters needed characters exceeded