The barcode is actually a mechanism that is used to retrieve data from a printed form. If you have your form inside Acrobat then you can simply use the Tools, Forms, Data Export function to extract and then possibly re-import the data from your form.
If you do have a printed form that you are scanning you will need to write the process that decodes and then populates your form again from the extracted data.