For applying a barcode, first one needs to convert it to an image using software, then:
Integrate such images into packaging design and artwork
Use pre-printed labels
Print barcodes on site directly on the packaging