Inventory Item Barcode

i am looking inventory item auto barcode generating and printing setup in v12
i am using erp next in textile shop but some item come without barcode so i want generate auto barcode and printing
please give me any of idea with erpnext

Check these links:

https://docs.erpnext.com/docs/user/manual/en/setting-up/print/raw-printing

https://docs.erpnext.com/docs/user/manual/en/stock/articles/track-items-using-barcode