Need to print barcode converted from a number or text field

Need to print barcode converted from a number or text field

Is there a way to convert a number or text field in a form to a barcode at least when printing. I need to print label  for items that includes a barcode for item number or lot number. This way when the entire item or a quantity of the item is  used, the label barcode is scanned by a handheld scanner on the item field or item report search, item record can be opened and the used quantity is entered, instead of having to type the long item or lot number.
Does anybody know how to pull a font type (Barcode Code 128) in a Formula field or with a script?
Thanks
Reza