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: 

Smartforms-Junk Characters being printed with text

Former Member
0 Kudos

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

Former Member
0 Kudos

HI Rasheed

use paragraph format * left-aligned

regards

Usman

0 Kudos

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

Regards

Rasheed

former_member283648
Participant
0 Kudos

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.

0 Kudos

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

Former Member
0 Kudos

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^

0 Kudos

it is ok in priview...

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

0 Kudos

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