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

Smartforms-Junk Characters being printed with text

Former Member
0 Likes
1,422

Hi,

I have two issues regarding smartforms

1.Whenever I add any text in the smartform in the text editor ,for example, "test",

the print preview shows as above, BUT in the printout it comes as #test#.

2.Similarly, when I use READ_TEXT function module to get any text from the transaction, for example, AT&T, the output in the preview and printout comes as (AT<(>&<)>T.

Can any one tell me how to avoid this junk data .

Regards

Rasheed

7 REPLIES 7
Read only

Former Member
0 Likes
1,026

HI Rasheed

use paragraph format * left-aligned

regards

Usman

Read only

0 Likes
1,026

Although my text is left aligned the junk characters still appear.I dont it has to do with alignment.

Regards

Rasheed

Read only

former_member283648
Participant
0 Likes
1,026

Hi,

I think u have copied the texts from a notepad or Word document directly. This will result in junk characters being printed. So you delete whatever u have copied better u delete and type urself. It will work fine. I also faced a similar situation once.

HOpe this helps u.

Read only

0 Likes
1,026

As mentioned I'm reading a text field from a transaction using READ_TEXT.The text is being called from a function module and not copied from a notepad.

Regards

Rasheed

Read only

Former Member
0 Likes
1,026

hi

good

Did you follow this process if not check them again,

1- Execute the program and see how the data flowing from driver program to the smartform.

2-Check the printer setup for you particular page

3-Check the alignment of the data that you r going to print.

thanks

mrutyun^

Read only

0 Likes
1,026

it is ok in priview...

than problem is with printer which is not able to print charater like " and &

Read only

0 Likes
1,026

sometimes the junk is visible in the preview, else it appears only in print out.