11-15-2006 5:39 AM
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
11-15-2006 5:53 AM
11-15-2006 5:59 AM
Although my text is left aligned the junk characters still appear.I dont it has to do with alignment.
Regards
Rasheed
11-15-2006 5:59 AM
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.
11-15-2006 6:02 AM
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
11-15-2006 6:16 AM
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^
11-15-2006 6:18 AM
it is ok in priview...
than problem is with printer which is not able to print charater like " and &
11-15-2006 6:57 AM
sometimes the junk is visible in the preview, else it appears only in print out.