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: 

Font of smartforms gets change while sending via mail.

0 Kudos

Hello All,

I am sending smartform by email by converting smartform to PDF.
I am using 'CONVERT_OTF' function module for the same.
Problem is that when i check pdf in SOST tcode font style gets change automatically.
I am adding Images normal and SOST image.

Before Sending (Normal smartform)

After sending mail (Checking in SOST)

Request you all to help and give me solution in detail.

4 REPLIES 4

anujawani2426
Active Participant
0 Kudos

Hi,

First check the smartform preview in pdf.

If it is printing correctly or not. If it is printing correctly then check if you are passing correct device type to function module or not and psss correct device type.

0 Kudos

Hi Anuja,

As I check preview in PDF its printing correctly and I have checked device type is also perfect that is LP01 plz check below.

and suggest.

Sandra_Rossi
Active Contributor
0 Kudos

If you preview the Smart Form as PDF, instead of attaching to email, I guess that you can see the same problem, so the problem is only about conversion from Smart Form to PDF.

Lots of same questions have been asked about the converter. The issue concerns the substitution of fonts, because PDF provides only few fonts, others must be embedded in each PDF. There is some configuration required, some SAP notes, and so on. It also depends on your backend version.

raymond_giuseppi
Active Contributor

Which font did you use in the SmartStyle of the SmartForm?