Here are two tutorials that might be helpful in ur barcode problem, you might take a look: Jasper Report barcode generation guide How to generate Code 128 in Java class
It seems pretty tough issue. You might refer to the following passage of jaser reports guide to see if it'll help: barcode generating guide in jasper report java barcode SDK