Hi Anand,
just develop a empty form with your barcodefield. Then give the default value your string and see what happens...
If your barcode is not shown correct, then delete the {} first. I think this is the problem.
But you just can find the specificas of your barcode by searching the web. There are that much sites out there, you will find it by yourself.
Regards
Florian