cancel
Showing results for 
Search instead for 
Did you mean: 

text getting truncated

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Closed, not answered.

Regards,

Steve

former_member196280
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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