Need to repeat same barcode and text field x times on one page



Hello, could anyone help me how to repeat barcode (EAN13) and text filed (plain text) X times (let say 10x) on one page. User should fill one text field and one barcode an the rest of the instances should be the same (clones or copies). I tried to find some script or something, but without succes.

Target: I need lebales with EAN and text, same 4 times on one page.