Application Development and Automation 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: 
Read only

Print with smartforms with parametric data

slanzetta
Participant
0 Likes
1,490

HI,

I have to print an inscription, for example "This school is called Garibaldi and is in the city", where all the writing is normal Arial 12, and this is specified in the paragraph and only Garibaldi I have to print in bold.How can I do?

I thought about putting the <B> and </B> tag before and after garibaldi but it doesn't work.How can I put only one word in bold?

Thanks

Stefano

1 ACCEPTED SOLUTION
Read only

former_member660513
Participant
0 Likes
1,436

Hello,

did you try using Styles? <b> </b> is interpreted as the name of a Style, i guess, and not as instruction for Bold.

Check what Styles are available for your Form and use/or create some that has the proper font as is bold?

Regards,

Georgi

5 REPLIES 5
Read only

former_member660513
Participant
0 Likes
1,437

Hello,

did you try using Styles? <b> </b> is interpreted as the name of a Style, i guess, and not as instruction for Bold.

Check what Styles are available for your Form and use/or create some that has the proper font as is bold?

Regards,

Georgi

Read only

0 Likes
1,436

Hello Georgi,

in the style I have the font format "C2" as bold.

If I write "This school is called <C2> Garibaldi </C2> and is in the city", Garibaldi doesn't come out in bold, but it also prints the characters <C2> and </C2>.

Am I wrong something?

Regards,

Stefano

Read only

former_member660513
Participant
1,436

Hello,

i think the syntax is < SOME_STYLE, LIKE C2 > ...(text)... </>

Best regards,

Georgi

Read only

0 Likes
1,436

Thanks Gerogi

Read only

Sandra_Rossi
Active Contributor
1,436

Texts in Smart Forms use the SAPScript syntax, which is like Georgi answered:

<C2> ...(text)... </>

C2 or any other character format. Note the ending </>, DO NOT USE </C2>.

If it answers your question, please mark it as answered, and close the question.